Skip to content

Commit

Permalink
Bump to 11.5.0 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
licy183 authored Sep 15, 2024
1 parent a7e17ae commit aa95642
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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
Expand Down
12 changes: 7 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ source $_SCRIPTDIR/common-files/termux_download.sh
: ${_TMP_DIR:=$_SCRIPTDIR/tmp}
: ${_API_LEVEL:=21}
: ${_MAKE_PROCESSES:=$(nproc)}
: ${GCC_VERSION:=11.4.0}
: ${GCC_SHA256:=af828619dd1970734dda3cfb792ea3f2cba61b5a00170ba8bce4910749d73c07}
: ${BINUTILS_VERSION:=2.41}
: ${BINUTILS_SHA256:=48d00a8dc73aa7d2394a7dc069b96191d95e8de8f0da6dc91da5cce655c20e45}
: ${GCC_VERSION:=11.5.0}
: ${GCC_SHA256:=5a447f9a2566d15376beece02270decec8b8c1fcb094b93cb335b23497d58117}
: ${BINUTILS_VERSION:=2.43}
: ${BINUTILS_SHA256:=025c436d15049076ebe511d29651cc4785ee502965a8839936a65518582bdd64}

export TOOLCHAIN_ARCH

Expand Down Expand Up @@ -58,7 +58,7 @@ fi
# Install dependencies
sudo apt update
sudo apt install -y build-essential curl gnat-11
sudo apt install -y libgmp-dev libmpfr-dev libmpc-dev zlib1g-dev libisl-dev libtinfo5 libncurses5
sudo apt install -y libgmp-dev libmpfr-dev libmpc-dev zlib1g-dev libisl-dev libtinfo5 libncurses5 libzstd-dev

pushd $_TMP_DIR

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit aa95642

Please sign in to comment.