-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[android] Disable SwiftPM in CI build. #28063
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
[android] Disable SwiftPM in CI build. #28063
Conversation
@swift-ci please smoke test |
Since SwiftPM has moved to Would it be possible to make the Android bot not inherit from |
To get the same behavior as before, you could specify However, because the build already deviates so much from the standard linux build, I think we might want to consider starting a new preset path and not inheriting from CC: @shahmishal Do you have an opinion on this? |
The idea was using the mixin to be very close to other builds and inherit their configurations, so if changes happen there, changes will propagate to the Android builds. I never imagined that the switches will be removed. I am trying to play with the ini file to see if some syntax supports removing that |
The Android CI build only builds the stdlib because the rest of the components are build for the host, which is not very useful, since they are already tested in other CI configurations.
fc96b03
to
9498287
Compare
All right. I thought that because it was accepting the flag I was going to be OK, but the build failed later. To allow the @swift-ci please smoke test |
I think the failure in Linux should not be related to this changes. @swift-ci please smoke test Linux platform |
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.
I’m fine with the PR as it stands now. However, I still believe, splitting the mixins up so we don’t need to disable everything again would be a good idea for a follow-up PR.
I agree that maybe splitting the mixins are not a bad idea. I normally do not like touching this much this file, since a lot of infra depends on it. But I will look into how much will need duplicating at this moment. Maybe it is better at this point. |
The Android CI build only builds the stdlib because the rest of the
components are build for the host, which is not very useful, since they
are already tested in other CI configurations.
The problem was introduced in #28035 and started showing in https://ci-external.swift.org/job/oss-swift-RA-linux-ubuntu-16.04-android/4328/ and https://ci-external.swift.org/job/oss-swift-RA-linux-ubuntu-16.04-android-arm64/2599/
@aciidb0mb3r, @ahoppen: In my opinion, removing the three
skip-build-swiftpm
inbuild-presets.ini
in the original PR should be reviewed.The removed switch haven't disappered from the[edit: not true, it didn't fail in my system, but it is not longer supported] I only removed the Android one, because it is the one that actually breaks things.build_script(.py)
script, and it is still honored.