Fix file stripping for release builds.
Change-Id: I538c366f0992980ffff1ef337807035b9378845c
[ROCm/ROCR-Runtime commit: a5a30e8199]
Этот коммит содержится в:
@@ -91,7 +91,7 @@ target_link_libraries ( ${HSAKMT_TARGET}
|
|||||||
|
|
||||||
## If the library is a release, strip the target library
|
## If the library is a release, strip the target library
|
||||||
if ( "${CMAKE_BUILD_TYPE}" STREQUAL Release )
|
if ( "${CMAKE_BUILD_TYPE}" STREQUAL Release )
|
||||||
add_custom_command ( TARGET ${HSAKMT_TARGET} POST_BUILD COMMAND ${CMAKE_STRIP} *.so* )
|
add_custom_command ( TARGET ${HSAKMT_TARGET} POST_BUILD COMMAND ${CMAKE_STRIP} ${HSAKMT_COMPONENT}.so )
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
## Create symlinks for packaging and install
|
## Create symlinks for packaging and install
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user