Init support for arch ppc64le

This commit is contained in:
jiahua.yu 2023-12-13 10:31:08 +08:00
parent 330b9ef9fb
commit 89e31d4307

View File

@ -12,19 +12,19 @@
%define __find_requires %{nil} %define __find_requires %{nil}
%bcond_with bootstrap %bcond_with bootstrap
%ifarch x86_64 aarch64 riscv64 %ifarch x86_64 aarch64 riscv64 ppc64le
%bcond_without ignore_tests %bcond_without ignore_tests
%else %else
%bcond_with ignore_tests %bcond_with ignore_tests
%endif %endif
%ifarch x86_64 aarch64 riscv64 %ifarch x86_64 aarch64 riscv64 ppc64le
%global external_linker 1 %global external_linker 1
%else %else
%global external_linker 0 %global external_linker 0
%endif %endif
%ifarch x86_64 aarch64 riscv64 %ifarch x86_64 aarch64 riscv64 ppc64le
%global cgo_enabled 1 %global cgo_enabled 1
%else %else
%global cgo_enabled 0 %global cgo_enabled 0
@ -57,10 +57,13 @@
%ifarch riscv64 %ifarch riscv64
%global gohostarch riscv64 %global gohostarch riscv64
%endif %endif
%ifarch ppc64le
%global gohostarch ppc64le
%endif
Name: golang Name: golang
Version: 1.21.4 Version: 1.21.4
Release: 1 Release: 2
Summary: The Go Programming Language Summary: The Go Programming Language
License: BSD and Public Domain License: BSD and Public Domain
URL: https://golang.org/ URL: https://golang.org/
@ -351,6 +354,9 @@ fi
%files devel -f go-tests.list -f go-misc.list -f go-src.list %files devel -f go-tests.list -f go-misc.list -f go-src.list
%changelog %changelog
* Wed Dec 13 2023 jiahua.yu <jiahua.yu@shingroup.cn> - 1.21.4-2
- init support for arch ppc64le
* Tue Dec 5 2023 hanchao <hanchao63@huawei.com> - 1.21.4-1 * Tue Dec 5 2023 hanchao <hanchao63@huawei.com> - 1.21.4-1
- upgrade to 1.21.4 - upgrade to 1.21.4