SWDEV-376488 - Avoid stripping of executables in deviceLib (#118)
Avoids packaging failure Change-Id: I5941feb6e000664fd4afab2d430d865c21b90d72
This commit is contained in:
committed by
GitHub
parent
7f440c468c
commit
f47b66b976
@@ -77,6 +77,9 @@ set(CPACK_PACKAGE_DESCRIPTION "HIP:
|
||||
set(CPACK_PACKAGE_VENDOR "Advanced Micro Devices, Inc.")
|
||||
set(CPACK_PACKAGE_CONTACT "HIP Support <hip.support@amd.com>")
|
||||
set(CPACK_PACKAGE_VERSION @HIP_VERSION_MAJOR@.@HIP_VERSION_MINOR@.@HIP_VERSION_PATCH_GITHASH@)
|
||||
# by default rpm tries to reduce the file size by stripping the executable
|
||||
# To avoid build/packaging failures SWDEV-375603 and skip stripping
|
||||
set(CPACK_RPM_SPEC_MORE_DEFINE "%global __os_install_post %{nil}")
|
||||
|
||||
set (CPACK_RPM_PACKAGE_AUTOREQ 0)
|
||||
# to remove hip-catch-* package during uninstallation of rocm
|
||||
|
||||
Reference in New Issue
Block a user