0

google-go-lang: bump version 1.22.8 -> 1.23.4

This commit is contained in:
eleksir
2025-01-02 12:57:07 +03:00
parent a74735a396
commit 8a76b8766e
2 changed files with 30 additions and 8 deletions

View File

@@ -29,10 +29,11 @@
# SOFTWARE. # SOFTWARE.
PRGNAM=google-go-lang PRGNAM=google-go-lang
VERSION=${VERSION:-1.22.8} VERSION=${VERSION:-1.23.4}
BOOTSTRAP1_VERSION=1.18.10 BOOTSTRAP1_VERSION=1.18.10
BOOTSTRAP2_VERSION=1.21.13 BOOTSTRAP2_VERSION=1.21.13
BOOTSTRAP3_VERSION=$VERSION BOOTSTRAP3_VERSION=1.22.10
BOOTSTRAP4_VERSION=$VERSION
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_EXs} TAG=${TAG:-_EXs}
@@ -70,6 +71,7 @@ OUTPUT=${OUTPUT:-/tmp}
BOOTSTRAP1_DIR="${TMP}/bootstrap-go${BOOTSTRAP1_VERSION}" BOOTSTRAP1_DIR="${TMP}/bootstrap-go${BOOTSTRAP1_VERSION}"
BOOTSTRAP2_DIR="${TMP}/bootstrap-go${BOOTSTRAP2_VERSION}" BOOTSTRAP2_DIR="${TMP}/bootstrap-go${BOOTSTRAP2_VERSION}"
BOOTSTRAP3_DIR="${TMP}/bootstrap-go${BOOTSTRAP3_VERSION}" BOOTSTRAP3_DIR="${TMP}/bootstrap-go${BOOTSTRAP3_VERSION}"
BOOTSTRAP4_DIR="${TMP}/bootstrap-go${BOOTSTRAP4_VERSION}"
set -e set -e
@@ -146,14 +148,34 @@ pushd "$BOOTSTRAP3_DIR"
popd popd
popd popd
# Time to build 4-th bootstrap compiler
echo ""
echo "Building 4-th bootstrap compiler, ${BOOTSTRAP3_VERSION}"
mkdir -p "${BOOTSTRAP4_DIR}"
pushd "$BOOTSTRAP4_DIR"
tar xf "${CWD}/go${BOOTSTRAP4_VERSION}.src.tar.gz"
pushd go
chown -R root:root .
export PATH="${BOOTSTRAP3_DIR}/go/bin:${ORIG_PATH}"
unset GOBIN GOPATH GOOS GOARCH CGO_ENABLED
export GOROOT_BOOTSTRAP="$BOOTSTRAP3_DIR/go"
export GOROOT="$(pwd)"
export GOROOT_FINAL="${BOOTSTRAP4_DIR}/go"
pushd src
LC_ALL=C ./make.bash
$GOROOT/bin/go install std
popd
popd
popd
# Time to build target compiler # Time to build target compiler
echo "" echo ""
echo "Building target compiler, ${BOOTSTRAP3_VERSION}" echo "Building target compiler, ${BOOTSTRAP4_VERSION}"
export PATH="${BOOTSTRAP3_DIR}/go/bin:${PATH}" export PATH="${BOOTSTRAP4_DIR}/go/bin:${PATH}"
cd "$PKG/usr/lib${LIBDIRSUFFIX}/go${VERSION}/go" cd "$PKG/usr/lib${LIBDIRSUFFIX}/go${VERSION}/go"
unset GOBIN GOPATH GOOS GOARCH CGO_ENABLED unset GOBIN GOPATH GOOS GOARCH CGO_ENABLED
export GOROOT_BOOTSTRAP="$BOOTSTRAP3_DIR/go" export GOROOT_BOOTSTRAP="$BOOTSTRAP4_DIR/go"
export GOROOT="$(pwd)" export GOROOT="$(pwd)"
export GOROOT_FINAL="/usr/lib${LIBDIRSUFFIX}/go${VERSION}/go" export GOROOT_FINAL="/usr/lib${LIBDIRSUFFIX}/go${VERSION}/go"
export GO_LDFLAGS="-s -w" export GO_LDFLAGS="-s -w"

View File

@@ -1,8 +1,8 @@
PRGNAM="google-go-lang" PRGNAM="google-go-lang"
VERSION="1.22.8" VERSION="1.23.4"
HOMEPAGE="https://go.dev/" HOMEPAGE="https://go.dev/"
DOWNLOAD="https://go.dev/dl/go1.18.10.src.tar.gz https://go.dev/dl/go1.21.13.src.tar.gz https://go.dev/dl/go1.22.8.src.tar.gz" DOWNLOAD="https://go.dev/dl/go1.18.10.src.tar.gz https://go.dev/dl/go1.21.13.src.tar.gz https://go.dev/dl/go1.22.10.src.tar.gz https://go.dev/dl/go1.23.4.src.tar.gz"
MD5SUM="002b4daec72ab396dc023a5ec445a68a 3454362fc56df5020920e43fee2776ab dc99a2ed080e993baed870492d6a9284" MD5SUM="002b4daec72ab396dc023a5ec445a68a 3454362fc56df5020920e43fee2776ab 49b9eb43b62c1bdd9b5af72f61860e2d b62bddca6359237a49a7857cf5cd0510"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""