Revert "SWDEV-253557 Strip shared lib for release builds"

Fixes SWDEV-256563 - Mainline build breaking issue.

This reverts commit fe7bf0e7e5.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Ib2e9ef362dc7dece9f4bbe7611b4be45087aa18e


[ROCm/clr commit: 6d9ceed2f4]
Esse commit está contido em:
Rahul Garg committed 2020-10-14 17:53:04 -04:00
1 pai 40b90694c6
commit c829e74be7
1 file changed
-6
-6
Ver Arquivo
@@ -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)