Commit 4d2fcb32 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated go to 1.18.9

parent 34af8260
...@@ -11,7 +11,7 @@ temporary: ...@@ -11,7 +11,7 @@ temporary:
patch -Np1 -d go < go1.4-aarch64.patch patch -Np1 -d go < go1.4-aarch64.patch
cd go/src && ./make.bash cd go/src && ./make.bash
mv go go1.4 mv go go1.4
tar xf go1.17.7.src.tar.gz tar xf go1.18.9.src.tar.gz
if [ "$(HOSTTYPE)" = "aarch64" ]; then \ if [ "$(HOSTTYPE)" = "aarch64" ]; then \
cd go/src && GOROOT_BOOTSTRAP=$(CURDIR)/go1.4 GOCACHE=/tmp/gocache GOOS=linux GOARCH=arm64 GOPATH=$(CURDIR)/go ./bootstrap.bash ; \ cd go/src && GOROOT_BOOTSTRAP=$(CURDIR)/go1.4 GOCACHE=/tmp/gocache GOOS=linux GOARCH=arm64 GOPATH=$(CURDIR)/go ./bootstrap.bash ; \
rm -rf $(CURDIR)/go-linux-arm64-bootstrap ; \ rm -rf $(CURDIR)/go-linux-arm64-bootstrap ; \
...@@ -27,7 +27,7 @@ temporary: ...@@ -27,7 +27,7 @@ temporary:
rm -rf go1.4 rm -rf go1.4
rm -rf go rm -rf go
tar xf go1.17.7.src.tar.gz tar xf go1.18.9.src.tar.gz
if [ "$(HOSTTYPE)" = "aarch64" ]; then \ if [ "$(HOSTTYPE)" = "aarch64" ]; then \
tar xf go-linux-arm64-bootstrap.tbz ; \ tar xf go-linux-arm64-bootstrap.tbz ; \
cd go/src && GOROOT_BOOTSTRAP=$(CURDIR)/go-linux-arm64-bootstrap GOCACHE=/tmp/gocache ./all.bash ; \ cd go/src && GOROOT_BOOTSTRAP=$(CURDIR)/go-linux-arm64-bootstrap GOCACHE=/tmp/gocache ./all.bash ; \
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<exec executable="./make.bash" dir="${makedir}/src"/> <exec executable="./make.bash" dir="${makedir}/src"/>
<move file="${builddir}/go" tofile="${builddir}/go1.4"/> <move file="${builddir}/go" tofile="${builddir}/go1.4"/>
<exec executable="tar" failonerror="true"> <exec executable="tar" failonerror="true">
<arg line="xf ${basedir}/packages/go/go1.17.7.src.tar.gz -C ${builddir}"/> <arg line="xf ${basedir}/packages/go/go1.18.9.src.tar.gz -C ${builddir}"/>
</exec> </exec>
<exec executable="bash" outputproperty="CFLAGS"> <exec executable="bash" outputproperty="CFLAGS">
<arg value="-c"/> <arg value="-c"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment