Fix x86_64_v2 support

This commit is contained in:
eabdullin 2026-05-19 14:03:39 +03:00
parent 81aa5f6ead
commit 363afb03a0

View File

@ -2,14 +2,15 @@ actions:
- replace:
- target: "spec"
find: |
%build
%global goamd64 v3
%global goppc64 power9
replace: |
%ifarch x86_64_v2
sed -i 's/^GOAMD64=v3$/GOAMD64=v2/' ./go.env
grep -q '^GOAMD64=v2$' ./go.env
%global goamd64 v2
%else
%global goamd64 v3
%endif
%build
%global goppc64 power9
count: 1
- target: "spec"
find: |
@ -31,5 +32,5 @@ actions:
- name: "Eduard Abdullin"
email: "eabdullin@almalinux.org"
line:
- "Update env var for v2"
- "Add x86_64_v2 support"
- "Disable race for riscv64"