diff --git a/golang.spec b/golang.spec index 89ba976e59fe42f9b660460ffb5acd070aa70d95..861a9f4a2edb3234bbdfdaaee5ec3cb2b25292b9 100644 --- a/golang.spec +++ b/golang.spec @@ -1,4 +1,4 @@ -%define anolis_release 7 +%define anolis_release 8 # Disable debuginfo packages %global debug_package %{nil} @@ -35,7 +35,7 @@ %bcond_with bootstrap # Controls what ever we fail on failed tests -%ifarch aarch64 loongarch64 riscv64 +%ifarch aarch64 loongarch64 riscv64 sw_64 %bcond_with fail_on_tests %else %bcond_without fail_on_tests @@ -132,8 +132,7 @@ Patch45: 0045-Fix-CVE-2025-22871.patch # https://github.com/golang/go/commit/03811ab1b31525e8d779997db169c6fedab7c505 Patch46: 0046-Fix-CVE-2025-22874.patch -# Part 1001-1999 -%ifarch sw_64 +# Part 1001-1999 for sw_64 Patch1001: 0001-cmd-comile-Add-sw64-port.patch Patch1002: 0002-cmd-internal-obj-Add-sw64-port.patch Patch1003: 0003-cmd-link-Add-sw64-port.patch @@ -150,7 +149,6 @@ Patch1013: 0013-crypto-hash-math-Add-sw64-port.patch Patch1014: 0014-api-Add-sw64-port.patch Patch1015: 0015-debug-Add-sw64-port.patch Patch1016: 0016-encoding-os-sw64-add-var-NativeEndian.patch -%endif # The compiler is written in Go. Needs go(1.4+) compiler for build. %if %{with bootstrap} @@ -626,6 +624,9 @@ fi %files docs -f go-docs.list %changelog +* Thu Aug 15 2025 Yang Cheng - 1.24.0-8 +- fix sw_64 build error + * Wed Jul 30 2025 swcompiler - 1.24.0-7 - Add sw64 ISA support.