Skip to content

Commit 6e36e9d

Browse files
authored
Merge pull request #1511 from ellosel/hotfix-rpm
RPM strip fix
2 parents c125a9b + 764b205 commit 6e36e9d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,9 @@ endif( )
354354

355355
set( CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "\${CPACK_PACKAGING_INSTALL_PREFIX}" )
356356

357+
# work around code object stripping failure if using /usr/bin/strip
358+
set( CPACK_RPM_SPEC_MORE_DEFINE "%define __strip ${rocm_bin}/../llvm/bin/llvm-strip")
359+
357360
# Give rocblas compiled for CUDA backend a different name
358361
if( CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
359362
set( package_name rocblas )

0 commit comments

Comments
 (0)