Skip to content

Commit

Permalink
SWDEV-246520-hide-symbols (#1159)
Browse files Browse the repository at this point in the history
* to hide llvm globals used by tensile
  • Loading branch information
TorreZuk authored Aug 10, 2020
1 parent be61384 commit 9d98138
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 )

Expand Down

0 comments on commit 9d98138

Please sign in to comment.