Unify how target/host linker/flags are passed to rust
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox68 fixed)
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Windows builds use one method, unix builds another. They could use some unification.
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 2•7 years ago
|
||
While the substitution pattern is kind of awful in make, it will allow
to more straightforwardly deal with the difference between target and
host.
| Assignee | ||
Comment 3•7 years ago
|
||
The current setup uses different ways for different platforms, with
different workarounds, even using extra configuration items for Windows.
Now that there can't be a difference between the host per the build
system and the host per rust, we can get rid of those configuration
items, and use a more common infrastructure.
We cannot, however, avoid using wrapper scripts, because per-target rust
link-arg flags don't work up great.
The downside is that multiplies the number of wrappers, as we now have
to have a different one for host and target, and then we have .bat files
and shell scripts for, respectively, Windows hosts, and other hosts.
Depends on D24321
Comment 5•7 years ago
|
||
Backed out 2 changesets (Bug 1524396) for mass build bustages CLOSED TREE
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=235353145&repo=autoland&lineNumber=3941
Backout: https://hg.mozilla.org/integration/autoland/rev/47243d6be5af20b64bf9045d218618ab90e56548
| Assignee | ||
Comment 6•7 years ago
|
||
Hit by https://github.com/mystor/phlay/issues/46 again :(
I'll have to wait for the backout to be merged around and will land manually on inbound...
| Assignee | ||
Comment 7•7 years ago
|
||
I fixed phlay instead.
Comment 9•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/fca0ca0f03fe
https://hg.mozilla.org/mozilla-central/rev/fc6f661f4113
Comment 10•7 years ago
|
||
Noticed some big reductions on build times, on some Windows platforms! \0/
== Change summary for alert #20070 (as of Fri, 22 Mar 2019 14:09:22 GMT) ==
Improvements:
33% build times windows2012-64 debug rusttests taskcluster-c4.4xlarge 850.91 -> 568.88
33% build times windows2012-64 debug rusttests taskcluster-c5.4xlarge 654.28 -> 438.88
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=20070
Description
•