summaryrefslogtreecommitdiff
path: root/dev-libs/rccl/files/rccl-2.7.0-change_install_location.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/rccl/files/rccl-2.7.0-change_install_location.patch')
-rw-r--r--dev-libs/rccl/files/rccl-2.7.0-change_install_location.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/rccl/files/rccl-2.7.0-change_install_location.patch b/dev-libs/rccl/files/rccl-2.7.0-change_install_location.patch
new file mode 100644
index 000000000000..c129e80c62c7
--- /dev/null
+++ b/dev-libs/rccl/files/rccl-2.7.0-change_install_location.patch
@@ -0,0 +1,33 @@
+--- a/CMakeLists.txt 2019-09-02 18:19:53.540736052 +0200
++++ b/CMakeLists.txt 2019-09-02 18:21:14.936735741 +0200
+@@ -162,15 +162,16 @@
+
+ rocm_install_targets(TARGETS
+ rccl
+- PREFIX
+- rccl)
++# PREFIX
++# rccl
++ )
+ install(FILES ${PROJECT_BINARY_DIR}/rccl.h
+- DESTINATION rccl/${CMAKE_INSTALL_INCLUDEDIR})
++ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+
+ rocm_export_targets(NAMESPACE
+ roc::
+- PREFIX
+- rccl
++# PREFIX
++# rccl
+ TARGETS
+ rccl
+ DEPENDS
+@@ -190,7 +191,7 @@
+ "<no-reply@amd.com>"
+ LDCONFIG)
+
+-rocm_install_symlink_subdir(rccl)
++#rocm_install_symlink_subdir(rccl)
+
+ if(BUILD_TESTS)
+ add_subdirectory(test)