File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
swift-ci/sdks/android/scripts Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -385,6 +385,7 @@ for arch in $archs; do
385
385
1|true|yes|YES)
386
386
build_cmark=" "
387
387
local_build=" "
388
+ build_llvm=" 1"
388
389
build_swift_tools=" 1"
389
390
validation_test=" 1"
390
391
native_swift_tools_path=" "
@@ -393,6 +394,7 @@ for arch in $archs; do
393
394
* )
394
395
build_cmark=" --skip-build-cmark"
395
396
local_build=" --skip-local-build"
397
+ build_llvm=" 0"
396
398
build_swift_tools=" 0"
397
399
validation_test=" 0"
398
400
native_swift_tools_path=" --native-swift-tools-path=$host_toolchain /bin"
@@ -415,7 +417,7 @@ for arch in $archs; do
415
417
--cross-compile-hosts=android-$arch \
416
418
--cross-compile-deps-path=$sdk_root \
417
419
--install-destdir=$sdk_root \
418
- --build-llvm=0 \
420
+ --build-llvm=$build_llvm \
419
421
--build-swift-tools=$build_swift_tools \
420
422
${native_swift_tools_path} \
421
423
${native_clang_tools_path} \
@@ -428,6 +430,7 @@ for arch in $archs; do
428
430
--xctest --install-xctest \
429
431
--swift-testing --install-swift-testing \
430
432
--cross-compile-build-swift-tools=0 \
433
+ --llvm-ninja-targets-for-cross-compile-hosts=help \
431
434
--cross-compile-append-host-target-to-destdir=False \
432
435
--extra-cmake-options=' -DCMAKE_EXTRA_LINK_FLAGS="-Wl,-z,max-page-size=16384"'
433
436
You can’t perform that action at this time.
0 commit comments