ceph/patches/0003-enable-LZ4-support.patch
Alwin Antreich 11963c2338 build: pull changelog out of patches
to simplify rebasing on new upstream releases.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2019-02-06 11:02:59 +01:00

39 lines
1.3 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
Date: Wed, 15 Nov 2017 10:51:08 +0100
Subject: [PATCH] enable LZ4 support
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---
debian/control | 1 +
debian/rules | 1 +
2 files changed, 2 insertions(+)
diff --git a/debian/control b/debian/control
index 65c29ed0d5..819f4f0b4d 100644
--- a/debian/control
+++ b/debian/control
@@ -38,6 +38,7 @@ Build-Depends: bc,
libldap2-dev,
libleveldb-dev,
liblttng-ust-dev,
+ liblz4-dev,
libnss3-dev,
libsnappy-dev,
libssl-dev,
diff --git a/debian/rules b/debian/rules
index 00e9ac6b16..3ac923f71a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,7 @@ export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
extraopts += -DUSE_CRYPTOPP=OFF -DWITH_OCF=ON -DWITH_LTTNG=ON -DWITH_PYTHON3=ON
extraopts += -DWITH_CEPHFS_JAVA=ON
+extraopts += -DWITH_LZ4=ON
# assumes that ceph is exmpt from multiarch support, so we override the libdir.
extraopts += -DCMAKE_INSTALL_LIBDIR=/usr/lib
extraopts += -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib