Skip to content

Commit 9d98138

Browse files
authored
SWDEV-246520-hide-symbols (#1159)
* to hide llvm globals used by tensile
1 parent be61384 commit 9d98138

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ if( BUILD_WITH_TENSILE )
377377
#target_link_libraries( rocblas PRIVATE Tensile TensileHost )
378378
if( BUILD_SHARED_LIBS )
379379
target_link_libraries( rocblas PRIVATE TensileHost )
380+
target_link_libraries( rocblas PRIVATE "-Xlinker --exclude-libs=ALL" ) # HIDE symbols
380381
else()
381382
target_compile_definitions( rocblas PRIVATE ROCBLAS_STATIC_LIB )
382383

0 commit comments

Comments
 (0)