mirror of
https://git.proxmox.com/git/ceph.git
synced 2025-04-28 16:34:15 +00:00
patch: debian/rules: fix build type
source: https://github.com/ceph/ceph/pull/54891 build packages with 'RelWithDebInfo' to avoid to build rocksdb in debug This is already the default in ubuntu packages https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1894453
This commit is contained in:
parent
bd13ed795e
commit
1120ba7c3d
22
patches/0012-debian-rules-fix-buildtype.patch
Normal file
22
patches/0012-debian-rules-fix-buildtype.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
From 1f4b106d49fc916994d97e273599f75caa904c3b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mark Nelson <mark.nelson@clyso.com>
|
||||||
|
Date: Thu, 14 Dec 2023 05:19:46 +0000
|
||||||
|
Subject: [PATCH] debian/rules: Fix build_type for massive performance gain
|
||||||
|
|
||||||
|
Signed-off-by: Mark Nelson <mark.nelson@clyso.com>
|
||||||
|
---
|
||||||
|
debian/rules | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/debian/rules b/debian/rules
|
||||||
|
index ed7f4a255ed4b..b28abb7d62788 100755
|
||||||
|
--- a/debian/rules
|
||||||
|
+++ b/debian/rules
|
||||||
|
@@ -29,6 +29,7 @@ extraopts += -DWITH_PYTHON3=3
|
||||||
|
extraopts += -DWITH_CEPHFS_JAVA=ON
|
||||||
|
extraopts += -DWITH_CEPHFS_SHELL=ON
|
||||||
|
extraopts += -DWITH_SYSTEMD=ON -DCEPH_SYSTEMD_ENV_DIR=/etc/default
|
||||||
|
+extraopts += -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||||
|
extraopts += -DWITH_GRAFANA=ON
|
||||||
|
ifeq ($(DEB_HOST_ARCH), amd64)
|
||||||
|
extraopts += -DWITH_RBD_RWL=ON
|
@ -9,3 +9,4 @@
|
|||||||
0009-fix-4759-run-ceph-crash-daemon-with-www-data-group-f.patch
|
0009-fix-4759-run-ceph-crash-daemon-with-www-data-group-f.patch
|
||||||
0010-debian-add-missing-bcrypt-to-manager-.requires.patch
|
0010-debian-add-missing-bcrypt-to-manager-.requires.patch
|
||||||
0011-fix-compatibility-with-CPUs-not-supporting-SSE-4.1-i.patch
|
0011-fix-compatibility-with-CPUs-not-supporting-SSE-4.1-i.patch
|
||||||
|
0012-debian-rules-fix-buildtype.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user