diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2019-08-07 17:47:19 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2019-08-07 17:47:19 +0000 |
commit | 85cf8ced20bd67eb1c577bd4ad33b780c7a32d19 (patch) | |
tree | 985675bbcfbe531487a56e225750795f9bb27baa /dev-libs/rocm-opencl-driver/files/rocm-opencl-driver-2.6.0-install-header.patch | |
parent | 2019-08-07 17:07:33 UTC (diff) | |
parent | dev-libs/rocm-comgr: Radeon Open Compute Code Object Manager (diff) | |
download | gentoo-85cf8ced20bd67eb1c577bd4ad33b780c7a32d19.tar.gz gentoo-85cf8ced20bd67eb1c577bd4ad33b780c7a32d19.tar.bz2 gentoo-85cf8ced20bd67eb1c577bd4ad33b780c7a32d19.zip |
Merge updates from master
Diffstat (limited to 'dev-libs/rocm-opencl-driver/files/rocm-opencl-driver-2.6.0-install-header.patch')
-rw-r--r-- | dev-libs/rocm-opencl-driver/files/rocm-opencl-driver-2.6.0-install-header.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-libs/rocm-opencl-driver/files/rocm-opencl-driver-2.6.0-install-header.patch b/dev-libs/rocm-opencl-driver/files/rocm-opencl-driver-2.6.0-install-header.patch new file mode 100644 index 000000000000..b37100994e04 --- /dev/null +++ b/dev-libs/rocm-opencl-driver/files/rocm-opencl-driver-2.6.0-install-header.patch @@ -0,0 +1,19 @@ +From 1258a99decf96092de8ea512150209e14152ed9c Mon Sep 17 00:00:00 2001 +From: Craig Andrews <candrews@integralblue.com> +Date: Tue, 30 Jul 2019 16:46:20 -0400 +Subject: [PATCH] Install AmdCompiler.h header + +ROCm-OpenCL-Runtime uses AmdCompiler.h so it should be installed to the system and made available for use +--- + src/driver/CMakeLists.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/driver/CMakeLists.txt b/src/driver/CMakeLists.txt +index 55ed13f..8f68fb7 100644 +--- a/src/driver/CMakeLists.txt ++++ b/src/driver/CMakeLists.txt +@@ -91,3 +91,4 @@ target_link_libraries(opencl_driver ${llvm_libs}) + target_include_directories(opencl_driver PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) + + install(TARGETS opencl_driver DESTINATION ${CMAKE_INSTALL_LIBDIR} ) ++install(FILES AmdCompiler.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) |