Skip to content

Commit

Permalink
Merge pull request #1511 from ellosel/hotfix-rpm
Browse files Browse the repository at this point in the history
RPM strip fix
  • Loading branch information
vamovsik authored Nov 5, 2024
2 parents c125a9b + 764b205 commit 6e36e9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,9 @@ endif( )

set( CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "\${CPACK_PACKAGING_INSTALL_PREFIX}" )

# work around code object stripping failure if using /usr/bin/strip
set( CPACK_RPM_SPEC_MORE_DEFINE "%define __strip ${rocm_bin}/../llvm/bin/llvm-strip")

# Give rocblas compiled for CUDA backend a different name
if( CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
set( package_name rocblas )
Expand Down

0 comments on commit 6e36e9d

Please sign in to comment.