-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Temporarily patch architecture confusion when cross-compiling on mac #3619
Temporarily patch architecture confusion when cross-compiling on mac #3619
Conversation
Currently, when we build an x64 mac build on an arm64 machine, we put arm64 all over the place by mistake. This change is to partially compensate for that mistake until such time as we can impliment a comprehensive seperation of build architecture and target architecture in our build scripts. Signed-off-by: Adam Farley <adfarley@redhat.com>
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.
A block has been put on this Pull Request as this repository is temporarily under a code freeze due to an ongoing release cycle.
If this pull request needs to be merged during the release cycle then please comment /merge
and a PMC member will be able to remove the block.
If the code freeze is over you can remove this block by commenting /thaw
.
Fixes #3602 |
Signed-off-by: Adam Farley <adfarley@redhat.com>
Signed-off-by: Adam Farley <adfarley@redhat.com>
Signed-off-by: Adam Farley <adfarley@redhat.com>
Ok, the static libs fix worked, but the SBOM fix did not. I've amended the code. Rebuilding: https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk21u/job/jdk21u-mac-x64-temurin/93/ Edit: Still doesn't work, and I suspect the absence of an uppercase A in "arm64" means this value is not being set in build.sh, despite the caret after the variable name (${variable^}). Rerunning with debug info: https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk21u/job/jdk21u-mac-x64-temurin/96/console |
Signed-off-by: Adam Farley <adfarley@redhat.com>
Signed-off-by: Adam Farley <adfarley@redhat.com>
Signed-off-by: Adam Farley <adfarley@redhat.com>
Signed-off-by: Adam Farley <adfarley@redhat.com>
Works now. Ready to merge. |
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.
Approving now that I've committed my suggestions as asked :-)
/thaw |
Pull Request unblocked - code freeze is over.
Currently, when we build an x64 mac build on an arm64 machine, we put arm64 all over the place by mistake.
This change is to partially compensate for that mistake until such time as we can implement a comprehensive separation of build architecture and target architecture in our build scripts.