2
0

SWDEV-355608 - deprecate/cleanup hipcc link flags (#3128)

- deprecate -use-staticlib, -use-sharedlib which no longer provide any
functional values
- use --hip-link instead of specifying the HIP runtime by name when
linking
- fix linker option bug in HIT test's cmake
- update build options for unit tests requiring pthread or rt

Change-Id: Ib49978773c80fb40c71dc52b050ce921943ee3e4

[ROCm/hip commit: a388eb1e6f]
Este cometimento está contido em:
Siu Chi Chan
2023-01-24 06:42:52 +00:00
cometido por GitHub
ascendente 13d47efdc7
cometimento 366445410e
42 ficheiros modificados com 93 adições e 72 eliminações
+6 -1
Ver ficheiro
@@ -7,6 +7,11 @@ set(TEST_SRC
hipStreamPerThrdTsts.cc
)
if (UNIX)
set(__LINKER_LIBS__ pthread)
endif()
hip_add_exe_to_target(NAME StreamPerThreadTest
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests)
TEST_TARGET_NAME build_tests
LINKER_LIBS ${__LINKER_LIBS__})