-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Added swiftpm and other libs to Android toolchain #11870
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
Added swiftpm and other libs to Android toolchain #11870
Conversation
|
@milseman Please check this :) |
|
@Rostepher, could you review this or let me know who is a more appropriate reviewer for this? |
|
@swift-ci please smoke test |
1 similar comment
|
@swift-ci please smoke test |
|
Question. When you say @ swift-ci please smoke test, are there humans behind this or is it automatic thing? :) |
|
Automatically handled by a bot. There are sometimes issues, of course, which are inherent to the problem of CI. |
|
If you don't see a build start almost immediately then the CI bot probably didn't get the message. |
|
Does that mean I can also initiate the test by saying @ swift-ci please smoke test ? |
|
@amraboelela It might be limited to those with commit access, to help manage potential load on the bots. |
|
@swift-ci please smoke test |
|
Just testing :) so I guess it didn't work from me. |
d7ebf25 to
969645c
Compare
|
Oh, the tests actually got started after a while, so maybe anybody can start them. |
|
@swift-ci please smoke test |
|
It got stuck at Waiting for status to be reported |
|
@swift-ci please smoke test |
|
Not that I know what I'm taking about, but is it reasonable to constrain the script to only build for armv7e? Shouldn't this be something that's figured out from a target triple instead of hard-coded? |
|
@Rostepher could you review this? |
|
@CodaFi android only supports the A class of CPUs AFAIK. The NDK only provides the v7a bits, so I think that bit is reasonable. |
|
@milseman I'll give this a look over in the morning. |
Rostepher
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
No. I think @modocache is the best AFAIK. |
eec5656 to
b88b88c
Compare
|
@swift-ci please smoke test |
|
@amraboelela note that the swift-ci bot is picky about who it listens to - committers have access to trigger builds but not others. When it says 'waiting for status' it's really waiting for someone else to kick it off on your behalf. |
|
@compnerd or @modocache what do you think of this change? |
modocache
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thanks!
I believe "armeabi-v7a" is hardcoded in a few spots in the build scripts and testing utilities for Android, so it doesn't bother me that it also is here. Maybe someone could create a task to clean that up and take care of it in a forthcoming pull request?
utils/android/README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a suggestion: I think expanding on what "Android toolchain" means here would help people who have some interest, but don't quite understand what a "toolchain" is, to use the scripts and tools in here. Ideally, I think this README should answer the question: "why would I want to build an Android toolchain?"
2551bb2 to
888bc52
Compare
utils/android/README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please capitalize "Swift" and correct the typo in the word "application".
Insert "the" before "Swift standard library" and before "Android environment".
e38f79f to
d9ef07a
Compare
|
@amraboelela, do you want to do those fixes in this PR or a followup? I know it's been open for quite a while, and I have no strong opinions so long as @modocache and @xwu are fine with either. |
|
@milseman I already did the changes that @modocache and @xwu asked me to do. |
|
@swift-ci please smoke test |
ff6a306 to
0e9f909
Compare
|
@swift-ci please smoke test |
|
@swift-ci please smoke test Linux Platform |
utils/android/README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please capitalize all instances of "Swift" :)
0e9f909 to
eacb632
Compare
|
@swift-ci please smoke test |
a4173c1 to
3936714
Compare
|
Did I ruin the smoke test by doing merge from master? |
|
Any new commits will update the status of the PR and require a new smoke-test run. Same goes for force pushing a |
|
@swift-ci please smoke test |
30b2470 to
1d75bc8
Compare
|
Did another merge from master because the Linux smoke test failed. |
|
@swift-ci please smoke test |
These changes will add swift package management tools to the android toolchain, among other libraries and tools