diff options
Diffstat (limited to 'dev-libs/rocksdb')
-rw-r--r-- | dev-libs/rocksdb/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/rocksdb/rocksdb-8.9.1.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-libs/rocksdb/Manifest b/dev-libs/rocksdb/Manifest index 685b364a2650..d73b37e6e2f1 100644 --- a/dev-libs/rocksdb/Manifest +++ b/dev-libs/rocksdb/Manifest @@ -8,6 +8,7 @@ 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 EBUILD rocksdb-6.14.6-r2.ebuild 1199 BLAKE2B 944f782e614195c466aaf6a8a5253cbd54adde6b69f86514263b080e413034bc6290879cc83536eb254c68d5d613a25829821b65afadfe6a2399038d18cd2a2e SHA512 5816a20d66aaf47fa0b8a2ed2687d17a6c9369646d8be0baa9c7c186950cfed09cf115ae169f068ce9cc45e064e633f4c7e18f37c31d48b8bbc16d59b3d41e7e EBUILD rocksdb-6.14.6-r3.ebuild 1908 BLAKE2B 1d08d4967163e8ddbf063b0e1d19493249d8eeadf155eeb01f28c0c4bca1db3c254ccff73e29e1d991bbe5b4fa353665a190bff6b1b7d85ba3467cb6e3d5de95 SHA512 cd254ef55f854d49384549e9c93dfc7031b0488f2605f0699181ae61a089ae359627676fb602acf38d65dce8bac0e01455e54356ad08b9d24faacf749ba34f6e EBUILD rocksdb-6.15.5-r1.ebuild 1191 BLAKE2B 2f20070eccef36b903af5c3b04dd785e9b3eddfa7bfdf3d88394bf59cb144aedef1c1824b42e45153177bcf9610c44389f64c1ef9d6e816b190fbc9be8511049 SHA512 abbd4ee73b103d51b41bccd12f95395a970756c0c350c0d9e379522df9dd543d5886d0d9748b1efd62112ad5c171062c4c6c56a8a5c3490875ded6cb2d4b91a4 @@ -16,4 +17,5 @@ EBUILD rocksdb-6.29.5.ebuild 1974 BLAKE2B 2ec19cbe91260d141ba0fc27db736904627175 EBUILD rocksdb-7.9.2-r1.ebuild 1929 BLAKE2B d866717be53f421b481a7e9110bd9f5309302b8eac3b649a24a6e24d563217bf13066cad38b1906b31d3a5cbedba2fa9e5a84ae3b6ba38664d15802559fa5c26 SHA512 c7f3cea80e5fda4bd2dea5a89003b37e1aae15a9077cb9f060dac5d2f490936ecfda8e6eeaeb7549ba08df3765785a4261a33851c939125e776e740eafef9371 EBUILD rocksdb-7.9.2.ebuild 1280 BLAKE2B bff5eeafa4c995e5c1d225bf63302da8ed4b62fe274244ba6c46636a860b8845dd855c44e16139779208915d7635d2c6b73d63a9f51c67ca16c161870bc9210f SHA512 6a2f471ee4c75ac3bdad16de3b1716453823c710375aca71360be608290571f86a08fe3e13b84a4da0420bb1fe7e06ec24627014d1bb7eec8b95b53f34d6c976 EBUILD rocksdb-8.6.7.ebuild 1676 BLAKE2B 31d91dc7531a2c000767513fbbd74e9287e29817a092fcceb0008a58ba872fea81d1b311baa6ddccef4c75e76b491bc645f88c1643a67f18d6e792498e208c53 SHA512 3bb396a4369b892f7c18c036c81910ea28140a0c41ad48ea1868ae01300fd01502d1382fba89172f2ce1b279843f4e6c71104ba8beaeeab41fc1cae324d7fba8 +EBUILD rocksdb-8.9.1.ebuild 1676 BLAKE2B 31d91dc7531a2c000767513fbbd74e9287e29817a092fcceb0008a58ba872fea81d1b311baa6ddccef4c75e76b491bc645f88c1643a67f18d6e792498e208c53 SHA512 3bb396a4369b892f7c18c036c81910ea28140a0c41ad48ea1868ae01300fd01502d1382fba89172f2ce1b279843f4e6c71104ba8beaeeab41fc1cae324d7fba8 MISC metadata.xml 571 BLAKE2B b743b9af4854469178c2b496356c8359167e52c5c39a9fe2df88910afabccf71f7f3cfcb72558af72025b804ca4d5eb930291e7653b3a720ed91b11968e8d28c SHA512 e53decfd517254b09eb7d59bcfffb699ad7459a17159218bb04a0a06b2d459e9f68f2132dd111da4d98afad331090c1545d300853252a23c15fb8786b02d29c5 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 +} |