swift: clear up space on CI for longer aarch64 build, until 5.7 is out in a couple months

This commit is contained in:
Butta 2022-06-17 16:38:57 +05:30
parent 402bfa4369
commit 2056aad712
2 changed files with 4 additions and 4 deletions

View File

@ -150,7 +150,7 @@ jobs:
- name: Free additional disk space (if necessary)
run: |
if grep -q '^rust$\|^rustc-nightly$\|^dart$' ./built_termux-main_packages.txt; then
if grep -q '^dart$\|^rust$\|^rustc-nightly$\|^swift$' ./built_termux-main_packages.txt; then
echo "Free additional disk space on host"
sudo apt purge -yq $(dpkg -l | grep '^ii' | awk '{ print $2 }' | grep -P '(cabal-|dotnet-|ghc-|libmono|php)') \
liblldb-6.0 libllvm6.0:amd64 mono-runtime-common monodoc-manual powershell ruby

View File

@ -11,9 +11,9 @@ TERMUX_PKG_DEPENDS="clang, libandroid-glob, libandroid-posix-semaphore, libandro
TERMUX_PKG_BUILD_DEPENDS="rsync"
TERMUX_PKG_BLACKLISTED_ARCHES="i686"
TERMUX_PKG_NO_STATICSPLIT=true
# Build of swift uses cmake, but the standard
# termux_step_configure_cmake function is not used. Instead we set
# TERMUX_PKG_FORCE_CMAKE to make the build system aware that cmake is
# Building swift uses CMake, but the standard
# termux_step_configure_cmake function is not used. Instead, we set
# TERMUX_PKG_FORCE_CMAKE to make the build system aware that CMake is
# needed.
TERMUX_PKG_FORCE_CMAKE=true
TERMUX_CMAKE_BUILD=Ninja