bump go version to 1.17

This commit is contained in:
ston1th 2021-08-17 20:36:03 +02:00
commit 9a5d4a00e2

View file

@ -16,8 +16,8 @@ bootstrap="${install_dir}/bootstrap-${v14}"
tgz14="${v14}.tar.gz"
path_v14="${install_dir}/${tgz14}"
new="go1.16.3"
new_sum="26f31e6a8291e93b106083950a94c9f0323f33ac16538eb0ddef593ae8b20b97"
new="go1.17"
new_sum="d912e9db0fcbf69b7dacde058ee1675d0e3998905b8b2ab1080a5deb6df18f5d"
tgznew="${new}.tar.gz"
path_new="${install_dir}/${tgznew}"
@ -45,7 +45,8 @@ export CGO_ENABLED=0
if [[ ! -x "${bootstrap}/bin/go" ]]; then
cd ${bootstrap}/src
./make.bash &> /dev/null
#./make.bash &> /dev/null
./make.bash
fi
export GOROOT_BOOTSTRAP=${bootstrap}
@ -53,7 +54,8 @@ export GOROOT_BOOTSTRAP=${bootstrap}
[[ "$(uname -m)" == "x86_64" ]] && export GOARCH=amd64 || export GOARCH=386
cd ${go_dir}/src
./make.bash &> /dev/null
./make.bash
#./make.bash &> /dev/null
export GOROOT=${go_dir}
export PATH=${PATH}:${GOROOT}/bin:~/go/bin