Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@rmacnak-google
Copy link
Contributor

Mac ARM64 continues to also fetch the X64-host toolchain because the GN files that need to updated live in another repository, so this cannot be done atomically.

Bug: flutter/flutter#103386

Mac ARM64 continues to also fetch the X64-host toolchain because the GN files that need to updated live in another repository, so this cannot be done atomically.
@rmacnak-google rmacnak-google requested a review from cbracken July 29, 2022 18:16
Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM stamp from a Japanese personal seal

@cbracken
Copy link
Member

cbracken commented Jul 29, 2022

@rmacnak-google are you aware of whether we have an arm64-windows toolchain floating around as well? There are a couple contributors working on arm64 Windows support at the moment, though initially the goal is x64 windows cross-compiling for arm64 windows.

Not at all urgent right now, but something that we'll eventually want to support.

@cbracken cbracken merged commit d6424c6 into flutter:main Jul 29, 2022
@rmacnak-google
Copy link
Contributor Author

The toolchain we get from Fuchsia supports arm64-windows as a target, and we're using that in Dart, but it doesn't provide for arm64-windows hosts (list of available hosts). An external contributor is using MSVC to compile on an arm64-windows host.

{
'package': 'fuchsia/third_party/clang/mac-amd64',
'version': 'NyopqdQvXY11sckCZIz7FdXLgQZep1ssg1IYBX09ZPwC'
'version': 'git_revision:3a20597776a5d2920e511d81653b4d2b6ca0c855'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this going to confuse or get clobbered by the toolchain autorollers? E.g. https://autoroll.skia.org/r/clang-mac-flutter-engine

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, shouldn't we still be tracking the toolchain that the Fuchsia toolchain team is officially releasing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revisions instead of instance ids make it easier to see whether the platforms are in sync and make it easier to match things back to the source repositories. Dart's DEPS and Fuchsia's manifest both use revisions instance of instance ids. This is the revision currently used by Fuchsia integration.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If changes aren't also made to the autoroller, then the next autoroller roll will clobber these back to instance ids (if it can understand the new layout at all.)

@rmacnak-google rmacnak-google deleted the toolchain branch August 2, 2022 21:02
emilyabest pushed a commit to emilyabest/engine that referenced this pull request Aug 12, 2022
Mac ARM64 continues to also fetch the X64-host toolchain because the GN files that need to updated live in another repository, so this cannot be done atomically.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants