[PATCH] D24539: [zorg] Don't exclude compiler-rt runtimes from build.py artifacts

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 21:28:10 PDT 2016


Lgtm. 


On September 13, 2016 at 6:10:10 PM, Vedant Kumar (vsk at apple.com(mailto:vsk at apple.com)) wrote:

> 
> vsk created this revision.
> vsk added a reviewer: cmatthews.
> vsk added a subscriber: llvm-commits.
> Herald added a subscriber: dberris.
> 
> build.py tars up the cmake build products to create an artifact, but it excludes all .a files. That means that the resulting compiler artifacts aren't prepped with any compiler-rt runtimes.
> 
> Be more selective about the .a files we exclude.
> 
> https://reviews.llvm.org/D24539
> 
> Files:
> zorg/jenkins/build.py
> 
> Index: zorg/jenkins/build.py
> ===================================================================
> --- zorg/jenkins/build.py
> +++ zorg/jenkins/build.py
> @@ -672,8 +672,10 @@
> prop_fd.write("LLVM_REV={}\n".format(conf.svn_rev))
> prop_fd.write("ARTIFACT={}\n".format(new_url))
> 
> - # The .a's are big and we don't need them later. Drop them.
> - tar = ["tar", "zcvf", "../" + artifact_name, '--exclude=*.a', "."]
> + # The .a's are big and we don't need them later. Drop the LLVM and clang
> + # libraries, but keep the libraries from compiler-rt.
> + tar = ["tar", "zcvf", "../" + artifact_name, "--exclude=*libLLVM*.a",
> + "--exclude=*libclang[A-Z]*.a", "."]
> 
> run_cmd(conf.installdir(), tar)
> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160913/40dd9bf9/attachment.html>


More information about the llvm-commits mailing list