Bootstrap riscv64 using gcc-go
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
parent
9f5b8dce35
commit
fd5960a642
12
golang.spec
12
golang.spec
|
@ -1,4 +1,4 @@
|
||||||
%bcond_with bootstrap
|
%bcond_without bootstrap
|
||||||
# temporalily ignore test failures
|
# temporalily ignore test failures
|
||||||
%ifarch %{ix86} aarch64 %{arm}
|
%ifarch %{ix86} aarch64 %{arm}
|
||||||
%bcond_without ignore_tests
|
%bcond_without ignore_tests
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
# Golang build options.
|
# Golang build options.
|
||||||
|
|
||||||
# Build golang using external/internal(close to cgo disabled) linking.
|
# 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
|
%global external_linker 1
|
||||||
%else
|
%else
|
||||||
%global external_linker 0
|
%global external_linker 0
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Build golang shared objects for stdlib
|
# Build golang shared objects for stdlib
|
||||||
%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64
|
%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64 riscv64
|
||||||
%global shared 1
|
%global shared 1
|
||||||
%else
|
%else
|
||||||
%global shared 0
|
%global shared 0
|
||||||
|
@ -103,6 +103,9 @@
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
%global gohostarch s390x
|
%global gohostarch s390x
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch riscv64
|
||||||
|
%global gohostarch riscv64
|
||||||
|
%endif
|
||||||
|
|
||||||
%global go_api 1.14
|
%global go_api 1.14
|
||||||
%global go_version 1.14rc1
|
%global go_version 1.14rc1
|
||||||
|
@ -581,6 +584,9 @@ fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Feb 06 2020 Jakub Čajka <jcajka@redhat.com> - 1.14-0.rc1.0
|
||||||
- Rebase to go1.14.rc1
|
- Rebase to go1.14.rc1
|
||||||
- Related: BZ#1792475
|
- Related: BZ#1792475
|
||||||
|
|
Loading…
Reference in New Issue