AlmaLinux changes: AlmaLinux changes: Use the correct architecture in x86_64_v2
This commit is contained in:
commit
020ffcaadf
@ -898,6 +898,9 @@ test -r "%{profiler}"
|
|||||||
# Skipping PGO on s390x until we get LLVM 20, due to
|
# Skipping PGO on s390x until we get LLVM 20, due to
|
||||||
# https://github.com/llvm/llvm-project/issues/124001
|
# https://github.com/llvm/llvm-project/issues/124001
|
||||||
%ifnarch s390x
|
%ifnarch s390x
|
||||||
|
# rustc is exibiting signs of miscompilation on pwr9+pgo (root cause TBD),
|
||||||
|
# so we're skipping pgo on rhel ppc64le for now.
|
||||||
|
%if !( 0%{?rhel} && "%{_target_cpu}" == "ppc64le" )
|
||||||
%if %with rustc_pgo
|
%if %with rustc_pgo
|
||||||
# Build the compiler with profile instrumentation
|
# Build the compiler with profile instrumentation
|
||||||
%define profraw $PWD/build/profiles
|
%define profraw $PWD/build/profiles
|
||||||
@ -914,6 +917,7 @@ rm -r "%{profraw}" build/%{rust_triple}/stage2*/
|
|||||||
%global __x %{__x} --rust-profile-use="%{profdata}"
|
%global __x %{__x} --rust-profile-use="%{profdata}"
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
# Build the compiler normally (with or without PGO)
|
# Build the compiler normally (with or without PGO)
|
||||||
%{__x} build sysroot
|
%{__x} build sysroot
|
||||||
|
Loading…
Reference in New Issue
Block a user