Skip to content

Commit

Permalink
Update repo
Browse files Browse the repository at this point in the history
  • Loading branch information
termux-pacman-bot committed May 26, 2024
1 parent d8b4911 commit fa8637e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions common-files/prebuilt-gcc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
{
"14": {
"version": "14.1.0",
"revision": "1",
"checksums": {
"aarch64": "b907b82760a71c201ece7b5c9a508f30dcafb4cf87203d6b42f6caa9778f6610",
"arm": "900c01d2dc8a8d3f33f0694724cee876330cad0ba8620da50ac69a5e21199df9",
"i686": "b34ecd5e3e5c038cb83d9ebffa5af8928d522e48782a1848d5671d10f728f33b",
"x86_64": "c8cf1bf6aeb55a70cd5d718a31229275bd50d7fdddd28be123094191a00d7f77"
}
},
"13": {
"version": "13.2.0",
"revision": "2",
Expand Down
12 changes: 12 additions & 0 deletions common-files/setup_toolchain_gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -310,3 +310,15 @@ _setup_toolchain_ndk_gcc_13() {
_setup_standalone_toolchain_current_ndk_newer_gcc "$GCC_VERSION" "$GCC_TOOLCHAIN_REVISION" "$GCC_PREBUILT_SHA256" "$GCC_TOOLCHAIN_VERSION"
_setup_toolchain_gcc_envs_with_fc
}

_setup_toolchain_ndk_gcc_14() {
local GCC_TOOLCHAIN_VERSION=0

local PREBUILT_GCC_JSON="$TERMUX_SCRIPTDIR/common-files/prebuilt-gcc.json"
local GCC_VERSION=$(jq -r '.["14"].version' $PREBUILT_GCC_JSON)
local GCC_TOOLCHAIN_REVISION=$(jq -r '.["14"].revision' $PREBUILT_GCC_JSON)
local GCC_PREBUILT_SHA256=$(jq -r ".[\"14\"].checksums.$TERMUX_ARCH" $PREBUILT_GCC_JSON)

_setup_standalone_toolchain_current_ndk_newer_gcc "$GCC_VERSION" "$GCC_TOOLCHAIN_REVISION" "$GCC_PREBUILT_SHA256" "$GCC_TOOLCHAIN_VERSION"
_setup_toolchain_gcc_envs_with_fc
}

0 comments on commit fa8637e

Please sign in to comment.