SWDEV-376488 - Avoid stripping of executables in deviceLib (#118)
Avoids packaging failure
Change-Id: I5941feb6e000664fd4afab2d430d865c21b90d72
[ROCm/hip-tests commit: f47b66b976]
此提交包含在:
1 父節點
4f18c1fc48
當前提交
1e17fc7df7
1 file changed
+3
@@ -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
封鎖使用者