This is an archive of the discontinued LLVM Phabricator instance.

[zorg] Enable GCS uploads on clang-cmake-mipsel and add an LNT runner that uses them.
AbandonedPublic

Authored by dsanders on Dec 8 2015, 8:08 AM.

Details

Reviewers
None
Summary

At the moment, we have a choice between systems with sufficient memory to build
LLVM and those that have the FPU needed to run the test-suite in a reasonable
amount of time. This patch uses the GCS bucket to transfer the just-built clang
to a machine more suited to running the test-suite.

Diff Detail

Event Timeline

dsanders updated this revision to Diff 42181.Dec 8 2015, 8:08 AM
dsanders retitled this revision from to [zorg] Enable GCS uploads on clang-cmake-mipsel and add an LNT runner that uses them..
dsanders updated this object.
dsanders updated this revision to Diff 44750.Jan 13 2016, 6:37 AM

Refresh patch and ping

You could just use curl/urllib/requests to download the file into the build. No need to have gsutil as a dependency where it is not needed. In fact, the code to do this is already in zorg in the llvmlab tool.

I mainly used gsutil for symmetry but it was also more convenient since it allowed me to re-use the gsutil:// URL by sending it to the triggered builder in a property. I don't mind changing it to use construct an HTTP GET request (or adding a dependency on llvmlab and having that do it) if that's what we prefer. The change will require additional SetProperty steps and an extra forwarded property to forward the information needed to build the request but that's not difficult.

Would you like me to switch this over?

Which ever you think is best. I used an HTTP get for my jobs to avoid the dependency, but either way is fine. I was able to use requests, so it was super simple to do it. I think for a few jobs, it won’t matter either way.

Ok, I think I'd prefer to stick to gsutil for now and change it later if others start to use this code but don't like the dependency.

Is it ok to commit it?

It LGTM. Galina should approve though.

dsanders updated this revision to Diff 64696.Jul 20 2016, 8:25 AM

It seems that this patch fell through the cracks so: Refresh and ping.

Looking back at the comments, I had a LGTM from @cmatthews that was conditonal
on @gkistanova also approving it.

dsanders abandoned this revision.Jul 18 2019, 7:08 PM