From 9d981389e77950a7954e3c5405f1137d3c1a645a Mon Sep 17 00:00:00 2001 From: Torre Zuk <42548444+TorreZuk@users.noreply.github.com> Date: Mon, 10 Aug 2020 10:24:21 -0600 Subject: [PATCH] SWDEV-246520-hide-symbols (#1159) * to hide llvm globals used by tensile --- library/src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/library/src/CMakeLists.txt b/library/src/CMakeLists.txt index e2cb4fc3f..a4dce5b3e 100755 --- a/library/src/CMakeLists.txt +++ b/library/src/CMakeLists.txt @@ -377,6 +377,7 @@ if( BUILD_WITH_TENSILE ) #target_link_libraries( rocblas PRIVATE Tensile TensileHost ) if( BUILD_SHARED_LIBS ) target_link_libraries( rocblas PRIVATE TensileHost ) + target_link_libraries( rocblas PRIVATE "-Xlinker --exclude-libs=ALL" ) # HIDE symbols else() target_compile_definitions( rocblas PRIVATE ROCBLAS_STATIC_LIB )