Skip to content
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

Exclude excessive build warnings on mac for jdk11 and jdk17 #3574

Merged

Conversation

adamfarley
Copy link
Contributor

Also included some aggregate logic to avoid cflags overriding other cflags unintentionally

Fixes #3562

JDK11 (includes fix) test run: https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-mac-aarch64-temurin/299/

JDK21 (excludes fix) test run: https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk21u/job/jdk21u-mac-aarch64-temurin/69/

Also included some aggregate logic to avoid cflags overriding other
cflags unintentionally

Signed-off-by: Adam Farley <[email protected]>
@github-actions github-actions bot added macos Issues that affect or relate to the MAC OS aarch Issues that affect or relate to the aarch ARCHITECTURE testing Issues that enhance or fix our test suites labels Dec 12, 2023
Copy link
Member

@sxa sxa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Presumably the separation of c_flags_bucket and cxx_flags_bucket instead of just using one variable for this is due to the fact we're only adding the macosx-version-min parameter for C++? (Which is a bit surprising - I'd have thought we needed it on both, but that's not related to this PR!)
Other than the version check this LGTM.

@adamfarley adamfarley merged commit 5bc9f1a into adoptium:master Dec 13, 2023
7 of 24 checks passed
@karianna karianna mentioned this pull request Jan 8, 2024
@adamfarley adamfarley deleted the exclude_excessive_mac_warnings branch July 10, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aarch Issues that affect or relate to the aarch ARCHITECTURE macos Issues that affect or relate to the MAC OS testing Issues that enhance or fix our test suites
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MacOS: Harfbuzz throws 70+ megabytes of deprecation warnings during build
3 participants