diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2020-12-01 16:17:14 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2020-12-01 16:17:14 -0800 |
commit | 6ae9ccaf91673f4056e9a813eaafc1c0e0705fa9 (patch) | |
tree | 91c98495af3b42c67d4a18e9c464557ee14b7da0 /dev-libs/rocksdb | |
parent | dev-lua/lualdap: drop old version (diff) | |
download | gentoo-6ae9ccaf91673f4056e9a813eaafc1c0e0705fa9.tar.gz gentoo-6ae9ccaf91673f4056e9a813eaafc1c0e0705fa9.tar.bz2 gentoo-6ae9ccaf91673f4056e9a813eaafc1c0e0705fa9.zip |
dev-libs/rocksdb-6.14.6: Version bump
Copyright: Sony Interative Entertainment Inc.
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/rocksdb')
-rw-r--r-- | dev-libs/rocksdb/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/rocksdb/rocksdb-6.14.6.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/rocksdb/Manifest b/dev-libs/rocksdb/Manifest index ea754e39314b..df759a292f7d 100644 --- a/dev-libs/rocksdb/Manifest +++ b/dev-libs/rocksdb/Manifest @@ -1 +1,2 @@ DIST rocksdb-6.14.5.tar.gz 6396476 BLAKE2B c5fc6e9e306ad428285d2c42958804ff403e14fc6b0c2f1231f49197a98937c0703422e1c14f357fb2b3c138fc038ce46c57cce1d184e4babec3c094b00e5180 SHA512 76e4a5b8a7061e42e9d010d04204429a446c857b29a199456db1f207a4849bedc98c7368346b87fa3a69ee5a3d68abedc943248b960273194a9e71634c767258 +DIST rocksdb-6.14.6.tar.gz 6397194 BLAKE2B 43ad8e7e9fdf0c6c75ff03370f2107899bbcef9fd34630c85408abcf208a8213f5e24ea50407bd6a719220b6c29b9ba29c121e94a5a2701f637b17ccf50b90a4 SHA512 609f407b0b2810954541ad8ebad5c754ebfde5021f24ee4b3f1544a5335252c06cbe2b282562e3d084bb9cbe8de239668fdedb2d2d726056c31cf9463db08fe7 diff --git a/dev-libs/rocksdb/rocksdb-6.14.6.ebuild b/dev-libs/rocksdb/rocksdb-6.14.6.ebuild new file mode 100644 index 000000000000..9f75944b679e --- /dev/null +++ b/dev-libs/rocksdb/rocksdb-6.14.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~x86" +IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_sse4_2 jemalloc static-libs" + +COMMON_DEPEND=" + app-arch/bzip2:= + app-arch/lz4:= + app-arch/snappy:= + dev-python/zstandard:= + sys-libs/zlib:= + jemalloc? ( dev-libs/jemalloc:= ) +" +DEPEND="${COMMON_DEPEND} + dev-cpp/gflags +" +RDEPEND="${COMMON_DEPEND}" + +src_configure() { + mycmakeargs=( + -DFAIL_ON_WARNINGS=OFF + -DFORCE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF) + -DFORCE_AVX=$(usex cpu_flags_x86_avx ON OFF) + -DFORCE_SSE42=$(usex cpu_flags_x86_sse4_2 ON OFF) + -DPORTABLE=ON + -DWITH_JEMALLOC=$(usex jemalloc ON OFF) + -DWITH_TESTS=OFF + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if ! use static-libs; then + rm ${ED}/usr/$(get_libdir)/*.a || die + fi +} |