RESOLVED FIXED 217584
Ignore deployment suffix and identifier when computing major OS version for macOS Big Sur and newer
https://bugs.webkit.org/show_bug.cgi?id=217584
Summary Ignore deployment suffix and identifier when computing major OS version for m...
Luming Yin
Reported 2020-10-11 13:28:21 PDT
Attachments
Patch (24.56 KB, patch)
2020-10-11 14:21 PDT, Luming Yin
no flags
Patch (25.89 KB, patch)
2020-10-11 14:58 PDT, Luming Yin
no flags
Patch (26.23 KB, patch)
2020-10-11 15:23 PDT, Luming Yin
no flags
Patch (26.33 KB, patch)
2020-10-11 15:37 PDT, Luming Yin
no flags
Patch (25.94 KB, patch)
2020-10-11 15:47 PDT, Luming Yin
no flags
Luming Yin
Comment 1 2020-10-11 14:21:17 PDT
EWS Watchlist
Comment 2 2020-10-11 14:22:26 PDT
Note that there are important steps to take when updating ANGLE. See https://trac.webkit.org/wiki/UpdatingANGLE
Darin Adler
Comment 3 2020-10-11 14:44:40 PDT
Comment on attachment 411064 [details] Patch The build is not failing, but we know that this version is wrong.
Luming Yin
Comment 4 2020-10-11 14:58:20 PDT
Darin Adler
Comment 5 2020-10-11 15:20:59 PDT
Comment on attachment 411066 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411066&action=review > Source/JavaScriptCore/Configurations/Base.xcconfig:106 > +TARGET_MACOS_LEGACY_VERSION_IDENTIFIER_10 = $(MACOSX_DEPLOYMENT_TARGET:identifier) We just figured out this does not work!
Luming Yin
Comment 6 2020-10-11 15:23:14 PDT
Darin Adler
Comment 7 2020-10-11 15:25:32 PDT
EWS is not going to tell us anything here, because these changes affect only Production builds. EWS does Debug and Release builds.
Darin Adler
Comment 8 2020-10-11 15:29:05 PDT
Comment on attachment 411070 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411070&action=review > Source/JavaScriptCore/Configurations/Base.xcconfig:106 > +TARGET_MACOS_LEGACY_VERSION_IDENTIFIER_10 = $(MACOSX_DEPLOYMENT_TARGET:base)$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier) I think this should use "10" instead of "$(MACOSX_DEPLOYMENT_TARGET:base)"
Luming Yin
Comment 9 2020-10-11 15:37:50 PDT
Luming Yin
Comment 10 2020-10-11 15:38:08 PDT
(In reply to Darin Adler from comment #8) > Comment on attachment 411070 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=411070&action=review > > > Source/JavaScriptCore/Configurations/Base.xcconfig:106 > > +TARGET_MACOS_LEGACY_VERSION_IDENTIFIER_10 = $(MACOSX_DEPLOYMENT_TARGET:base)$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier) > > I think this should use "10" instead of "$(MACOSX_DEPLOYMENT_TARGET:base)" Good idea. Patch updated to use "10" instead.
Keith Rollin
Comment 11 2020-10-11 15:44:57 PDT
Comment on attachment 411072 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411072&action=review > Source/JavaScriptCore/Configurations/Base.xcconfig:106 > +TARGET_MACOS_LEGACY_VERSION_IDENTIFIER_10 = TARGET_MACOS_LEGACY_VERSION_IDENTIFIER_10 = 10$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier) I've never seen "a = b = c" in an xcconfig file before. Especially when it's "a = a = c". Is this correct, or a copy/paste error?
Luming Yin
Comment 12 2020-10-11 15:45:48 PDT
(In reply to Keith Rollin from comment #11) > Comment on attachment 411072 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=411072&action=review > > > Source/JavaScriptCore/Configurations/Base.xcconfig:106 > > +TARGET_MACOS_LEGACY_VERSION_IDENTIFIER_10 = TARGET_MACOS_LEGACY_VERSION_IDENTIFIER_10 = 10$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier) > > I've never seen "a = b = c" in an xcconfig file before. Especially when it's > "a = a = c". Is this correct, or a copy/paste error? Uh-oh. Copy/paste error. Uploading another patch.
Darin Adler
Comment 13 2020-10-11 15:47:05 PDT
Comment on attachment 411072 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411072&action=review >>> Source/JavaScriptCore/Configurations/Base.xcconfig:106 >>> +TARGET_MACOS_LEGACY_VERSION_IDENTIFIER_10 = TARGET_MACOS_LEGACY_VERSION_IDENTIFIER_10 = 10$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier) >> >> I've never seen "a = b = c" in an xcconfig file before. Especially when it's "a = a = c". Is this correct, or a copy/paste error? > > Uh-oh. Copy/paste error. Uploading another patch. Good catch! It’s right in ANGLE but wrong in the others.
Luming Yin
Comment 14 2020-10-11 15:47:59 PDT
EWS
Comment 15 2020-10-11 16:34:16 PDT
Committed r268327: <https://trac.webkit.org/changeset/268327> All reviewed patches have been landed. Closing bug and clearing flags on attachment 411073 [details].
Note You need to log in before you can comment on or make changes to this bug.