From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocksdb/
Date: Wed, 3 Jul 2024 12:55:14 +0000 (UTC) [thread overview]
Message-ID: <1720011289.b812d0de76a0e78c257501d5df9fc06d268c9988.amadio@gentoo> (raw)
commit: b812d0de76a0e78c257501d5df9fc06d268c9988
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 3 12:54:29 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Jul 3 12:54:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b812d0de
dev-libs/rocksdb: add 9.3.1
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
dev-libs/rocksdb/Manifest | 1 +
dev-libs/rocksdb/rocksdb-9.3.1.ebuild | 80 +++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+)
diff --git a/dev-libs/rocksdb/Manifest b/dev-libs/rocksdb/Manifest
index 0ef85aec8497..10cd647edfa4 100644
--- a/dev-libs/rocksdb/Manifest
+++ b/dev-libs/rocksdb/Manifest
@@ -2,3 +2,4 @@ DIST rocksdb-6.14.6.tar.gz 6397194 BLAKE2B 43ad8e7e9fdf0c6c75ff03370f2107899bbce
DIST rocksdb-7.9.2.tar.gz 12058713 BLAKE2B 76a840565fccdc800eaad055da7698f7a5fc6e217187e078d60420c61cde1236c427cc4ae7d557c69ee5c358cd1ebc7fc4ed52063c04965fcc2c3c35774e9f59 SHA512 9cf2a359cedb21ca70fc921e54f19c406fd9aa2a739ad1627842fad2dec0e7dedbfe52aa8e85fbfbe7005c00ca1e7e7013f728d4d9938f3cebdf794504b431cb
DIST rocksdb-8.10.0.tar.gz 13316582 BLAKE2B 63f5a13c285dcc830d9d31623435af5d8385a1ecad2b4bbf433cdc9f1e8032218a24f06220199fab4deb385d3964890fc5de6bfdbadd5cd304826aeca600b246 SHA512 524e3e70ed2b1d2e6c61a7b401946e50473cc95684ce4efc6250062f5bc945e443e96f7907fcc3ee1ab98c71179a8b56a654383cf2c0bbe1bb20907ab1ac7523
DIST rocksdb-8.11.3.tar.gz 13345436 BLAKE2B 8d8069c030ee345090ebec15528342d776d7a74d6b72808a054511aad169acaa89c5fee530e73b3faba9152aadc4d26f1edc4586e31ddf5501d2899b5d6500ec SHA512 df701e8f3a94efe351c5dfec691635b6cff9b5902e8d5bd714caa7389bbbfd8ce7f7e91f1549978b47b934449fb3b77581dfcc2811a7727be049709a330ca71e
+DIST rocksdb-9.3.1.tar.gz 13512627 BLAKE2B 9ab5fca82221a9d8ac2898fb20f1398a61435a6b76632a83f9ab35ffd0e2856f7b6dddc35ef6af5f2eeb6d87d1cd13872110d86effe37a712863d1731aa5b063 SHA512 3d1dbbb8b0dbf94a9780aaf6bc1f02a75d20a403d94602e0adddcba2af72564efa6bc6bd7fcbec0b02083d677c29806359801ca2b5832f916b300a5fdb3af832
diff --git a/dev-libs/rocksdb/rocksdb-9.3.1.ebuild b/dev-libs/rocksdb/rocksdb-9.3.1.ebuild
new file mode 100644
index 000000000000..c5a5cce5e1d8
--- /dev/null
+++ b/dev-libs/rocksdb/rocksdb-9.3.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 2020-2024 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() {
+ 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
+}
next reply other threads:[~2024-07-03 12:55 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-03 12:55 Guilherme Amadio [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-02 12:58 [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocksdb/ 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-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=1720011289.b812d0de76a0e78c257501d5df9fc06d268c9988.amadio@gentoo \
--to=amadio@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