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

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 18:10:10 PDT 2016


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 --------------
A non-text attachment was scrubbed...
Name: D24539.71283.patch
Type: text/x-patch
Size: 728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160914/62e332d2/attachment.bin>


More information about the llvm-commits mailing list