summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2019-04-30 12:29:31 +0100
committerMarek Szuba <marecki@gentoo.org>2019-05-01 17:51:30 +0100
commit121db0b1f43098fa534d213c285d844dbd7ab2b0 (patch)
tree4d27c8c1d563a73425be08ccad8047d7f945cd9e /dev-libs/opencl-clang/files
parentdev-util/spirv-llvm-translator: new package (diff)
downloadgentoo-121db0b1f43098fa534d213c285d844dbd7ab2b0.tar.gz
gentoo-121db0b1f43098fa534d213c285d844dbd7ab2b0.tar.bz2
gentoo-121db0b1f43098fa534d213c285d844dbd7ab2b0.zip
dev-libs/opencl-clang: new package
Second-order dependency of Intel Graphics Compute Runtime. Signed-off-by: Marek Szuba <marecki@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-libs/opencl-clang/files')
-rw-r--r--dev-libs/opencl-clang/files/opencl-clang-8.0.0-clang_library_dir.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/opencl-clang/files/opencl-clang-8.0.0-clang_library_dir.patch b/dev-libs/opencl-clang/files/opencl-clang-8.0.0-clang_library_dir.patch
new file mode 100644
index 000000000000..54ca2510004b
--- /dev/null
+++ b/dev-libs/opencl-clang/files/opencl-clang-8.0.0-clang_library_dir.patch
@@ -0,0 +1,11 @@
+--- a/cl_headers/CMakeLists.txt
++++ b/cl_headers/CMakeLists.txt
+@@ -13,7 +13,7 @@
+
+ if(USE_PREBUILT_LLVM)
+ set(OPENCL_HEADERS_DIR
+- "${LLVM_LIBRARY_DIRS}/clang/${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}/include/")
++ "${CLANG_LIBRARY_DIRS}/${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}/include/")
+ else(USE_PREBUILT_LLVM)
+ set(OPENCL_HEADERS_DIR "${CLANG_SOURCE_DIR}/lib/Headers")
+ endif(USE_PREBUILT_LLVM)