From: Zack Cerza Date: Tue, 29 Oct 2024 16:39:04 +0000 (-0600) Subject: ceph-dev-new-setup: Use sccache if requested X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6b087ba71ca74a1b594820d2527347477f38cfc8;p=ceph-build.git ceph-dev-new-setup: Use sccache if requested Signed-off-by: Zack Cerza --- diff --git a/ceph-dev-new-setup/build/build b/ceph-dev-new-setup/build/build index f41be302..e42bbdbf 100644 --- a/ceph-dev-new-setup/build/build +++ b/ceph-dev-new-setup/build/build @@ -184,4 +184,8 @@ mv release/version dist/. if [ "$DWZ" = false ] ; then CEPH_EXTRA_RPMBUILD_ARGS="${CEPH_EXTRA_RPMBUILD_ARGS} --without dwz" fi + +if [ "$SCCACHE" = true ] ; then + CEPH_EXTRA_RPMBUILD_ARGS="${CEPH_EXTRA_RPMBUILD_ARGS} --with sccache" +fi write_dist_files