mirror of
https://abf.rosa.ru/djam/golang-cross.git
synced 2025-02-23 15:42:53 +00:00
Update to 1.17.2
This commit is contained in:
parent
da45683341
commit
dea33edb82
2 changed files with 15 additions and 7 deletions
4
.abf.yml
Normal file
4
.abf.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
sources:
|
||||||
|
go1.17.2.linux-386.tar.gz: 2d043c1503ca1ea6fd5a9c7d8d1afa58ec6185c3
|
||||||
|
go1.17.2.linux-amd64.tar.gz: 75a9eea2035c3e80d76250b332110d1616807920
|
||||||
|
go1.17.2.src.tar.gz: b78350fa6e4617c1eac66dff656eda8df0a13c1f
|
|
@ -25,20 +25,20 @@
|
||||||
# %define _xemacs_sitestartdir %{_datadir}/xemacs/site-lisp
|
# %define _xemacs_sitestartdir %{_datadir}/xemacs/site-lisp
|
||||||
|
|
||||||
%define __noautoreq '/bin/rc|/usr/bin/awk|libc.so'
|
%define __noautoreq '/bin/rc|/usr/bin/awk|libc.so'
|
||||||
%define api 1.13
|
%define api 1.17
|
||||||
|
|
||||||
Name: golang-cross
|
Name: golang-cross
|
||||||
Version: 1.13
|
Version: 1.17.2
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: The Go Programming Language
|
Summary: The Go Programming Language
|
||||||
Group: Development/Other
|
Group: Development/Other
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://golang.org/
|
URL: http://golang.org/
|
||||||
Source0: https://storage.googleapis.com/golang/go%{api}.src.tar.gz
|
Source0: https://storage.googleapis.com/golang/go%{version}.src.tar.gz
|
||||||
Source3: macros.go
|
Source3: macros.go
|
||||||
#bootstrap
|
#bootstrap
|
||||||
Source10: https://storage.googleapis.com/golang/go%{api}.linux-amd64.tar.gz
|
Source10: https://storage.googleapis.com/golang/go%{version}.linux-amd64.tar.gz
|
||||||
Source11: https://storage.googleapis.com/golang/go%{api}.linux-386.tar.gz
|
Source11: https://storage.googleapis.com/golang/go%{version}.linux-386.tar.gz
|
||||||
# for hostname
|
# for hostname
|
||||||
BuildRequires: net-tools
|
BuildRequires: net-tools
|
||||||
BuildRequires: go >= 1.12
|
BuildRequires: go >= 1.12
|
||||||
|
@ -106,6 +106,7 @@ export GOROOT_FINAL=%{_libdir}/%{name}
|
||||||
export GOROOT=$RPM_BUILD_DIR/go-bootstrap/go
|
export GOROOT=$RPM_BUILD_DIR/go-bootstrap/go
|
||||||
export GOBIN="$GOROOT"/bin
|
export GOBIN="$GOROOT"/bin
|
||||||
export GOROOT_BOOTSTRAP=$GOROOT
|
export GOROOT_BOOTSTRAP=$GOROOT
|
||||||
|
|
||||||
# TODO use the system linker to get the system link flags and build-id
|
# TODO use the system linker to get the system link flags and build-id
|
||||||
# when https://code.google.com/p/go/issues/detail?id=5221 is solved
|
# when https://code.google.com/p/go/issues/detail?id=5221 is solved
|
||||||
#export GO_LDFLAGS="-linkmode external -extldflags $RPM_LD_FLAGS"
|
#export GO_LDFLAGS="-linkmode external -extldflags $RPM_LD_FLAGS"
|
||||||
|
@ -116,14 +117,17 @@ export GOROOT_BOOTSTRAP=$GOROOT
|
||||||
#cd ..
|
#cd ..
|
||||||
|
|
||||||
pushd src
|
pushd src
|
||||||
./buildall.bash
|
#/buildall.bash
|
||||||
#GOROOT_BOOTSTRAP=$GOROOT GOOS=linux GOARCH=arm GOARM=5 ./make.bash
|
#GOROOT_BOOTSTRAP=$GOROOT GOOS=linux GOARCH=arm GOARM=5 ./make.bash
|
||||||
#GOROOT_BOOTSTRAP=$GOROOT GOOS=linux GOARCH=arm GOARM=7 ./make.bash
|
#GOROOT_BOOTSTRAP=$GOROOT GOOS=linux GOARCH=arm GOARM=7 ./make.bash
|
||||||
|
#GOROOT_BOOTSTRAP=$GOROOT GOOS=linux GOARCH=arm64 ./make.bash
|
||||||
#GOROOT_BOOTSTRAP=$GOROOT GOOS=linux GOARCH=386 ./make.bash
|
#GOROOT_BOOTSTRAP=$GOROOT GOOS=linux GOARCH=386 ./make.bash
|
||||||
#GOROOT_BOOTSTRAP=$GOROOT GOOS=linux GOARCH=amd64 ./make.bash
|
#GOROOT_BOOTSTRAP=$GOROOT GOOS=linux GOARCH=amd64 ./make.bash
|
||||||
#GOROOT_BOOTSTRAP=$GOROOT GOOS=linux GOARCH=ppc64 ./make.bash
|
#GOROOT_BOOTSTRAP=$GOROOT GOOS=linux GOARCH=ppc64 ./make.bash
|
||||||
#GOROOT_BOOTSTRAP=$GOROOT GOOS=linux GOARCH=mips64 ./make.bash
|
#GOROOT_BOOTSTRAP=$GOROOT GOOS=linux GOARCH=mips64 ./make.bash
|
||||||
#GOROOT_BOOTSTRAP=$GOROOT GOOS=android ./make.bash
|
go env CGO_ENABLED
|
||||||
|
CGO_ENABLED=1 GOROOT_BOOTSTRAP=$GOROOT GOOS=android ./make.bash
|
||||||
|
go env CGO_ENABLED
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# build static version of documentation
|
# build static version of documentation
|
||||||
|
|
Loading…
Add table
Reference in a new issue