Skip to content

Commit

Permalink
SWDEV-421715: Fix for librocprofiler64.so Name link
Browse files Browse the repository at this point in the history
Change-Id: I9c47570e58c764fb861c1b2ea139b14830e818c4
  • Loading branch information
ammarwa authored and zhang2amd committed Sep 27, 2023
1 parent b6b9923 commit 0039e43
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions src/api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -383,19 +383,13 @@ install(
# Installing NameLinks for V1 & V2 librocprofiler64.so links to V1 library
# librocprofiler64v2.so links to V2 library
install(
CODE "execute_process( \
COMMAND ${CMAKE_COMMAND} -E create_symlink \
lib${ROCPROFILER_LIBRARY_V1_NAME}.so.${ROCPROFILER_LIBRARY_V1_SOVERSION} \
${CMAKE_INSTALL_PREFIX}/lib/lib${ROCPROFILER_LIBRARY_V1_NAME}.so \
)"
COMPONENT dev)
PROGRAMS ${CMAKE_BINARY_DIR}/lib/lib${ROCPROFILER_LIBRARY_V2_NAME}v2.so
TYPE LIB COMPONENT dev)
install(
CODE "execute_process( \
COMMAND ${CMAKE_COMMAND} -E create_symlink \
lib${ROCPROFILER_LIBRARY_V2_NAME}.so.${ROCPROFILER_LIBRARY_V2_SOVERSION} \
${CMAKE_INSTALL_PREFIX}/lib/lib${ROCPROFILER_LIBRARY_V2_NAME}v2.so \
)"
COMPONENT dev)
PROGRAMS ${CMAKE_BINARY_DIR}/lib/lib${ROCPROFILER_LIBRARY_V1_NAME}.so
TYPE LIB COMPONENT dev)



configure_file(
${PROJECT_SOURCE_DIR}/src/core/counters/metrics/basic_counters.xml
Expand Down

0 comments on commit 0039e43

Please sign in to comment.