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)

enhancement
Not set
normal

Tracking

(firefox58 fixed)

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

No description provided.
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+
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
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.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Blocks: 1409265
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: