SWDEV-387026: using gethostid instead of depending on libsystemd

Change-Id: If576eec4abee1a52dfe7cc5bce507420bc8a4d07


[ROCm/rocprofiler commit: 05f2ef97f9]
This commit is contained in:
Ammar ELWazir
2023-03-06 22:15:09 +00:00
parent 4724259b1b
commit 7c5f07977c
10 changed files with 34 additions and 61 deletions
@@ -45,7 +45,7 @@ target_link_options(
att_plugin PRIVATE
-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../exportmap
-Wl,--no-undefined)
target_link_libraries(att_plugin PRIVATE ${ROCPROFILER_TARGET} systemd
target_link_libraries(att_plugin PRIVATE ${ROCPROFILER_TARGET}
hsa-runtime64::hsa-runtime64 stdc++fs)
install(TARGETS att_plugin