From 15c917244d4a3c6992751aa30d38a61b3f109f83 Mon Sep 17 00:00:00 2001 From: paulfreddy <52053501+paulfreddy@users.noreply.github.com> Date: Wed, 8 Jan 2020 21:28:16 -0800 Subject: [PATCH] Changes for multiple ROCm installation (#164) * Changes for multiple ROCm installation 1. Set version to 2.10.1 2. Add CMAKE_INSTALL_PREFIX to neccessary places 3. Cleanup, fix rpath, use prefix in install.sh * Changes for multiple ROCm installation 1. Set soversion to match release version 2. Add CMAKE_INSTALL_PREFIX to neccessary places 3. Cleanup, fix rpath, use prefix in install.sh * Changes for multiple ROCm installation 1. Set soversion to match release version 2. Add CMAKE_INSTALL_PREFIX to neccessary places 3. Cleanup, fix rpath, use prefix in install.sh --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a68b2836c6..b946053e47 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -170,6 +170,9 @@ else() target_link_libraries(rccl PUBLIC hip::hip_hcc ${hcc_LIBRARIES} numa) endif() +#Setup librccl.so version +rocm_set_soversion(rccl "1.0") + rocm_install_targets(TARGETS rccl PREFIX