From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocksdb/
Date: Mon, 29 Jan 2024 10:38:19 +0000 (UTC) [thread overview]
Message-ID: <1706524493.b71344e061f6d6edc8396e8b5acfcbf1acad25ef.amadio@gentoo> (raw)
commit: b71344e061f6d6edc8396e8b5acfcbf1acad25ef
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 29 09:39:11 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jan 29 10:34:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b71344e0
dev-libs/rocksdb: add 8.10.0
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
dev-libs/rocksdb/Manifest | 1 +
dev-libs/rocksdb/rocksdb-8.10.0.ebuild | 80 ++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+)
diff --git a/dev-libs/rocksdb/Manifest b/dev-libs/rocksdb/Manifest
index bb37bca4eaf3..567b223495ef 100644
--- a/dev-libs/rocksdb/Manifest
+++ b/dev-libs/rocksdb/Manifest
@@ -3,5 +3,6 @@ DIST rocksdb-6.15.5.tar.gz 6501252 BLAKE2B f85c6b54043019692a7174e41b69625650d07
DIST rocksdb-6.17.3.tar.gz 6651009 BLAKE2B c032bdf61d93a35e84c65146ad6d1f8639e9f36a323c142fe4131b501051bfb9c4c4edb13b69c86e35740117029996bb4c94887ea690d1957926bdfd347c744a SHA512 085adab94b7eb22859b4119b0356f148231800413571e932a7248967b1866d40a0be4b8265f2a9c6c21c600d3b2254c36e64ce7851171ff7c439a17306a84981
DIST rocksdb-6.29.5.tar.gz 9508915 BLAKE2B 45d6f48a4db8881ad1f6e027017d7a680dc8f22067ba2270211f8def14b827a0facf0165b71320c530561a5464b7beb94a26664f563552bbba0699b122a1add2 SHA512 f5b33cc8954408d8c37c93a873bb3664637720a94f81f001c63db173e2dda3913029d7c46bc0e80b0c3171d9666ddfa2ee918d3ff7e0c4a575731e41ac3bcb51
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.6.7.tar.gz 12806059 BLAKE2B 66d1c4f23f690e2379c59f449833374496ebe924456cf202b021a4f9bc7dd6dde16976afae131540fb8bc02eea45ac4897cb1b31edb5f8469e3f50596aeb03f5 SHA512 a8f55e2d218cbe68196456fcf2a8fc0b10df6e8160d11bb4db3651c3b6e3e83223ed36ffe70b39b295ba8d76698e2120f81060f8b6b26f2086a79dae5d29a1f3
DIST rocksdb-8.9.1.tar.gz 13293245 BLAKE2B 8d0f5481f965512144a8d73dd219519145cf070d075697d9b623ae996a2925ff9f673c2985b961e07ecf475ac86294017ecef86734c299c11994c40f8935bc34 SHA512 a93720ef2ecafe2e3d51594b8a8bf6b5d36b0dfeae571cec650ee9d7b3d0c166bd6d9fbe2acb6e57cf34e73b58a2277a6465cce56a5274dd68b03bc9009e0323
diff --git a/dev-libs/rocksdb/rocksdb-8.10.0.ebuild b/dev-libs/rocksdb/rocksdb-8.10.0.ebuild
new file mode 100644
index 000000000000..c5a5cce5e1d8
--- /dev/null
+++ b/dev-libs/rocksdb/rocksdb-8.10.0.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-01-29 10:38 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-29 10:38 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-07-03 12:55 Guilherme Amadio
2024-03-10 22:04 Guilherme Amadio
2024-03-10 22:04 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=1706524493.b71344e061f6d6edc8396e8b5acfcbf1acad25ef.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