Closed
Bug 1408277
Opened 8 years ago
Closed 8 years ago
Add a toolchain job for clang 5.0
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox58 fixed)
RESOLVED
FIXED
mozilla58
| Tracking | Status | |
|---|---|---|
| firefox58 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
No description provided.
| Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8918135 [details]
Bug 1408277 - Add a toolchain job for clang 5.0.
https://reviewboard.mozilla.org/r/188998/#review194484
::: taskcluster/ci/toolchain/linux.yml:15
(Diff revision 1)
> symbol: TL(clang3.9)
> tier: 1
> worker-type: aws-provisioner-v1/gecko-{level}-b-linux
> worker:
> docker-image: {in-tree: desktop-build}
> - max-run-time: 36000
> + max-run-time: 7200
Hm, ten hours probably *was* a little excessive, wasn't it....
::: taskcluster/scripts/misc/build-clang-5-linux.sh:19
(Diff revision 1)
> +# gets a bit too verbose here
> +set +x
> +
> +cd build/build-clang
> +# |mach python| sets up a virtualenv for us!
> +../../mach python ./build-clang.py -c clang-5-linux64.json
It would be nice if we stopped having to write all these scripts for clang and were able to specify the JSON config somewhere in the toolchain task. Is that even feasible?
Attachment #8918135 -
Flags: review?(nfroyd) → review+
Comment 3•8 years ago
|
||
The toolchain task schema has an `arguments` field:
https://dxr.mozilla.org/mozilla-central/rev/196dadb2fe500e75c6fbddcac78106648676cf10/taskcluster/taskgraph/transforms/job/toolchain.py#40
Seems like we could just have a `build-clang-linux.sh` and pass the JSON file in as an argument.
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/a01135b451a4
Add a toolchain job for clang 5.0. r=froydnj
| Assignee | ||
Comment 5•8 years ago
|
||
| mozreview-review-reply | ||
Comment on attachment 8918135 [details]
Bug 1408277 - Add a toolchain job for clang 5.0.
https://reviewboard.mozilla.org/r/188998/#review194484
> It would be nice if we stopped having to write all these scripts for clang and were able to specify the JSON config somewhere in the toolchain task. Is that even feasible?
I think we need to change how the toolchains are declared, making them less repetitive in the yaml. Surely, we can improve the situation for scripts as well.
Relatedly, yesterday, there was an outage of the svn repo on llvm.org, which made me think we maybe really should have an additional "layer" of source downloading jobs.
Comment 6•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•