mirror of
https://github.com/ceph/ceph
synced 2025-03-20 17:27:01 +00:00
debian, rpm: build rocksdb statically if we can
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
a497a3b42e
commit
213e0acf7e
@ -309,6 +309,7 @@ export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/i386/i486/'`
|
||||
--with-rest-bench \
|
||||
--with-debug \
|
||||
--enable-cephfs-java \
|
||||
--with-librocksdb-static=check \
|
||||
$MY_CONF_OPT \
|
||||
%{?_with_ocf} \
|
||||
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
|
||||
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -24,6 +24,9 @@ extraopts += --with-ocf --with-rest-bench --with-nss
|
||||
extraopts += --with-debug
|
||||
extraopts += --enable-cephfs-java
|
||||
|
||||
# rocksdb is not packaged by anyone. build it if we can.
|
||||
extraopts += --with-librocksdb-static=check
|
||||
|
||||
ifeq ($(DEB_HOST_ARCH), armel)
|
||||
# armel supports ARMv4t or above instructions sets.
|
||||
# libatomic-ops is only usable with Ceph for ARMv6 or above.
|
||||
|
Loading…
Reference in New Issue
Block a user