[changelog] Enable M1 builds (and more things) #6658
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some words about the biggest change here:
[feature] BuildSingleReference: Create packages for apple-clang armv8 (Apple M1) in pull-requests' builds.
It's been a while since we started to think about M1 configurations in ConanCenter. During this time we have implemented the changes required in the CI library and, mostly, we have tried to prepare as many recipes as possible for this new configuration (special thanks to @SSE4 and @SpaceIm).
This configuration is not only new by itself, but it is the first one that uses two profiles (
--profile:host
and--profile:build
) to create the binaries. We are cross-compiling from a regular Macos (x64) to ARM architecture, so be aware, some builds and libraries might become challenging.It is expected (sorry in advance) that some PRs will start to fail. We have tried our best, but it is impossible for us alone to keep the pace and fix all the recipes at the time they are being added. Expected errors could be:
ConanInvalidConfiguration
for that configuration and the CI will skip the build.