Changeset 264182 in webkit
- Timestamp:
- Jul 9, 2020, 11:29:59 AM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitdirs.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r264170 r264182 1 2020-07-09 Tim Horton <timothy_horton@apple.com> 2 3 Local internal builds fail on Apple Silicon (building yasm) 4 https://bugs.webkit.org/show_bug.cgi?id=214129 5 6 Reviewed by Dan Bernstein. 7 8 * Scripts/webkitdirs.pm: 9 (determineNativeArchitecture): 10 Build for arm64e when building with the internal SDK. 11 Importantly, this matches the ARCHS_STANDARD_* build settings, so this way we 12 won't set an ARCH that isn't in VALID_ARCHS for projects who use ARCHS_STANDARD_*. 13 14 (determineXcodeSDK): 15 Fall back to "macosx", so that other code can correctly identify that we're building for macOS. 16 This logic needs to be here, instead of in the caller (who could assume undefined means macOS), 17 because we want the ".internal" search to take place as well. 18 1 19 2020-07-09 Wenson Hsieh <wenson_hsieh@apple.com> 2 20 -
trunk/Tools/Scripts/webkitdirs.pm
r264142 r264182 372 372 $output = "arm64"; 373 373 } 374 375 if (isAppleCocoaWebKit() && $output eq "arm64") { 376 determineXcodeSDK(); 377 if ($xcodeSDK eq "macosx.internal") { 378 $output = "arm64e"; 379 } 380 } 381 374 382 $output = "arm" if $output eq "armv7l"; 375 die "'arm64e' is an invalid native architecture" if $output eq "arm64e";376 383 $nativeArchitectureMap{"$target:$port"} = $output; 377 384 } … … 633 640 $xcodeSDK ||= "maccatalyst"; 634 641 } 635 return if !defined $xcodeSDK; 642 643 # Finally, fall back to macOS if no platform is specified. 644 if (!defined $xcodeSDK) { 645 $xcodeSDK = "macosx"; 646 } 636 647 637 648 # Prefer the internal version of an sdk, if it exists.
Note:
See TracChangeset
for help on using the changeset viewer.