From 6d9ceed2f429c12c02d8dfb83d9d217e77f75653 Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Wed, 14 Oct 2020 17:52:48 -0400 Subject: [PATCH] Revert "SWDEV-253557 Strip shared lib for release builds" Fixes SWDEV-256563 - Mainline build breaking issue. This reverts commit eac709a8a9587c4aa776ccfd2b20623fccbf0b73. Reason for revert: Change-Id: Ib2e9ef362dc7dece9f4bbe7611b4be45087aa18e --- rocclr/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rocclr/CMakeLists.txt b/rocclr/CMakeLists.txt index b51fb9cb03..9395558252 100644 --- a/rocclr/CMakeLists.txt +++ b/rocclr/CMakeLists.txt @@ -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} $) -endif() - #comment out as it's not available in cmake 3.5 #if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) if(NOT CMAKE_INSTALL_PREFIX)