Skip to content

Port to Android #111

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

Merged
merged 1 commit into from
May 25, 2020
Merged

Port to Android #111

merged 1 commit into from
May 25, 2020

Conversation

finagolfin
Copy link
Member

Tested with Swift master natively on Android, also had to add the swiftc path below to my PATH for the tests to find it. Most tests pass with the following commands (the _GNU_SOURCE flag has to do with building TSC on Android):

SWIFTCI_USE_LOCAL_DEPS=1 ../build/Ninja-Release/toolchain-android-aarch64/usr/bin/swift build -j 9 -Xswiftc -Xcc -Xswiftc -U_GNU_SOURCE
SWIFTCI_USE_LOCAL_DEPS=1 ../build/Ninja-Release/toolchain-android-aarch64/usr/bin/swift test -j 9 -Xswiftc -Xcc -Xswiftc -U_GNU_SOURCE

@harlanhaskins
Copy link
Contributor

@swift-ci please test

@DougGregor
Copy link
Member

LGTM. Is the generic Unix toolchain (really only tested in Linux thus far) really good enough for Android? Or are there more fixes coming?

@DougGregor DougGregor merged commit 09b0bbf into swiftlang:master May 25, 2020
@finagolfin
Copy link
Member Author

I think it's mostly good enough, as the Termux app that I'm using on Android creates a similar environment, but I'll look into why I had to set the PATH to the local Swift master toolchain and submit any other fixes I may find.

@finagolfin finagolfin deleted the droid branch May 25, 2020 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants