Skip to content

Commit

Permalink
Revert update to NDK 26b for Swift build
Browse files Browse the repository at this point in the history
  • Loading branch information
finagolfin committed Nov 2, 2023
1 parent 91dee0f commit 632362d
Show file tree
Hide file tree
Showing 27 changed files with 62 additions and 549 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ jobs:
firefox google-chrome-stable microsoft-edge-stable mono-runtime-common monodoc-manual ruby
sudo apt autoremove -yq
sudo rm -fr /opt/hostedtoolcache /usr/share/dotnet /usr/share/swift
NDK=$ANDROID_NDK_LATEST_HOME ANDROID_HOME=$ANDROID_SDK_ROOT ./build-package.sh -I -a ${{ matrix.target_arch }} $packages
NDK=$ANDROID_NDK_ROOT ANDROID_HOME=$ANDROID_SDK_ROOT ./build-package.sh -I -a ${{ matrix.target_arch }} ndk-multilib
mv ~/.termux-build/ndk-multilib/massage/data/data/com.termux/files/usr/opt /data/data/com.termux/files/usr
NDK=$ANDROID_NDK_ROOT ANDROID_HOME=$ANDROID_SDK_ROOT ./build-package.sh -I -a ${{ matrix.target_arch }} $packages
else
./scripts/run-docker.sh ./build-package.sh -I -a ${{ matrix.target_arch }} $packages
fi
Expand Down
6 changes: 3 additions & 3 deletions build-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_handle_hostbuild.sh"
# shellcheck source=scripts/build/termux_step_host_build.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_host_build.sh"

# Setup a standalone Android NDK toolchain. Called from termux_step_setup_toolchain.
# shellcheck source=scripts/build/toolchain/termux_setup_toolchain_26b.sh
source "$TERMUX_SCRIPTDIR/scripts/build/toolchain/termux_setup_toolchain_26b.sh"
# Setup a standalone Android NDK 25c toolchain. Called from termux_step_setup_toolchain.
# shellcheck source=scripts/build/toolchain/termux_setup_toolchain_25c.sh
source "$TERMUX_SCRIPTDIR/scripts/build/toolchain/termux_setup_toolchain_25c.sh"

# Setup a standalone Android NDK 23c toolchain. Called from termux_step_setup_toolchain.
# shellcheck source=scripts/build/toolchain/termux_setup_toolchain_23c.sh
Expand Down
1 change: 1 addition & 0 deletions ndk-patches/25c
85 changes: 0 additions & 85 deletions ndk-patches/26b/bits-struct_file.h.patch

This file was deleted.

12 changes: 0 additions & 12 deletions ndk-patches/26b/dirent.h.patch

This file was deleted.

28 changes: 0 additions & 28 deletions ndk-patches/26b/grp.h.patch

This file was deleted.

11 changes: 0 additions & 11 deletions ndk-patches/26b/linux-fcntl.h.patch

This file was deleted.

29 changes: 0 additions & 29 deletions ndk-patches/26b/paths.h.patch

This file was deleted.

64 changes: 0 additions & 64 deletions ndk-patches/26b/pwd.h.patch

This file was deleted.

21 changes: 0 additions & 21 deletions ndk-patches/26b/redefine-TCSAFLUSH.patch

This file was deleted.

18 changes: 0 additions & 18 deletions ndk-patches/26b/semaphore.h.patch

This file was deleted.

80 changes: 0 additions & 80 deletions ndk-patches/26b/stdio.h.patch

This file was deleted.

Loading

0 comments on commit 632362d

Please sign in to comment.