mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
ceph.spec.in: Add an option to disable dwz
We disabled dwz in 2017, then re-enabled it in 2021. In my tests I observe dwz adding about 50% to build times in exchange for 33% space-saving. Signed-off-by: Zack Cerza <zack@redhat.com>
This commit is contained in:
parent
13f4266694
commit
88deedee94
@ -137,6 +137,12 @@
|
||||
%endif
|
||||
%bcond_without cephadm_bundling
|
||||
%bcond_without cephadm_pip_deps
|
||||
%bcond_without dwz
|
||||
%if %{with dwz}
|
||||
%else
|
||||
# disable dwz for 50% speedup at the cost of ~33% space
|
||||
%global _find_debuginfo_dwz_opts %{nil}
|
||||
%endif
|
||||
|
||||
%{!?_udevrulesdir: %global _udevrulesdir /lib/udev/rules.d}
|
||||
%{!?tmpfiles_create: %global tmpfiles_create systemd-tmpfiles --create}
|
||||
|
Loading…
Reference in New Issue
Block a user