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, 13 Dec 2023 14:39:38 +0000 (UTC) [thread overview]
Message-ID: <1702478370.6f1df373eb964bd8d658772bdff891dd48af3e7d.amadio@gentoo> (raw)
commit: 6f1df373eb964bd8d658772bdff891dd48af3e7d
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 13 14:28:38 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Dec 13 14:39:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f1df373
dev-libs/rocksdb: add 8.9.1
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
dev-libs/rocksdb/Manifest | 1 +
dev-libs/rocksdb/rocksdb-8.9.1.ebuild | 72 +++++++++++++++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/dev-libs/rocksdb/Manifest b/dev-libs/rocksdb/Manifest
index a470a43a76e9..bb37bca4eaf3 100644
--- a/dev-libs/rocksdb/Manifest
+++ b/dev-libs/rocksdb/Manifest
@@ -4,3 +4,4 @@ DIST rocksdb-6.17.3.tar.gz 6651009 BLAKE2B c032bdf61d93a35e84c65146ad6d1f8639e9f
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.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.9.1.ebuild b/dev-libs/rocksdb/rocksdb-8.9.1.ebuild
new file mode 100644
index 000000000000..283a918f7c75
--- /dev/null
+++ b/dev-libs/rocksdb/rocksdb-8.9.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 2020-2023 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
+ -DWITH_BZ2=ON
+ -DWITH_CORE_TOOLS=ON
+ -DWITH_DYNAMIC_EXTENSION=ON
+ -DWITH_GFLAGS=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_ALL_TESTS=$(usex test)
+ -DWITH_TESTS=$(usex test)
+ -DWITH_TOOLS=ON
+ -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:[~2023-12-13 14:39 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-13 14:39 Guilherme Amadio [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-11 16:15 [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocksdb/ 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-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=1702478370.6f1df373eb964bd8d658772bdff891dd48af3e7d.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