| Summary: | Local internal builds fail on Apple Silicon (building yasm) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||||
| Component: | New Bugs | Assignee: | Tim Horton <thorton> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | ap, jbedard, mitz, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Tim Horton
2020-07-09 05:03:54 PDT
Created attachment 403856 [details]
Patch
Comment on attachment 403856 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=403856&action=review > Tools/Scripts/webkitdirs.pm:375 > + if (isAppleCocoaWebKit() && $output eq "arm64") { Could combine with the above into one `if (isAppleCocoaWebKit())` block. > Tools/Scripts/webkitdirs.pm:376 > + $output = determineXcodeSDK(); Why are we assigning an SDK identifier to `$output` (which appears to hold an architecture) here? Comment on attachment 403856 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=403856&action=review >> Tools/Scripts/webkitdirs.pm:375 >> + if (isAppleCocoaWebKit() && $output eq "arm64") { > > Could combine with the above into one `if (isAppleCocoaWebKit())` block. I intentionally did not because the above block will go away and this one won’t. >> Tools/Scripts/webkitdirs.pm:376 >> + $output = determineXcodeSDK(); > > Why are we assigning an SDK identifier to `$output` (which appears to hold an architecture) here? Whoops! That was for debugging and I forgot to revert. Good catch. Created attachment 403887 [details]
Patch
Committed r264182: <https://trac.webkit.org/changeset/264182> All reviewed patches have been landed. Closing bug and clearing flags on attachment 403887 [details]. Comment on attachment 403887 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=403887&action=review > Tools/Scripts/webkitdirs.pm:381 > + We need to make sure that run-javascriptcore-tests will override arm64e with arm64. I think it already does, but I don’t have a checkout handy. |