Merge amd-staging into amd-master 20240823

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Ifae5d76d62ab50794486b08ea06d009bd870f9ea


[ROCm/rocm_smi_lib commit: 2acc7f2447]
Этот коммит содержится в:
Maisam Arif
2024-08-23 19:19:47 -05:00
родитель 4b21bb4b29 c2692ad0a9
Коммит ef2b4bf482
+3 -1
Просмотреть файл
@@ -343,9 +343,11 @@ if(CPACK_RPM_PACKAGE_RELEASE)
set(CPACK_RPM_PACKAGE_RELEASE_DIST ON)
endif()
# don't terminate if bytecompile of python files fails
set(CPACK_RPM_SPEC_MORE_DEFINE "%define _python_bytecompile_errors_terminate_build 0")
# Cpack converts !/usr/bin/env python3 to /usr/libexec/platform-python in RHEL8.
# prevent the BRP(buildroot policy) script from checking and modifying interpreter directives
set(CPACK_RPM_SPEC_MORE_DEFINE "%undefine __brp_mangle_shebangs")
string( APPEND CPACK_RPM_SPEC_MORE_DEFINE "\n%undefine __brp_mangle_shebangs")
# The line below doesn't currently work; it may be this issue:
# https://bugzilla.redhat.com/show_bug.cgi?id=1811358