You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
409 B
13 lines
409 B
#!/bin/sh
|
|
set -eu
|
|
|
|
export MAKEFLAGS="-j${NPROC:-$(nproc)}"
|
|
|
|
version_go=1.22.0 # https://golang.org/dl/
|
|
version_go21=1.21.7
|
|
version_go19=1.19.13
|
|
|
|
[ ! -d build/install-go1.4 ] && ./build_bootstrap.sh
|
|
[ ! -d build/install-go1.19 ] && ./build_go.sh 1.4 1.19 "$version_go19"
|
|
[ ! -d build/install-go1.21 ] && ./build_go.sh 1.19 1.21 "$version_go21"
|
|
[ ! -d build/install-go ] && ./build_go.sh 1.21 '' "$version_go"
|
|
|