1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 20:55:20 +03:00
aports/testing/libclc/bindir.patch
psykose 4afc11c23a testing/libclc: new aport
https://libclc.llvm.org/
Open source implementation of the library requirements of the OpenCL C programming language
2022-12-10 17:04:58 +01:00

15 lines
512 B
Diff

clang and the spirv-llvm translator install to /usr/bin, so add it to the path
here
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9773b2c..ec0ff96 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -83,6 +83,8 @@ execute_process( COMMAND ${LLVM_CONFIG} "--bindir"
OUTPUT_VARIABLE LLVM_BINDIR
OUTPUT_STRIP_TRAILING_WHITESPACE )
+list( APPEND LLVM_BINDIR "/usr/bin" )
+
# These were not properly reported in early LLVM and we don't need them
list( APPEND LLVM_CXX_FLAGS -fno-rtti -fno-exceptions )