Revert "SWDEV-253557 Strip shared lib for release builds"
Fixes SWDEV-256563 - Mainline build breaking issue. This reverts commitfe7bf0e7e5. Reason for revert: <INSERT REASONING HERE> Change-Id: Ib2e9ef362dc7dece9f4bbe7611b4be45087aa18e [ROCm/clr commit:6d9ceed2f4]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
40b90694c6
tiomantas
c829e74be7
1 comhad athraithe
-6
@@ -234,12 +234,6 @@ if (UNIX)
|
||||
message(STATUS "Found: ${LIBNUMA}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# strip the shared lib for release build
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Release" AND ${BUILD_SHARED_LIBS})
|
||||
add_custom_command(TARGET amdrocclr_static POST_BUILD COMMAND ${CMAKE_STRIP} $<TARGET_FILE_NAME:amdrocclr_static>)
|
||||
endif()
|
||||
|
||||
#comment out as it's not available in cmake 3.5
|
||||
#if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
if(NOT CMAKE_INSTALL_PREFIX)
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir