diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-07 02:07:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-07 02:07:26 +0000 |
commit | 2198f8593ae0312add1bdccb49edfcb935e5f8a6 (patch) | |
tree | 67d79ffd7e91cc3858d188c49a65f46860a9bac7 /dev-libs/rocksdb | |
parent | d285f0ab4ab38d4ea1cd0757a465db5f06764e06 (diff) |
gentoo auto-resync : 07:12:2024 - 02:07:26
Diffstat (limited to 'dev-libs/rocksdb')
-rw-r--r-- | dev-libs/rocksdb/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/rocksdb/rocksdb-9.8.4.ebuild | 80 |
2 files changed, 82 insertions, 0 deletions
diff --git a/dev-libs/rocksdb/Manifest b/dev-libs/rocksdb/Manifest index 7bfeefdfccfb..1f3142ce3a5d 100644 --- a/dev-libs/rocksdb/Manifest +++ b/dev-libs/rocksdb/Manifest @@ -5,10 +5,12 @@ 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.11.3.tar.gz 13345436 BLAKE2B 8d8069c030ee345090ebec15528342d776d7a74d6b72808a054511aad169acaa89c5fee530e73b3faba9152aadc4d26f1edc4586e31ddf5501d2899b5d6500ec SHA512 df701e8f3a94efe351c5dfec691635b6cff9b5902e8d5bd714caa7389bbbfd8ce7f7e91f1549978b47b934449fb3b77581dfcc2811a7727be049709a330ca71e DIST rocksdb-9.7.4.tar.gz 13615065 BLAKE2B 8babae4a879d3d08c7bccf0b93dc78bf413d3d518b9470e343588cba92f796ad5d493128276fe0673e915bfd8eab8a98abfd52dd0e633446324989db00032746 SHA512 d7209fee27f0b40ebce7a43c0356b2e6ca355d768d60b5e56599074bbd2aa555f4ed3b97e85ef492742be1597184d505b6acfd84ad27d6a5b83bf1a13bf4b1ca +DIST rocksdb-9.8.4.tar.gz 13647031 BLAKE2B faeca03e688a9240b739a671fb00f3f2015b0a90397d0473a44c4278ece6af91e6870ca6defec7c4a49bc9c7d07c19b218776937d608d87a9e456e8b219cd911 SHA512 34afd421c86bdb3741f49e35466efbaef041d8461bedf7d32fa6d808e3cc38807aafddfd0bb563f34d21de8f0d31dfc26dcae3208c2dd36da449913cef9a3e1b EBUILD rocksdb-6.14.6-r2.ebuild 1198 BLAKE2B 269f96e8c312b1ce45dff8463c5bb3e5a415a2d7760b27a68c55ee043107d84e46bdeda36458346f90650a4be16abaa57871fc09039e224e0cd9645ae1bcdf9a SHA512 2e631eacab520f835bbd4ea4219b615ca4a81e229dc2428189a7ab88d79c0fc6a5bd5a897cf8ed0e9092ff5e9f634f90ddbc4ed2fa19afdad8d13debaf45a490 EBUILD rocksdb-6.14.6-r3.ebuild 1907 BLAKE2B 0b1256040a65456883b7b5556e15b3eeab0afec83b5d3e0fc9c6db4f79352c4091d3d7c5d841da3c847938c50665f2ea725acf261580f06cbc7380efdd5b8a12 SHA512 5c366bd6eff063541e99c25590aae4b9067974a524a7908a2caed005998b1cbef462d2f7d42d800d6f271bfb8449ddcf542a63b4c75e016d9249e96f1fa6e235 EBUILD rocksdb-7.9.2-r1.ebuild 1928 BLAKE2B 1007d9c0862bbdf1944364e518a850135e0eb97551fec0775e664c733e0e2565dd3bd5e4b2cf58369c02ecff9ec97266e33e02cf685bbc16e2702803a117cd6b SHA512 3b24b9738c58f9a5606b5fb1b52c7375df90b603456831985b987c0754d1b1db92284d285bd66e144f8833b9e6868059d8bffa61db853e868aed8f768b6928f1 EBUILD rocksdb-7.9.2.ebuild 1280 BLAKE2B bff5eeafa4c995e5c1d225bf63302da8ed4b62fe274244ba6c46636a860b8845dd855c44e16139779208915d7635d2c6b73d63a9f51c67ca16c161870bc9210f SHA512 6a2f471ee4c75ac3bdad16de3b1716453823c710375aca71360be608290571f86a08fe3e13b84a4da0420bb1fe7e06ec24627014d1bb7eec8b95b53f34d6c976 EBUILD rocksdb-8.11.3.ebuild 1883 BLAKE2B 9479027ff08aa26a54afd5a95c7712c88a257bb919aa48f1b6d744af6aa120e4a2215eb7977818acdab9e6bf21808bc98c14cc3f4cc59b6dfb86a5c256c04949 SHA512 2d94e064685ea5ac3d60ff3d6ee7db21ae9a017d735a3e528cfe07f30e64a9d98a3c50f60819a4aad8e205bc25e489252896bde34ac249eb7ea2e4784299e3ce EBUILD rocksdb-9.7.4.ebuild 1884 BLAKE2B 4fb69ed884eefba6a56c59bc5fbd3a464aba47b257c3cdf03ce02e216f66dccd0b5007e0f8b237f40b9e0ecfa06385ac860a0df3765cca5744a66c65bb5591b9 SHA512 14906f019eb0812f20dce57331cd20d74da1ebcd1e722f6e9a3984c18f712899aecb7874d8a7f6b2f5702ea6e8b6a7d0e6d9b3239915293accba64e452a5f8bb +EBUILD rocksdb-9.8.4.ebuild 1884 BLAKE2B 4fb69ed884eefba6a56c59bc5fbd3a464aba47b257c3cdf03ce02e216f66dccd0b5007e0f8b237f40b9e0ecfa06385ac860a0df3765cca5744a66c65bb5591b9 SHA512 14906f019eb0812f20dce57331cd20d74da1ebcd1e722f6e9a3984c18f712899aecb7874d8a7f6b2f5702ea6e8b6a7d0e6d9b3239915293accba64e452a5f8bb MISC metadata.xml 571 BLAKE2B b743b9af4854469178c2b496356c8359167e52c5c39a9fe2df88910afabccf71f7f3cfcb72558af72025b804ca4d5eb930291e7653b3a720ed91b11968e8d28c SHA512 e53decfd517254b09eb7d59bcfffb699ad7459a17159218bb04a0a06b2d459e9f68f2132dd111da4d98afad331090c1545d300853252a23c15fb8786b02d29c5 diff --git a/dev-libs/rocksdb/rocksdb-9.8.4.ebuild b/dev-libs/rocksdb/rocksdb-9.8.4.ebuild new file mode 100644 index 000000000000..c5a5cce5e1d8 --- /dev/null +++ b/dev-libs/rocksdb/rocksdb-9.8.4.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 +} |