From: Zack Cerza Date: Thu, 6 Mar 2025 19:36:42 +0000 (-0700) Subject: debian/rules: Optionally enable sccache X-Git-Tag: testing/wip-vshankar-testing-20250411.090237-debug~7^2~3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4cfdbcfee085f4013cb9f70153634940d8eeb067;p=ceph-ci.git debian/rules: Optionally enable sccache Signed-off-by: Zack Cerza --- diff --git a/debian/rules b/debian/rules index 4285d4e64ed..b935efaa8cd 100755 --- a/debian/rules +++ b/debian/rules @@ -48,6 +48,9 @@ ifneq (,$(filter with_system_libs,$(DEB_BUILD_OPTIONS))) extraopts += -DWITH_SYSTEM_BOOST=ON extraopts += -DWITH_SYSTEM_PMDK=ON endif +ifeq ($(SCCACHE), true) +extraopts += -DWITH_SCCACHE=ON +endif ifeq ($(DWZ), false) override_dh_dwz: