]> git.apps.os.sepia.ceph.com Git - autobuild-ceph.git/commitdiff
fabfile: %_find_debuginfo_dwz_opts %{nil} 64/head
authorSage Weil <sage@redhat.com>
Fri, 4 Sep 2015 18:16:01 +0000 (14:16 -0400)
committerSage Weil <sage@redhat.com>
Fri, 4 Sep 2015 18:16:01 +0000 (14:16 -0400)
This skips the dwz compression step.  The debuginfo package is bigger
(from 700M to 1.1G in my test) but it saves about 18 minutes from the
build time.

Signed-off-by: Sage Weil <sage@redhat.com>
fabfile.py

index 1f3613db3c343c523d04b69a732a5f23da4bfc2a..84b0faabc901dd0b8b4ce3ac32092f4ae1fe3236 100644 (file)
@@ -181,7 +181,8 @@ def _rh_gitbuilder(flavor, git_repo, extra_remotes={}, extra_packages=[], ignore
             )
         sudo('mkdir -p /home/autobuild-ceph && chown autobuild-ceph /home/autobuild-ceph')
         with cd('/home/autobuild-ceph'):
-            sudo('lsb_release -d -s | grep CentOS | grep -q release\ 7 && echo "%dist .el7" > .rpmmacros')
+            sudo('echo "%_find_debuginfo_dwz_opts %{nil}" > .rpmmacros')
+            sudo('lsb_release -d -s | grep CentOS | grep -q release\ 7 && echo "%dist .el7" >> .rpmmacros')
 
     sudo('install -d -m0755 --owner=root --group=root /srv/autobuild-ceph')
     local('git bundle create bundle refs/heads/{branch_to_bundle}'.format(branch_to_bundle=branch_to_bundle))