-
Notifications
You must be signed in to change notification settings - Fork 28.5k
Build arm64 during Mac Host Engine build #84453
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
Comments
/cc @gw280 |
I don't think it's blocked on anything from the infra team. |
|
It looks like we'll need a newer MacOS SDK to target arm64 from the Engine builder. @godofredoc I see that it's possible to use a newer SDK from the devicelab builders, but not sure what the right thing is to do from the Engine builder. |
@zanderso That link isn't loading for me, @CaseyHillers suggests a LUCI outage may have been unable to write the initial request, and you'll need to retry it? But you ran it 23 hours ago and I assume you saw the logs based on your comment. If you can load it, can you just upload the logs in question? Or re-run it? |
Devicelab tests are currently using: Can you please add the following to your led command?
|
The builders can't use |
I'll work on that now. |
Trying this now. For posterity, I needed a https://ci.chromium.org/swarming/task/568a1f2b9d4a4710?server=chromium-swarm.appspot.com |
The build here failed how I was expecting.
The failures there I fixed locally by bumping the SDK versions in: https://github.com/flutter/buildroot/blob/master/build/config/mac/mac_sdk.gni up to 10.14, but I'm not actually sure that's the right thing to do. |
I think this logic needs to be updated to set
I think This is the work I needed to do to change the minimum from iOS 8->9, I'd expect the macOS change to be similar: However I don't think the version upgrade is needed in this case, just to use the Xcode version of clang. |
It's fine to test, but to reiterate we can't use the |
Need to pass |
I've been trying to get the Xcode cipd package uploaded, but since it's the same Xcode version as an existing one (but with an additional macOS SDK), and the ref is automatically set to the Xcode version, and it causes duplicates. I filed #92051 to pick up https://chromium-review.googlesource.com/c/infra/infra/+/3219264 |
Trying out the new Xcode version https://ci.chromium.org/swarming/task/56befe2bcfb8d510?server=chromium-swarm.appspot.com |
@zanderso Can you try again with your recipe changed to:
Open to suggestions for a better name for this package, which is 12a7209 + the first macOS 11 Big Sur SDK. The name needs to be alphanumeric only. |
@jmagman this is on my radar. I'll hopefully be able to give it a shot today or tomorrow. |
Sorry for the delay. It looks like even with the new cipd package, the build is still trying to use the older SDK (?) |
Ugh I messed it up, I added macOS 10.15 (Catalina) instead of macOS 11 (Big Sur)
The new error shows it's using
However, I think this is showing that our version of clang is too old to handle even |
Note to self, Zach's recipe change is at https://flutter-review.googlesource.com/c/recipes/+/19301/ |
Well, you already proved 12.3 |
This is ready to land here https://flutter-review.googlesource.com/c/recipes/+/25800. Since this is a bit risky, I'll wait until off-hours to click the button. |
@zanderso is there more to track here or can this be closed? |
This is done. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Dart side is looking good: https://ci.chromium.org/p/dart/builders/ci.sandbox/vm-kernel-mac-release-arm64
Add configuration to build the ARM macOS host engine.
The text was updated successfully, but these errors were encountered: