Merge pull request #60578 from zmc/rpm-sccache-toggle

This commit is contained in:
Zack Cerza 2024-11-08 11:02:19 -07:00 committed by GitHub
commit 94505eb09e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -143,6 +143,7 @@
# disable dwz for 50% speedup at the cost of ~33% space
%global _find_debuginfo_dwz_opts %{nil}
%endif
%bcond_with sccache
%{!?_udevrulesdir: %global _udevrulesdir /lib/udev/rules.d}
%{!?tmpfiles_create: %global tmpfiles_create systemd-tmpfiles --create}
@ -1523,6 +1524,9 @@ cmake .. \
-DWITH_JAEGER:BOOL=OFF \
%endif
-DWITH_GRAFANA:BOOL=ON \
%if %{with sccache}
-DWITH_SCCACHE=ON \
%endif
%if 0%{with cephadm_bundling}
%if 0%{with cephadm_pip_deps}
-DCEPHADM_BUNDLED_DEPENDENCIES=pip