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

Fixes SWDEV-256563 - Mainline build breaking issue.

This reverts commit eac709a8a9.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Ib2e9ef362dc7dece9f4bbe7611b4be45087aa18e
Этот коммит содержится в:
Rahul Garg
2020-10-14 17:52:48 -04:00
родитель c0f8b52f06
Коммит 6d9ceed2f4
-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)