Diff abseil-cpp-20211102.0-r2 with a abseil-cpp-20220623.1
/usr/portage/dev-cpp/abseil-cpp/abseil-cpp-20220623.1.ebuild 2023-10-09 14:52:29.300368345 +0300 | ||
---|---|---|
9 | 9 | |
10 | 10 |
# yes, it needs SOURCE, not just installed one |
11 | 11 |
# and no, 1.11.0 is not enough |
12 |
GTEST_COMMIT="1b18723e874b256c1e39378c6774a90701d70f7a" |
|
12 |
GTEST_COMMIT="e68764c147ea0dac1e8811925c531d937396878e" |
|
13 | 13 |
GTEST_FILE="gtest-${GTEST_COMMIT}.tar.gz" |
14 | 14 | |
15 | 15 |
DESCRIPTION="Abseil Common Libraries (C++), LTS Branch" |
... | ... | |
33 | 33 |
RESTRICT="!test? ( test )" |
34 | 34 | |
35 | 35 |
PATCHES=( |
36 |
"${FILESDIR}/${PN}-20211102.0-fix-cuda-nvcc-build.patch" |
|
37 |
"${FILESDIR}/${PN}-20211102.0-r2-cuda11.6-compile-fix.patch" |
|
38 |
"${FILESDIR}/${PN}-20211102.0-r2-loong.patch" |
|
39 |
"${FILESDIR}/${PN}-20211102.0-r2-gcc-13.patch" |
|
36 |
"${FILESDIR}"/${PN}-20230125.2-musl-1.2.4.patch #906218 |
|
40 | 37 |
) |
41 | 38 | |
42 | 39 |
src_prepare() { |
... | ... | |
62 | 59 | |
63 | 60 |
src_configure() { |
64 | 61 |
local mycmakeargs=( |
62 |
-DCMAKE_CXX_STANDARD=17 |
|
65 | 63 |
-DABSL_ENABLE_INSTALL=TRUE |
66 | 64 |
-DABSL_LOCAL_GOOGLETEST_DIR="${WORKDIR}/googletest-${GTEST_COMMIT}" |
67 |
-DCMAKE_CXX_STANDARD=17 |
|
68 | 65 |
-DABSL_PROPAGATE_CXX_STD=TRUE |
69 |
$(usex test -DBUILD_TESTING=ON '') #intentional usex |
|
66 |
-DABSL_BUILD_TESTING=$(usex test ON OFF) |
|
67 |
$(usex test -DBUILD_TESTING=ON '') #intentional usex, it used both variables for tests. |
|
70 | 68 |
) |
71 | 69 |
cmake_src_configure |
72 | 70 |
} |