Сравнение rocksdb-6.17.3-r1 с rocksdb-7.9.2
/usr/portage/dev-libs/rocksdb/rocksdb-7.9.2.ebuild 2023-10-09 14:52:29.760368357 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 2020-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit cmake |
7 | 7 | |
... | ... | |
11 | 11 | |
12 | 12 |
LICENSE="GPL-2" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" |
|
14 |
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" |
|
15 | 15 |
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_sse4_2 jemalloc static-libs" |
16 | 16 | |
17 | 17 |
DEPEND=" |
... | ... | |
19 | 19 |
app-arch/lz4:= |
20 | 20 |
app-arch/snappy:= |
21 | 21 |
app-arch/zstd:= |
22 |
dev-cpp/gflags |
|
22 |
dev-cpp/gflags:= |
|
23 |
sys-libs/liburing:= |
|
23 | 24 |
sys-libs/zlib:= |
24 | 25 |
jemalloc? ( dev-libs/jemalloc:= ) |
25 | 26 |
" |
26 | 27 |
RDEPEND="${DEPEND}" |
27 | 28 | |
28 | 29 |
PATCHES=( |
29 |
"${FILESDIR}"/${PN}-6.14.6-gcc13.patch |
|
30 |
"${FILESDIR}"/${PN}-6.17.3-add_timer_for_riscv.patch |
|
31 |
"${FILESDIR}"/${PN}-6.17.3-libatomic.patch |
|
30 |
"${FILESDIR}"/${P}-gcc-13.patch |
|
32 | 31 |
) |
33 | 32 | |
34 | 33 |
src_configure() { |
34 |
sed -i -e '/find_program(CCACHE_FOUND ccache)/d' CMakeLists.txt || die |
|
35 | ||
35 | 36 |
local mycmakeargs=( |
36 | 37 |
-DFAIL_ON_WARNINGS=OFF |
37 | 38 |
-DFORCE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF) |
... | ... | |
39 | 40 |
-DFORCE_SSE42=$(usex cpu_flags_x86_sse4_2 ON OFF) |
40 | 41 |
-DPORTABLE=ON |
41 | 42 |
-DWITH_JEMALLOC=$(usex jemalloc ON OFF) |
43 |
# They're just examples/benchmarks. |
|
42 | 44 |
-DWITH_TESTS=OFF |
43 | 45 |
) |
44 | 46 |
cmake_src_configure |