From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocksdb/
Date: Sun, 11 May 2025 04:41:32 +0000 (UTC) [thread overview]
Message-ID: <1746938489.60c5bf16d24a68a918c20a4533a67858113a7972.patrick@gentoo> (raw)
commit: 60c5bf16d24a68a918c20a4533a67858113a7972
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun May 11 04:41:07 2025 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun May 11 04:41:29 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60c5bf16
dev-libs/rocksdb: add 10.2.1
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
dev-libs/rocksdb/Manifest | 1 +
dev-libs/rocksdb/rocksdb-10.2.1.ebuild | 93 ++++++++++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/dev-libs/rocksdb/Manifest b/dev-libs/rocksdb/Manifest
index c098f9b9cd31..695ed138a835 100644
--- a/dev-libs/rocksdb/Manifest
+++ b/dev-libs/rocksdb/Manifest
@@ -1,5 +1,6 @@
DIST rocksdb-10.0.1.tar.gz 13742853 BLAKE2B 156e21b48e3a0c794af6bf60052f3aa8f1604c4ded2b5b33fbe1fea0ab6c95bafb5e036fdf99f4e8464cb276689c740fc8dbc3fda4c06f5566195f1b14b2e7dc SHA512 4fcd509eb6b937277df7d09ab23039b445105352c4b153efd94b78f8bb2d5631699b0b551066a02f9e8f35e929550aaf78365fc9ac347882c59e85e97a9dc9d2
DIST rocksdb-10.1.3.tar.gz 13766405 BLAKE2B 3094d70dfcd222111732a089050ed32df24b6d4430b09eccef066c3036180b5b472b258b6e9c0e4de85013be23fb30c21e3463b41bf532bcb8360592cd2b4c15 SHA512 3b8da81a637f042e217b24e0da758f8ab45d2d06ad05fedd5568db8c8f1904a4d06580da75b2c95d0197234ca35516b9c2b1d04b295b83fc9d1a73b7e54f4de5
+DIST rocksdb-10.2.1.tar.gz 13775021 BLAKE2B 7bc28916870ebd1c5048361fafd9cad27bfbb4e37cbbdca5fd401dbe05459092d37986b1e0b98163ca3042c7aee79c5fc5a2e8c5124b46f87672a295d8b354d6 SHA512 c8c281f5a3ece17b3a91271f0cb686cebb35ee88ae623d8ff5e2c561163c4b8c7644c3513436accf4eeb0ed23a9693ea5b4264d31a31fe7af8cb2f8a5ac3f4c8
DIST rocksdb-7.9.2.tar.gz 12058713 BLAKE2B 76a840565fccdc800eaad055da7698f7a5fc6e217187e078d60420c61cde1236c427cc4ae7d557c69ee5c358cd1ebc7fc4ed52063c04965fcc2c3c35774e9f59 SHA512 9cf2a359cedb21ca70fc921e54f19c406fd9aa2a739ad1627842fad2dec0e7dedbfe52aa8e85fbfbe7005c00ca1e7e7013f728d4d9938f3cebdf794504b431cb
DIST rocksdb-8.11.3.tar.gz 13345436 BLAKE2B 8d8069c030ee345090ebec15528342d776d7a74d6b72808a054511aad169acaa89c5fee530e73b3faba9152aadc4d26f1edc4586e31ddf5501d2899b5d6500ec SHA512 df701e8f3a94efe351c5dfec691635b6cff9b5902e8d5bd714caa7389bbbfd8ce7f7e91f1549978b47b934449fb3b77581dfcc2811a7727be049709a330ca71e
DIST rocksdb-9.10.0.tar.gz 13693440 BLAKE2B bc612980c3374260561f67ab374a8a04f65a196543c21109f5b66f6b58a5e14a8fcb86dbc3910dd5f5ea5f5fdb6485ccfed36a41c762c9b44064ba98f9af47f2 SHA512 b9a53c13f69e723cc41f8431ffc2f0b0be7a85d7a598b2f7a41cf89c34cb3ec55ba8b7874d579914851da59f252e2fcbe8091e490e9a6eca68d7995e2f8b667e
diff --git a/dev-libs/rocksdb/rocksdb-10.2.1.ebuild b/dev-libs/rocksdb/rocksdb-10.2.1.ebuild
new file mode 100644
index 000000000000..4d9320aeb1ef
--- /dev/null
+++ b/dev-libs/rocksdb/rocksdb-10.2.1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Embeddable, persistent key-value store for fast storage"
+HOMEPAGE="http://rocksdb.org https://github.com/facebook/rocksdb/"
+SRC_URI="https://github.com/facebook/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="jemalloc numa static-libs tbb test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ app-arch/bzip2:=
+ app-arch/lz4:=
+ app-arch/snappy:=
+ app-arch/zstd:=
+ dev-cpp/gflags:=
+ sys-libs/liburing:=
+ sys-libs/zlib:=
+ sys-process/numactl
+ jemalloc? ( dev-libs/jemalloc:= )
+ tbb? ( dev-cpp/tbb:= )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ eapply "${FILESDIR}/rocksdb-10.1-fixincludes.patch" || die
+ sed -i -e 's/liburing.a/uring/' cmake/modules/Finduring.cmake || die
+ sed -i -e '/find_program(CCACHE_FOUND ccache)/d' CMakeLists.txt || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DFAIL_ON_WARNINGS=OFF
+ -DPORTABLE=1
+ -DROCKSDB_BUILD_SHARED=$(usex static-libs OFF ON)
+ -DWITH_ALL_TESTS=$(usex test)
+ -DWITH_ASAN=OFF
+ -DWITH_BENCHMARK=OFF
+ -DWITH_BENCHMARK_TOOLS=OFF
+ -DWITH_BZ2=ON
+ -DWITH_CORE_TOOLS=ON
+ -DWITH_DYNAMIC_EXTENSION=ON
+ -DWITH_EXAMPLES=OFF
+ -DWITH_FALLOCATE=ON
+ -DWITH_GFLAGS=ON
+ -DWITH_IOSTATS_CONTEXT=ON
+ -DWITH_JEMALLOC=$(usex jemalloc ON OFF)
+ -DWITH_JNI=OFF
+ -DWITH_LIBURING=ON
+ -DWITH_LZ4=ON
+ -DWITH_MD_LIBRARY=ON
+ -DWITH_NUMA=$(usex numa)
+ -DWITH_SNAPPY=ON
+ -DWITH_TBB=$(usex tbb)
+ -DWITH_TOOLS=ON
+ -DWITH_TRACE_TOOLS=ON
+ -DWITH_TSAN=OFF
+ -DWITH_ZLIB=ON
+ -DWITH_ZSTD=ON
+ )
+ # -DWITH_TESTS option works only with debug build, needs to be set here
+ # to not be overriden by cmake.eclass
+ CMAKE_BUILD_TYPE=$(usex test Debug RelWithDebInfo) cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if ! use static-libs; then
+ rm "${ED}"/usr/$(get_libdir)/*.a || die
+ fi
+}
+
+src_test() {
+ CMAKE_SKIP_TESTS=(
+ EnvPosixTest.LoadRocksDBLibrary
+ OptionsSettableTest.ColumnFamilyOptionsAllFieldsSettable
+ # skip tests that don't work on tmpfs, bug 948932
+ DBTestTailingIterator
+ PrefetchTest
+ PrefetchTest1
+ )
+ cmake_src_test
+}
next reply other threads:[~2025-05-11 4:41 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-11 4:41 Patrick Lauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-15 13:42 [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocksdb/ Guilherme Amadio
2025-04-05 12:26 Guilherme Amadio
2025-04-04 16:28 Guilherme Amadio
2025-02-02 12:58 Guilherme Amadio
2025-02-02 12:53 Guilherme Amadio
2025-02-02 12:53 Guilherme Amadio
2025-02-02 12:53 Guilherme Amadio
2024-12-28 14:04 Arthur Zamarin
2024-12-18 14:33 Guilherme Amadio
2024-12-06 9:27 Guilherme Amadio
2024-11-24 11:02 Sam James
2024-11-24 11:02 Sam James
2024-11-11 16:15 Guilherme Amadio
2024-11-11 16:15 Guilherme Amadio
2024-11-11 16:15 Guilherme Amadio
2024-10-25 21:42 Sam James
2024-08-12 9:51 Guilherme Amadio
2024-07-03 12:55 Guilherme Amadio
2024-03-10 22:04 Guilherme Amadio
2024-03-10 22:04 Guilherme Amadio
2024-01-29 10:38 Guilherme Amadio
2024-01-03 18:52 Arthur Zamarin
2023-12-13 14:39 Guilherme Amadio
2023-11-14 15:23 Guilherme Amadio
2023-11-14 15:13 Guilherme Amadio
2023-11-14 15:13 Guilherme Amadio
2023-11-14 15:13 Guilherme Amadio
2023-11-14 15:13 Guilherme Amadio
2023-11-14 15:13 Guilherme Amadio
2023-04-30 6:38 Sam James
2023-03-13 21:56 Sam James
2023-02-12 3:47 Sam James
2023-01-27 5:26 Sam James
2022-03-19 4:15 Yixun Lan
2021-08-23 17:01 Marek Szuba
2021-03-21 3:07 Patrick McLean
2021-02-26 0:44 Patrick McLean
2021-01-21 23:03 Patrick McLean
2021-01-04 22:15 Patrick McLean
2021-01-04 21:43 Patrick McLean
2021-01-01 23:00 Sam James
2020-12-02 0:17 Patrick McLean
2020-11-26 17:25 Sam James
2020-11-20 22:26 Sam James
2020-11-19 7:29 Patrick McLean
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1746938489.60c5bf16d24a68a918c20a4533a67858113a7972.patrick@gentoo \
--to=patrick@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox