Skip to content

Android SDK build scripts #467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 53 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
5f1dbac
Add Android workflow
marcprux Mar 31, 2025
1b7e52f
Merge branch 'swiftlang:main' into main
marcprux Apr 7, 2025
c263e80
Merge branch 'swiftlang:main' into main
marcprux Apr 15, 2025
dd6d09f
Merge branch 'swiftlang:main' into main
marcprux Apr 22, 2025
6565052
Build Android image (#1)
marcprux Apr 22, 2025
5f9dab4
Merge branch 'swiftlang:main' into main
marcprux Apr 28, 2025
412e6b0
Merge branch 'swiftlang:main' into main
marcprux Apr 28, 2025
40733f7
Swift Android build 6.2 (#2)
marcprux May 1, 2025
53e361a
Swift Android build 6.2 (#3)
marcprux May 8, 2025
72964f5
Build SDK in Docker container (#4)
marcprux May 18, 2025
9160168
Merge branch 'swiftlang:main' into main
marcprux May 18, 2025
4987bcc
Checkout patches repo instead of using a git submodule
marcprux May 18, 2025
ff3f274
Update libcurl to 8.13.0
marcprux May 18, 2025
595efc3
Remove resources that we no longer use
marcprux May 18, 2025
27b1bf4
Update libcurl to 8.13.0
marcprux May 18, 2025
b898129
Update libxml2 to 2.14.2
marcprux May 18, 2025
f566b23
Build libxml2, libcurl, and boringssl with support for Android 16kb p…
marcprux May 18, 2025
529e3f1
Add build-script --extra-cmake-options=-DCMAKE_EXTRA_LINK_FLAGS=-Wl,-…
marcprux May 18, 2025
c82587d
Add 16KB page size linker flags to linker flags in swift-toolset.json
marcprux May 18, 2025
217f1d7
Add 16KB page size linker flags to linker flags in swift-toolset.json
marcprux May 19, 2025
95046b3
Build with ndk-r28b
marcprux May 19, 2025
8b18b5f
Revert to building with ndk-r27c
marcprux May 19, 2025
f67f9bf
Use official endpoints for discovering latest Swift release/devel/tru…
marcprux May 19, 2025
7011a45
Typo fix in version script
marcprux May 19, 2025
4c65a93
Cleanup for PR
marcprux May 19, 2025
d80c80b
Change BUILD_VERSION to BUILD_SCHEME and have it match release, swift…
marcprux May 19, 2025
2c07eef
Update Android README
marcprux May 19, 2025
51d93f8
Update how patches are applied
marcprux May 21, 2025
46a06df
Fix source directory for patch target
marcprux May 21, 2025
afb2918
Harmonize timestamps in artifactbundle with the swift source tag date…
marcprux May 21, 2025
a469e85
Simplify toolchain-vars.sh
marcprux May 22, 2025
dea39d7
Merge branch 'swiftlang:main' into main
marcprux May 26, 2025
b3cddbd
Merge branch 'swiftlang:main' into main
marcprux Jun 2, 2025
abd3fd1
Merge branch 'swiftlang:main' into main
marcprux Jun 13, 2025
ad24ea5
Merge branch 'swiftlang:main' into main
marcprux Jun 26, 2025
50ba1cd
Run the compiler validation suite for Android (#8)
marcprux Jun 29, 2025
71b7131
Build compiler-validated bundles from latest branch commits, not olde…
finagolfin Jun 30, 2025
e2f696a
Merge pull request #9 from swift-android-sdk/Testing
finagolfin Jul 4, 2025
3f4cd4a
gcpd 'Update patches'
marcprux Jul 16, 2025
bd0df11
Update patches and build matrix
marcprux Jul 17, 2025
80291aa
Disable compiler validated builds on self-hosted
marcprux Jul 17, 2025
18c563f
Centralize cmake variable for 6.2 in patches, as done for trunk upstream
finagolfin Jul 6, 2025
ed09034
Update disabled tests
finagolfin Jul 12, 2025
e4a96b2
Merge branch 'main' into update-patches2
marcprux Jul 17, 2025
f472e9e
Try running Docker build on macOS host
marcprux Jul 17, 2025
22a4320
Remove separate checks of libxml2, curl, and yams
marcprux Jul 18, 2025
bc3f105
Merge pull request #11 from swift-android-sdk/update-patches2
marcprux Jul 18, 2025
a7b303a
Remove upstreamed 6.2 branch patches
finagolfin Jul 18, 2025
4ed1375
Merge branch 'swiftlang:main' into main
marcprux Jul 18, 2025
3f36409
Use command-line flags to work around CMake 3.30+ linker flag bug, ra…
finagolfin Jul 21, 2025
f658604
Create an Android CMake toolchain file instead to cross-compile Testi…
finagolfin Jul 23, 2025
c9fc3d8
Install the native host LLVM tools for full compiler builds
finagolfin Jul 23, 2025
b881e14
Extend `--cross-compile-build-swift-tools=False` to disable building …
finagolfin Jul 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix source directory for patch target
  • Loading branch information
marcprux committed May 22, 2025
commit 46a06df6d05f843b560fce8cc2cde1d742d79b2e
2 changes: 1 addition & 1 deletion swift-ci/sdks/android/build-docker
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ source ./scripts/toolchain-vars.sh

# Check-out and patch the sources
./scripts/fetch-source.sh --source-dir ${WORKDIR}/source --swift-tag ${SWIFT_TAG}
${WORKDIR}/source/swift-android-patches/apply-patches.sh ${WORKDIR}/source
${WORKDIR}/source/swift-android-patches/apply-patches.sh ${WORKDIR}/source/swift-project

mkdir -p ${WORKDIR}/products
chmod ugo+rwx ${WORKDIR}/products
Expand Down
2 changes: 1 addition & 1 deletion swift-ci/sdks/android/build-local
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fi

# Check-out and patch the sources
./scripts/fetch-source.sh --source-dir ${WORKDIR}/source --swift-tag ${SWIFT_TAG}
${WORKDIR}/source/swift-android-patches/apply-patches.sh ${WORKDIR}/source
${WORKDIR}/source/swift-android-patches/apply-patches.sh ${WORKDIR}/source/swift-project

mkdir -p ${WORKDIR}/products

Expand Down