[zorg] r281123 - Make artifacts smaller by skipping .a's in the install

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 9 17:29:26 PDT 2016


Author: cmatthews
Date: Fri Sep  9 19:29:26 2016
New Revision: 281123

URL: http://llvm.org/viewvc/llvm-project?rev=281123&view=rev
Log:
Make artifacts smaller by skipping .a's in the install

Modified:
    zorg/trunk/zorg/jenkins/build.py

Modified: zorg/trunk/zorg/jenkins/build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/build.py?rev=281123&r1=281122&r2=281123&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Fri Sep  9 19:29:26 2016
@@ -672,7 +672,8 @@ def build_upload_artifact():
         prop_fd.write("LLVM_REV={}\n".format(conf.svn_rev))
         prop_fd.write("ARTIFACT={}\n".format(new_url))
 
-    tar = ["tar", "zcvf", "../" + artifact_name, "."]
+    # The .a's are big and we don't need them later. Drop them.
+    tar = ["tar", "zcvf", '--exclude=*.a', "../" + artifact_name, "."]
 
     run_cmd(conf.installdir(), tar)
 




More information about the llvm-commits mailing list