Accepting request 1074303 from home:AndreasStieger:branches:server:database
- Disable usage of jemalloc for gh#jemalloc/jemalloc#1237 to avoid "TLS error: cannot allocate memory in static TLS block" OBS-URL: https://build.opensuse.org/request/show/1074303 OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=10
This commit is contained in:
parent
e222d8f28a
commit
4619bce33e
@ -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>
|
Wed Mar 22 21:56:01 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define lib_name librocksdb8
|
%define lib_name librocksdb8
|
||||||
|
%bcond_with jemalloc
|
||||||
Name: rocksdb
|
Name: rocksdb
|
||||||
Version: 8.0.0
|
Version: 8.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -35,11 +36,13 @@ BuildRequires: pkgconfig
|
|||||||
BuildRequires: cmake(Snappy)
|
BuildRequires: cmake(Snappy)
|
||||||
BuildRequires: cmake(gflags)
|
BuildRequires: cmake(gflags)
|
||||||
BuildRequires: pkgconfig(bzip2)
|
BuildRequires: pkgconfig(bzip2)
|
||||||
BuildRequires: pkgconfig(jemalloc)
|
|
||||||
BuildRequires: pkgconfig(liblz4)
|
BuildRequires: pkgconfig(liblz4)
|
||||||
BuildRequires: pkgconfig(liburing)
|
BuildRequires: pkgconfig(liburing)
|
||||||
BuildRequires: pkgconfig(libzstd)
|
BuildRequires: pkgconfig(libzstd)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
%if %{with jemalloc}
|
||||||
|
BuildRequires: pkgconfig(jemalloc)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
RocksDB is a high performance embedded database for key-value data.
|
RocksDB is a high performance embedded database for key-value data.
|
||||||
@ -96,7 +99,9 @@ the RocksDB library.
|
|||||||
%cmake \
|
%cmake \
|
||||||
-DPORTABLE=ON \
|
-DPORTABLE=ON \
|
||||||
-DFAIL_ON_WARNINGS=OFF \
|
-DFAIL_ON_WARNINGS=OFF \
|
||||||
-DWITH_JEMALLOC=ON \
|
%if !%{with jemalloc}
|
||||||
|
-DWITH_JEMALLOC=0 \
|
||||||
|
%endif
|
||||||
-DWITH_SNAPPY=ON \
|
-DWITH_SNAPPY=ON \
|
||||||
-DWITH_LZ4=ON \
|
-DWITH_LZ4=ON \
|
||||||
-DWITH_ZLIB=ON \
|
-DWITH_ZLIB=ON \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user