-
Notifications
You must be signed in to change notification settings - Fork 84
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
[CI] Use Xcode 13.4 #2100
Comments
Ack @jpsim |
https://github.com/actions/virtual-environments/blob/main/images/macos/macos-12-Readme.md This is a pre-requisite for updating to the latest Xcode version (#2100) Signed-off-by: JP Simard <jp@jpsim.com>
https://github.com/actions/virtual-environments/blob/main/images/macos/macos-12-Readme.md This is a pre-requisite for updating to the latest Xcode version (#2100) Signed-off-by: JP Simard <jp@jpsim.com>
Hi @jpsim, sorry for the delay, yeah we've done some changes to make this faster but still not fully automated. I'll create an internal issue to move forward with this. |
If you're just starting on this now, I suggest we look at having Xcode 13.3.1 (13E500a) which is now the latest stable release. |
Working on it now, ETA later this week |
Unfortunately, this will take longer than expected: Xcode 13.3.1 requires macOS 12, but we're still running macOS 11 on the worker instances 😞 |
I understand. I don't know what your mac infra automation looks like, but you may want to look at tart which allows virtualizing macOS based on image snapshots pulled from an OCI-compatible container registry, similar to how Docker works. |
I updated the ticket to reflect that we should just jump straight to 13.4 (13F17a), which is now the latest stable release, and similarly also requires macOS 12. |
Thanks for the tips @jpsim, we have an internal issue to upgrade to MacOS 12 and will keep you posted. |
Thanks for the update. Looking forward to it and I hope you find a good solution to make the process smoother moving forward. I'm happy to workshop some ideas with you. |
This upgrades `rules_foreign_cc` to a version including bazel-contrib/rules_foreign_cc#938, which fixes a build failure when the requested Apple SDK from `--xcode_version` does not match the system's default Xcode's SDKs. Example output: ``` rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreign_cc: Printing build logs: _____ BEGIN BUILD LOGS _____ xcrun: error: SDK "macosx12.1" cannot be located xcrun: error: SDK "macosx12.1" cannot be located xcrun: error: unable to lookup item 'Path' in SDK 'macosx12.1' + XCODE_VERSION_OVERRIDE=13.2.1.13C100 + APPLE_SDK_VERSION_OVERRIDE=12.1 + APPLE_SDK_PLATFORM=MacOSX ``` This fixes a hermeticity problem in the build and is a prerequisite for upgradting the macOS RE cluster to macOS 12, which in turn is a requirement for upgrading to Xcode 13.4. Progress on envoyproxy#2100
This upgrades `rules_foreign_cc` to a version including bazel-contrib/rules_foreign_cc#938, which fixes a build failure when the requested Apple SDK from `--xcode_version` does not match the system's default Xcode's SDKs. Example output: ``` rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreign_cc: Printing build logs: _____ BEGIN BUILD LOGS _____ xcrun: error: SDK "macosx12.1" cannot be located xcrun: error: SDK "macosx12.1" cannot be located xcrun: error: unable to lookup item 'Path' in SDK 'macosx12.1' + XCODE_VERSION_OVERRIDE=13.2.1.13C100 + APPLE_SDK_VERSION_OVERRIDE=12.1 + APPLE_SDK_PLATFORM=MacOSX ``` This fixes a hermeticity problem in the build and is a prerequisite for upgradting the macOS RE cluster to macOS 12, which in turn is a requirement for upgrading to Xcode 13.4. Progress on envoyproxy#2100 Signed-off-by: Yannic Bonenberger <yannic@engflow.com>
This upgrades `rules_foreign_cc` to a version including bazel-contrib/rules_foreign_cc#938, which fixes a build failure when the requested Apple SDK from `--xcode_version` does not match the system's default Xcode's SDKs. Example output: ``` rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreign_cc: Printing build logs: _____ BEGIN BUILD LOGS _____ xcrun: error: SDK "macosx12.1" cannot be located xcrun: error: SDK "macosx12.1" cannot be located xcrun: error: unable to lookup item 'Path' in SDK 'macosx12.1' + XCODE_VERSION_OVERRIDE=13.2.1.13C100 + APPLE_SDK_VERSION_OVERRIDE=12.1 + APPLE_SDK_PLATFORM=MacOSX ``` This fixes a hermeticity problem in the build and is a prerequisite for upgradting the macOS RE cluster to macOS 12, which in turn is a requirement for upgrading to Xcode 13.4. Progress on #2100 Signed-off-by: Yannic Bonenberger <yannic@engflow.com>
Updates the version of Xcode Envoy Mobile is compatible with to the latest stable version. Risk Level: Low. Testing: Local & CI. Docs Changes: Done. Release Notes: Done. Fixes #2100 Signed-off-by: JP Simard <jp@jpsim.com>
This upgrades `rules_foreign_cc` to a version including bazel-contrib/rules_foreign_cc#938, which fixes a build failure when the requested Apple SDK from `--xcode_version` does not match the system's default Xcode's SDKs. Example output: ``` rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreign_cc: Printing build logs: _____ BEGIN BUILD LOGS _____ xcrun: error: SDK "macosx12.1" cannot be located xcrun: error: SDK "macosx12.1" cannot be located xcrun: error: unable to lookup item 'Path' in SDK 'macosx12.1' + XCODE_VERSION_OVERRIDE=13.2.1.13C100 + APPLE_SDK_VERSION_OVERRIDE=12.1 + APPLE_SDK_PLATFORM=MacOSX ``` This fixes a hermeticity problem in the build and is a prerequisite for upgradting the macOS RE cluster to macOS 12, which in turn is a requirement for upgrading to Xcode 13.4. Progress on envoyproxy/envoy-mobile#2100 Signed-off-by: Yannic Bonenberger <yannic@engflow.com> Signed-off-by: JP Simard <jp@jpsim.com>
This is now the latest stable Xcode release and has some important fixes to Swift Concurrency back-deployment that could be beneficial to us.
Will require EngFlow to update their executors just as was done for #1997
cc @lfpino @Yannic
The text was updated successfully, but these errors were encountered: