From f47b66b9765f3ae9426dfd07bede3e64f2cde8fb Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Fri, 13 Jan 2023 14:02:20 +0530 Subject: [PATCH] SWDEV-376488 - Avoid stripping of executables in deviceLib (#118) Avoids packaging failure Change-Id: I5941feb6e000664fd4afab2d430d865c21b90d72 --- catch/packaging/hip-tests.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/catch/packaging/hip-tests.txt b/catch/packaging/hip-tests.txt index 7f1030e06c..2c9dc6084c 100644 --- a/catch/packaging/hip-tests.txt +++ b/catch/packaging/hip-tests.txt @@ -77,6 +77,9 @@ set(CPACK_PACKAGE_DESCRIPTION "HIP: set(CPACK_PACKAGE_VENDOR "Advanced Micro Devices, Inc.") set(CPACK_PACKAGE_CONTACT "HIP Support ") 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