Closed Bug 1671569 Opened 5 years ago Closed 5 years ago

Allow clang version tests on macOS with Xcode

Categories

(Firefox Build System :: General, task)

task

Tracking

(firefox84 fixed)

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

How exactly does this block bug 1671376? Are you planning to conditionally disable -Wmissing-braces for those versions of Clang > 6.0?

yes.

We used to have a complicated scheme to figure out the minimum supported
version of clang on OSX, based on some compiler feature, which wouldn't
allow to do other version checks further down the line.

The main blocker for better tests was to be able to distinguish between
Xcode clang and plain clang, which turns out to be possible with the
apple_build_version define.

We still need to map versions manually, but it's better than the current
status quo.

Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/4d45d366667c Normalize Xcode clang version to the underlying plain clang version. r=firefox-build-system-reviewers,rstewart
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
Blocks: 1677651
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: