From 03dbe0709329d113681916cc4b87e96812817c2d Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 21 Sep 2024 00:46:36 +0800 Subject: [PATCH] Bump to 14.2.0 --- .github/workflows/build.yml | 4 ++-- build.sh | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1e95c77..8be94b8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: if: ${{ failure() }} uses: mxschmitt/action-tmate@v3 - name: Upload Build Archive - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: newer-toolchain-${{ matrix.target_arch }}-${{ github.sha }} path: ${{ github.workspace }}/build/ @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Fetch archives - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: path: ./ - name: Copy archives diff --git a/build.sh b/build.sh index c718c21..f067081 100755 --- a/build.sh +++ b/build.sh @@ -27,10 +27,10 @@ source $_SCRIPTDIR/common-files/termux_download.sh : ${_TMP_DIR:=$_SCRIPTDIR/tmp} : ${_API_LEVEL:=21} : ${_MAKE_PROCESSES:=$(nproc)} -: ${GCC_VERSION:=14.1.0} -: ${GCC_SHA256:=a0be066c02775002a0fa65ad3c65fb56a8bfd923d072a26ed148c0439ecdb68f} -: ${BINUTILS_VERSION:=2.42} -: ${BINUTILS_SHA256:=5d2a6c1d49686a557869caae08b6c2e83699775efd27505e01b2f4db1a024ffc} +: ${GCC_VERSION:=14.2.0} +: ${GCC_SHA256:=7d376d445f93126dc545e2c0086d0f647c3094aae081cdb78f42ce2bc25e7293} +: ${BINUTILS_VERSION:=2.43} +: ${BINUTILS_SHA256:=025c436d15049076ebe511d29651cc4785ee502965a8839936a65518582bdd64} export TOOLCHAIN_ARCH @@ -103,6 +103,8 @@ $BINUTILS_SRC_DIR/configure \ --target=$_HOST_PLATFORM \ --prefix=$_TMP_DIR/newer-toolchain \ --with-sysroot=$_TMP_DIR/newer-toolchain/sysroot \ + --with-zstd \ + ZSTD_LIBS=-l:libzstd.a \ $_BINUTILS_EXTRA_HOST_BUILD make -j $_MAKE_PROCESSES make -j $_MAKE_PROCESSES install-strip