Accepting request 1074304 from server:database

OBS-URL: https://build.opensuse.org/request/show/1074304
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2023-03-25 17:56:01 +00:00 committed by Git OBS Bridge
commit 38aa46a0b0
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Mar 25 07:37:14 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- Disable usage of jemalloc for gh#jemalloc/jemalloc#1237 to avoid
"TLS error: cannot allocate memory in static TLS block"
-------------------------------------------------------------------
Wed Mar 22 21:56:01 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -18,6 +18,7 @@
%define lib_name librocksdb8
%bcond_with jemalloc
Name: rocksdb
Version: 8.0.0
Release: 0
@ -35,11 +36,13 @@ BuildRequires: pkgconfig
BuildRequires: cmake(Snappy)
BuildRequires: cmake(gflags)
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(jemalloc)
BuildRequires: pkgconfig(liblz4)
BuildRequires: pkgconfig(liburing)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(zlib)
%if %{with jemalloc}
BuildRequires: pkgconfig(jemalloc)
%endif
%description
RocksDB is a high performance embedded database for key-value data.
@ -96,7 +99,9 @@ the RocksDB library.
%cmake \
-DPORTABLE=ON \
-DFAIL_ON_WARNINGS=OFF \
-DWITH_JEMALLOC=ON \
%if !%{with jemalloc}
-DWITH_JEMALLOC=0 \
%endif
-DWITH_SNAPPY=ON \
-DWITH_LZ4=ON \
-DWITH_ZLIB=ON \