Remove hard coded /opt/rocm from cmake (#396)

[ROCm/rccl commit: 59d2867b01]
Bu işleme şunda yer alıyor:
Wenkai Du authored and GitHub committed 2021-06-21 08:29:23 -07:00
1 ebeveyn 01a8efbb76
işleme 1670bddea0
2 files changed
+9 -9

No files matched your search

+2 -2
Dosyayı Görüntüle
@@ -40,11 +40,11 @@ if(BUILD_TESTS)
)
add_executable(UnitTests ${TEST_SOURCES_SINGLE_PROCESS})
target_include_directories(UnitTests PRIVATE /opt/rocm ${GTEST_INCLUDE_DIRS})
target_include_directories(UnitTests PRIVATE ${ROCM_PATH} ${GTEST_INCLUDE_DIRS})
target_link_libraries(UnitTests PRIVATE ${GTEST_BOTH_LIBRARIES})
add_executable(UnitTestsMultiProcess ${TEST_SOURCES_MULTI_PROCESS})
target_include_directories(UnitTestsMultiProcess PRIVATE /opt/rocm ${GTEST_INCLUDE_DIRS})
target_include_directories(UnitTestsMultiProcess PRIVATE ${ROCM_PATH} ${GTEST_INCLUDE_DIRS})
target_link_libraries(UnitTestsMultiProcess PRIVATE ${GTEST_BOTH_LIBRARIES})
# UnitTests using static library of rccl requires passing rccl