Compare commits

...

10 Commits

Author SHA1 Message Date
David Abdurachmanov 18953af191
Disable shared
+ go install -buildmode=shared -v -x std
-buildmode=shared not supported on linux/riscv64

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-08-06 11:16:46 +03:00
David Abdurachmanov 2d54d8475d
Test if cgo and buildmode=pie is working on riscv64 with 1.15
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-08-06 08:57:06 +03:00
David Abdurachmanov 7b840a4aab
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-08-06 08:56:29 +03:00
David Abdurachmanov 4a824d51d0
Increase GO_TEST_TIMEOUT_SCALE from 2 to 20 for riscv64
We might be compiling it on QEMU instances for riscv64 thus timeouts are very
likely to happen.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-03-07 19:14:08 -08:00
David Abdurachmanov 8bd091a9a8
Bump release for riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-03-07 15:31:20 -08:00
David Abdurachmanov 538b1238fc
Disable bootstrap for riscv64
- Ignore tests failures for riscv64 (a few tests  fail).
- Disable shared for riscv64 (not supported).

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-03-07 15:29:38 -08:00
David Abdurachmanov 3a6db3509a
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-03-07 10:43:53 -08:00
David Abdurachmanov f089cc7586 Revert "Use go_arches for ExclusiveArch for the bootstrap"
This reverts commit 0bb2d16409.

riscv64 is now moved to golang_arches. It will be bootstrapped using
cross-compiled golang in a custom buildroot.
2020-03-07 10:42:22 -08:00
David Abdurachmanov 0bb2d16409
Use go_arches for ExclusiveArch for the bootstrap
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-02-26 11:22:38 +02:00
David Abdurachmanov fd5960a642
Bootstrap riscv64 using gcc-go
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-02-26 11:08:47 +02:00
1 changed files with 12 additions and 5 deletions

View File

@ -1,6 +1,6 @@
%bcond_with bootstrap %bcond_with bootstrap
# temporalily ignore test failures # temporalily ignore test failures
%ifarch %{ix86} aarch64 %{arm} %ifarch %{ix86} aarch64 %{arm} riscv64
%bcond_without ignore_tests %bcond_without ignore_tests
%else %else
%bcond_with ignore_tests %bcond_with ignore_tests
@ -38,14 +38,14 @@
# 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
%endif %endif
# Build golang with cgo enabled/disabled(later equals more or less to internal linking). # Build golang with cgo enabled/disabled(later equals more or less to internal linking).
%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64 s390x %ifarch %{ix86} x86_64 ppc64le %{arm} aarch64 s390x riscv64
%global cgo_enabled 1 %global cgo_enabled 1
%else %else
%global cgo_enabled 0 %global cgo_enabled 0
@ -103,13 +103,16 @@
%ifarch s390x %ifarch s390x
%global gohostarch s390x %global gohostarch s390x
%endif %endif
%ifarch riscv64
%global gohostarch riscv64
%endif
%global go_api 1.15 %global go_api 1.15
%global go_version 1.15rc1 %global go_version 1.15rc1
Name: golang Name: golang
Version: 1.15 Version: 1.15
Release: 0.rc1.0%{?dist}.1 Release: 0.rc1.0.0.riscv64%{?dist}.1
Summary: The Go Programming Language Summary: The Go Programming Language
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain # source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
License: BSD and Public Domain License: BSD and Public Domain
@ -519,7 +522,7 @@ export CGO_ENABLED=0
#endif #endif
# make sure to not timeout # make sure to not timeout
export GO_TEST_TIMEOUT_SCALE=2 export GO_TEST_TIMEOUT_SCALE=20
%if %{fail_on_tests} %if %{fail_on_tests}
./run.bash --no-rebuild -v -v -v -k ./run.bash --no-rebuild -v -v -v -k
@ -591,6 +594,9 @@ fi
%endif %endif
%changelog %changelog
* Thu Aug 06 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 1.15-0.rc1.0.1.0.riscv64
- Increase GO_TEST_TIMEOUT_SCALE from 2 to 20 for riscv64
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-0.rc1.0.1 * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-0.rc1.0.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
@ -618,6 +624,7 @@ fi
* Mon Apr 20 2020 Jakub Čajka <jcajka@redhat.com> - 1.14.2-1 * Mon Apr 20 2020 Jakub Čajka <jcajka@redhat.com> - 1.14.2-1
- Rebase to go1.14.2 - Rebase to go1.14.2
- Resolves: BZ#1815282 - Resolves: BZ#1815282
>>>>>>> up/master
* Wed Feb 26 2020 Jakub Čajka <jcajka@redhat.com> - 1.14-1 * Wed Feb 26 2020 Jakub Čajka <jcajka@redhat.com> - 1.14-1
- Rebase to go1.14 proper - Rebase to go1.14 proper