From 9a5d4a00e2542c70385a19639254f21d482b2013 Mon Sep 17 00:00:00 2001 From: ston1th Date: Tue, 17 Aug 2021 20:36:03 +0200 Subject: [PATCH] bump go version to 1.17 --- build-go.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build-go.sh b/build-go.sh index 7e46f86..cdd225c 100755 --- a/build-go.sh +++ b/build-go.sh @@ -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