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
Ta zmiana jest zawarta w:
%! (template.HTML=
Rahul Garg)złożyło 2020-10-14 17:53:04 -04:00
1 rodzic
c0f8b52f06
złożenie
6d9ceed2f4
Plik 1 zmieniony
-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)
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika