-
Notifications
You must be signed in to change notification settings - Fork 88
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
(PA-4774) Enable macOS 13 for agent-runtime main #680
Conversation
|
b6ca5a1
to
d8a59d5
Compare
d8a59d5
to
5331711
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @shubhamshinde360 this command is helpful to see which platforms will be affected by these changes. Unfortunately, many of the code paths are shared when compiling other platforms, so care must be taken to only modify the behavior for macOS 13 ARM:
$ bundle exec rake vanagon:component_diff -- -P agent-runtime-main -p all --from HEAD^ --to HEAD | grep 'Platform name'
Platform name: debian-10-armhf
Platform name: debian-10-amd64
Platform name: sles-12-ppc64le
Platform name: windowsfips-2012r2-x64
Platform name: windows-2012r2-x64
Platform name: sles-12-x86_64
Platform name: sles-11-i386
Platform name: debian-11-amd64
Platform name: el-6-x86_64
Platform name: el-8-ppc64le
Platform name: el-7-ppc64le
Platform name: el-6-i386
Platform name: redhatfips-8-x86_64
Platform name: el-8-x86_64
Platform name: el-7-ppc64
Platform name: el-7-x86_64
Platform name: sles-15-x86_64
Platform name: sles-11-x86_64
Platform name: ubuntu-18.04-aarch64
Platform name: windows-2012r2-x86
Platform name: ubuntu-20.04-aarch64
Platform name: redhatfips-7-x86_64
Platform name: osx-11-arm64
Platform name: osx-11-x86_64
Platform name: ubuntu-22.04-aarch64
Platform name: debian-11-armhf
Platform name: el-8-aarch64
Platform name: osx-12-x86_64
Platform name: windows-2019-x64
Platform name: el-9-x86_64
Platform name: aix-7.2-ppc
Platform name: fedora-36-x86_64
Platform name: ubuntu-20.04-amd64
Platform name: ubuntu-18.04-amd64
Platform name: ubuntu-22.04-amd64
Platform name: osx-12-arm64
We cross-compile for some non-mac platforms, so it's only safe to change platform.is_cross_compiled?
if you're inside a platform.is_macos?
condition.
Looks like this branch puppet-runtime#92a2c10b3 failed on macOS 11 x86_64
But the same platform passes in puppet-runtime#master:
I'm guessing it's due to |
92a2c10
to
27a69d3
Compare
Hi @joshcooper, It seems LDFLAGS and CC are not supposed to be set for x86_64. Due to the changes, the Also, the vanagon diff command returns all these platforms puppet-runtime git:(PA-4774) ✗ bundle exec rake vanagon:component_diff -- -P agent-runtime-main -p all --from HEAD^ --to HEAD | grep 'Platform name' For which I have ran the generic builder pipeline, which has succeeded for all these platform (except macos 13 x86_64, since that is yet to incorporated in puppet-runtime). The artifacts links for the run: https://builds.delivery.puppetlabs.net/puppet-runtime/27a69d3d112fb1a6c673212b0fb1233b22f5acc9/artifacts/?C=M&O=D |
27a69d3
to
e6af705
Compare
e6af705
to
0a0f61b
Compare
Hi @joshcooper, I have made the required changes as we discussed in the office hours call today. The vanagon diff command returns differences related to the homebrew path changes only. I have ran the generic pipeline as well on the impacted platforms and all platforms have succeeded. Jenkins pipeline link to all platforms: https://jenkins-platform.delivery.puppetlabs.net/job/platform_vanagon-generic-builder_vanagon-packaging_generic-builder/ Artifacts build link: https://builds.delivery.puppetlabs.net/puppet-runtime/0a0f61bc6ca6681571eb706b4246bf12c259f99f/artifacts/?C=M&O=D Thanks! |
No description provided.