Remove -I$TOOLTOOL_DIR/clang/lib/clang/8.0.0/include from the Stylo BINDGEN_CFLAGS
Categories
(Firefox Build System :: General: Unsupported Platforms, enhancement, P5)
Tracking
(firefox-esr60 fixed, firefox66 fixed)
People
(Reporter: tjr, Assigned: tjr)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
2.20 KB,
patch
|
jacek
:
review+
away
:
review+
|
Details | Diff | Splinter Review |
2.22 KB,
patch
|
jcristau
:
approval-mozilla-esr60+
|
Details | Diff | Splinter Review |
Georg notices that on esr60 our -I$TOOLTOOL_DIR/clang/lib/clang/8.0.0/include in the mozconfig is actually 7 despite using clang 8 - and the compile works fine. I tested and confirm that removing this flag entirely still has a successful build, so it seems like we can drop it entirely?
Besides just general 'less is better'; this also removes a hardcoded version that we were going to have to update manually on clang revs so that is very positive.
Try Run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=76e01361734aa27e020d6214a16f2d8e8355cc42
Comment 1•5 years ago
|
||
Since it works, it looks good. I recall this being needed for proper include order, I wonder what changed... Maybe updated clang doesn't need those flags at all. I pushed a try:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=02c122db7cbebcafe5089843a87723f3b452a525
Comment 2•5 years ago
|
||
Comment on attachment 9035372 [details] [diff] [review]
Remove -I$TOOLTOOL_DIR/clang/lib/clang/8.0.0/include from the Stylo BINDGEN_CFLAGS
My try failed, looks like other flags are still needed. The patch looks fine then.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Pushed by nerli@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c5b64daf4ddd
Remove -I$TOOLTOOL_DIR/clang/lib/clang/8.0.0/include from the Stylo BINDGEN_CFLAGS r=dmajory
Comment 4•5 years ago
|
||
bugherder |
Assignee | ||
Comment 5•5 years ago
|
||
Comment on attachment 9035372 [details] [diff] [review] Remove -I$TOOLTOOL_DIR/clang/lib/clang/8.0.0/include from the Stylo BINDGEN_CFLAGS [ESR Uplift Approval Request] If this is not a sec:{high,crit} bug, please state case for ESR consideration: This is a build cleanup for for mingw-clang to keep esr60 and central in sync User impact if declined: Our trees will be different and can lead to confusion for Tor and Mozilla Fix Landed on Version: 66.0a1 / 20190112094119 Risk to taking this patch: Low Why is the change risky/not risky? (and alternatives if risky): Only affects mingw-clang. If it breaks anything the build will break. String or UUID changes made by this patch:
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
FWIW, if the patch grafts cleanly, it's much simpler all around to just request uplift on the initial patch rather than make a separate attachment.
Assignee | ||
Comment 8•5 years ago
|
||
(In reply to Julien Cristau [:jcristau] from comment #7)
FWIW, if the patch grafts cleanly, it's much simpler all around to just request uplift on the initial patch rather than make a separate attachment.
I do try to; but this one doesn't. =) (esr60 has 7.0.0 in the line; while central has 8.0.0)
Comment 9•5 years ago
|
||
Comment on attachment 9037354 [details] [diff] [review] Bug 1518856 - Remove -I$TOOLTOOL_DIR/clang/lib/clang/8.0.0/include from the Stylo BINDGEN_CFLAGS r=dmajor (esr60) Fair enough :) I'll do s/7/8/ in the commit message as well. Approved for 60.5esr.
Comment 10•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Description
•