Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 7081317

Browse files
authored
Fixed for building on IBM Power 9 with GPU Support (#326)
* Fixed for building on IBM Power 9 with GPU Support - Random123 submodule update with PGI on Power9 - Remove linking of imported target Threads::Thread * updae mod2c
1 parent e86d1d7 commit 7081317

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

external/Random123

external/mod2c

extra/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ if(CORENRN_COMPILE_FLAGS)
1717
endforeach()
1818
endif()
1919

20+
# find_cuda uses FindThreads that adds below imported target
21+
# we shouldn't add imported target to link line
22+
list(REMOVE_ITEM CORENRN_LINK_LIBS "Threads::Threads")
23+
2024
# replicate CMake magic to transform system libs to -l<libname>
2125
foreach(link_lib ${CORENRN_LINK_LIBS})
2226
get_filename_component(path ${link_lib} DIRECTORY)

0 commit comments

Comments
 (0)