File tree Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Original file line number Diff line number Diff line change 33
44# the architecture(s) to build; on GH Actions we build everything
55if [[ -z " ${CI} " ]]; then
6+ # TARGET_ARCHS=${TARGET_ARCHS:-x86_64,aarch64}
67 TARGET_ARCHS=${TARGET_ARCHS:- aarch64}
78else
89 # TARGET_ARCHS=${TARGET_ARCHS:-aarch64,armv7,x86_64,x86}
9- TARGET_ARCHS=${TARGET_ARCHS:- aarch64,x86_64}
10+ # TARGET_ARCHS=${TARGET_ARCHS:-aarch64,x86_64}
11+ TARGET_ARCHS=${TARGET_ARCHS:- x86_64,aarch64}
1012fi
1113
1214ANDROID_NDK_VERSION=android-ndk-r27c
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ android_sdk_version=0.1
102102sdk_name=
103103archs=aarch64,armv7,x86_64,x86
104104android_api=28
105- build_type=RelWithDebInfo
105+ build_type=Release
106106parallel_jobs=$(( $(nproc -- all) + 2 ))
107107source_dir=
108108ndk_home=${ANDROID_NDK}
@@ -359,21 +359,6 @@ for arch in $archs; do
359359 --xctest --install-xctest \
360360 --swift-testing --install-swift-testing \
361361 --cross-compile-append-host-target-to-destdir=False
362-
363- # --llbuild --install-llbuild \
364- # --swiftpm \
365- # --sourcekit-lsp \
366-
367- # --extra-cmake-options="-DCMAKE_HAVE_LIBC_PTHREAD=YES" \
368- # --extra-cmake-options="-DTHREADS_PREFER_PTHREAD_FLAG=OFF" \
369- # --extra-cmake-options="-DCMAKE_THREAD_PREFER_PTHREAD=OFF" \
370- # --extra-cmake-options="-DCMAKE_HAVE_LIBC_PTHREAD=ON" \
371-
372- # THREADS_PREFER_PTHREAD_FLAG=OFF is needed to prevent adding the -pthread flag, which fails on Android
373- # swiftc=$(find ${build_dir}/swift -name 'swiftc' | grep -v bootstrapping)
374- # lld=$(find ${build_dir}/swift -name 'ld.lld')
375- # echo "built: ${swiftc}"
376-
377362 quiet_popd
378363done
379364
You can’t perform that action at this time.
0 commit comments