Bootstrap riscv64 using gcc-go

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2020-02-26 11:08:47 +02:00
parent 9f5b8dce35
commit fd5960a642
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
%bcond_with bootstrap
%bcond_without bootstrap
# temporalily ignore test failures
%ifarch %{ix86} aarch64 %{arm}
%bcond_without ignore_tests
@ -38,7 +38,7 @@
# Golang build options.
# Build golang using external/internal(close to cgo disabled) linking.
%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64 s390x
%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64 s390x riscv64
%global external_linker 1
%else
%global external_linker 0
@ -66,7 +66,7 @@
%endif
# Build golang shared objects for stdlib
%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64
%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64 riscv64
%global shared 1
%else
%global shared 0
@ -103,6 +103,9 @@
%ifarch s390x
%global gohostarch s390x
%endif
%ifarch riscv64
%global gohostarch riscv64
%endif
%global go_api 1.14
%global go_version 1.14rc1
@ -581,6 +584,9 @@ fi
%endif
%changelog
* Wed Feb 26 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 1.14-0.rc1.0.0.riscv64
- Bootstrap riscv64 using gcc-go
* Thu Feb 06 2020 Jakub Čajka <jcajka@redhat.com> - 1.14-0.rc1.0
- Rebase to go1.14.rc1
- Related: BZ#1792475