From 1380f431566e6c4a547a81996469d53710352cc1 Mon Sep 17 00:00:00 2001 From: Yiltan Date: Wed, 19 Mar 2025 15:37:58 -0400 Subject: [PATCH] ROCm 6.4.0rc3 bug fix (#56) [ROCm/rocshmem commit: 68a1646399db68ad40ea4e1a45a3fbcc83f1d032] --- projects/rocshmem/examples/CMakeLists.txt | 1 + projects/rocshmem/tests/functional_tests/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/projects/rocshmem/examples/CMakeLists.txt b/projects/rocshmem/examples/CMakeLists.txt index d720dc32d3..da147f1c7c 100644 --- a/projects/rocshmem/examples/CMakeLists.txt +++ b/projects/rocshmem/examples/CMakeLists.txt @@ -63,6 +63,7 @@ foreach(SOURCE_FILE IN LISTS EXAMPLE_SOURCES) PRIVATE ${MPI_mpi_LIBRARY} ${MPI_mpicxx_LIBRARY} + ${flags_str} -L${ROCSHMEM_HOME}/lib -lamdhip64 -lhsa-runtime64 diff --git a/projects/rocshmem/tests/functional_tests/CMakeLists.txt b/projects/rocshmem/tests/functional_tests/CMakeLists.txt index 6c991e989b..58851c4b74 100644 --- a/projects/rocshmem/tests/functional_tests/CMakeLists.txt +++ b/projects/rocshmem/tests/functional_tests/CMakeLists.txt @@ -91,6 +91,7 @@ if (BUILD_TESTS_ONLY) PRIVATE ${MPI_mpi_LIBRARY} ${MPI_mpicxx_LIBRARY} + ${flags_str} -L${ROCSHMEM_HOME}/lib -lamdhip64 -lhsa-runtime64