File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 11
11
ANDROID_NDK_VERSION=android-ndk-r27c
12
12
ANDROID_API=28
13
13
14
- SDKROOT=${TMPDIR:-/ tmp} /swift-android-sdk
14
+ SDKROOT=${RUNNER_TEMP :- ${ TMPDIR:- ' /tmp' } } /swift-android-sdk
15
15
mkdir -p ${SDKROOT}
16
16
17
17
# Install a Swift host toolchain if it isn't already present
Original file line number Diff line number Diff line change @@ -328,9 +328,6 @@ for arch in $archs; do
328
328
329
329
header " Building Android SDK for ${compiler_target_host} "
330
330
quiet_pushd ${source_dir} /swift-project
331
- # TODO: only for release (for some reason)
332
- LSP_BUILD=" --sourcekit-lsp"
333
-
334
331
build_type_flag=" --debug"
335
332
case $build_type in
336
333
Debug) build_type_flag=" --debug" ;;
@@ -360,12 +357,12 @@ for arch in $archs; do
360
357
--install-libdispatch \
361
358
--install-foundation \
362
359
--xctest --install-xctest \
363
- $LSP_BUILD \
364
360
--swift-testing --install-swift-testing \
365
361
--cross-compile-append-host-target-to-destdir=False
366
362
367
363
# --llbuild --install-llbuild \
368
364
# --swiftpm \
365
+ # --sourcekit-lsp \
369
366
370
367
# --extra-cmake-options="-DCMAKE_HAVE_LIBC_PTHREAD=YES" \
371
368
# --extra-cmake-options="-DTHREADS_PREFER_PTHREAD_FLAG=OFF" \
You can’t perform that action at this time.
0 commit comments