Skip to content

Commit b284f76

Browse files
committed
Hack in fix on CI for trunk compiler not accepting header outside the NDK anymore
1 parent e7f27cf commit b284f76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/sdks.yml

+2
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ jobs:
161161
SDK=`pwd`/$SDK_NAME
162162
if [ ${{ matrix.version }} = 'release' ]; then
163163
perl -pi -e "s%/data/data/com.termux/files%$SDK%g" $SDK/usr/lib/pkgconfig/sqlite3.pc
164+
elif [ ${{ matrix.version }} = 'trunk' ]; then
165+
cp $SDK/usr/include/execinfo.h $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include
164166
fi
165167
166168
./swift/utils/build-script -RA --skip-build-cmark --build-llvm=0 --android --android-ndk $ANDROID_NDK_HOME --android-arch $arch --android-api-level $ANDROID_API_LEVEL --build-swift-tools=0 --native-swift-tools-path=${TOOLCHAIN}/bin --native-clang-tools-path=${TOOLCHAIN}/bin --cross-compile-hosts=android-$arch --cross-compile-deps-path=$SDK --skip-local-build --build-swift-static-stdlib --xctest --install-swift --install-libdispatch --install-foundation --install-xctest --install-destdir=$SDK --swift-install-components='compiler;clang-resource-dir-symlink;license;stdlib;sdk-overlay' --cross-compile-append-host-target-to-destdir=False -b -p --install-llbuild $LSP_BUILD $TESTING_BUILD

0 commit comments

Comments
 (0)