Commit b09bf6d1 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated go to 1.17.7

parent 330b0e94
...@@ -5,8 +5,10 @@ temporary: ...@@ -5,8 +5,10 @@ temporary:
chmod 600 swap chmod 600 swap
mkswap swap mkswap swap
swapon swap swapon swap
mkdir tmp
mount --bind tmp /tmp
mkdir -p /tmp/gocache mkdir -p /tmp/gocache
tar xf go1.14.4.src.tar.gz tar xf go1.17.7.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=$(current_dir)go-linux-arm64-bootstrap GOCACHE=/tmp/gocache ./all.bash ; \ cd go/src && GOROOT_BOOTSTRAP=$(current_dir)go-linux-arm64-bootstrap GOCACHE=/tmp/gocache ./all.bash ; \
...@@ -23,5 +25,7 @@ temporary: ...@@ -23,5 +25,7 @@ temporary:
rm -rf $(current_dir)go-linux-arm-bootstrap ; \ rm -rf $(current_dir)go-linux-arm-bootstrap ; \
fi fi
rm -rf /tmp/gocache rm -rf /tmp/gocache
umount /tmp
rm -rf tmp
swapoff swap swapoff swap
rm -rf swap rm -rf swap
...@@ -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.14.4.src.tar.gz -C ${builddir}"/> <arg line="xf ${basedir}/packages/go/go1.17.7.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