Revert " SWDEV-477849: Remove dependency of libatomic from roctracer"
This reverts commit3c4467274f. Change-Id: I63a0166f629fa6f3b71f03b4e540e4d8ee160910 [ROCm/roctracer commit:82ebb1c3ec]
Este commit está contenido en:
@@ -99,7 +99,7 @@ To use the rocTX API you need the API header and to link your application with `
|
||||
1. For Ubuntu 18.04 and Ubuntu 20.04 the following adds the needed packages:
|
||||
|
||||
````shell
|
||||
apt install python3 python3-pip gcc g++ make rocm-llvm-dev \
|
||||
apt install python3 python3-pip gcc g++ libatomic1 make rocm-llvm-dev \
|
||||
cmake doxygen graphviz texlive-full
|
||||
````
|
||||
|
||||
@@ -107,7 +107,7 @@ To use the rocTX API you need the API header and to link your application with `
|
||||
|
||||
````shell
|
||||
yum install -y python3 python3-pip gcc gcc-g++ make rocm-llvm-devel \
|
||||
cmake doxygen graphviz texlive \
|
||||
cmake libatomic doxygen graphviz texlive \
|
||||
texlive-xtab texlive-multirow texlive-sectsty \
|
||||
texlive-tocloft texlive-tabu texlive-adjustbox
|
||||
````
|
||||
@@ -116,7 +116,7 @@ To use the rocTX API you need the API header and to link your application with `
|
||||
|
||||
````shell
|
||||
zypper in python3 python3-pip gcc gcc-g++ make rocm-llvm-devel \
|
||||
cmake doxygen graphviz \
|
||||
cmake libatomic doxygen graphviz \
|
||||
texlive-scheme-medium texlive-hanging texlive-stackengine \
|
||||
texlive-tocloft texlive-etoc texlive-tabu
|
||||
````
|
||||
|
||||
@@ -229,7 +229,7 @@ target_include_directories(roctracer_tool
|
||||
${PROJECT_SOURCE_DIR}/inc ${CMAKE_CURRENT_SOURCE_DIR}/roctracer
|
||||
${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
target_link_libraries(roctracer_tool util roctracer hsa-runtime64::hsa-runtime64 stdc++fs Threads::Threads -Wl,-Bstatic atomic -Wl,-Bdynamic dl)
|
||||
target_link_libraries(roctracer_tool util roctracer hsa-runtime64::hsa-runtime64 stdc++fs Threads::Threads atomic dl)
|
||||
target_link_options(roctracer_tool PRIVATE -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/tracer_tool/exportmap -Wl,--no-undefined)
|
||||
|
||||
install(TARGETS roctracer_tool LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME} COMPONENT runtime)
|
||||
|
||||
@@ -141,13 +141,13 @@ add_dependencies(mytest load_unload_reload_test)
|
||||
## Build the trace_buffer test
|
||||
add_executable(trace_buffer directed/trace_buffer.cpp)
|
||||
target_include_directories(trace_buffer PRIVATE ${PROJECT_SOURCE_DIR}/src/tracer_tool)
|
||||
target_link_libraries(trace_buffer Threads::Threads -Wl,-Bstatic atomic -Wl,-Bdynamic)
|
||||
target_link_libraries(trace_buffer Threads::Threads atomic)
|
||||
add_dependencies(mytest trace_buffer)
|
||||
|
||||
## Build the memory_pool test
|
||||
add_executable(memory_pool directed/memory_pool.cpp)
|
||||
target_include_directories(memory_pool PRIVATE ${PROJECT_SOURCE_DIR}/src/roctracer ${PROJECT_SOURCE_DIR}/inc)
|
||||
target_link_libraries(memory_pool Threads::Threads -Wl,-Bstatic atomic -Wl,-Bdynamic)
|
||||
target_link_libraries(memory_pool Threads::Threads atomic)
|
||||
add_dependencies(mytest memory_pool)
|
||||
|
||||
## Build the activity_and_callback test
|
||||
|
||||
Referencia en una nueva incidencia
Block a user