public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/abseil-cpp/
Date: Fri, 01 Aug 2025 08:10:24 +0000 (UTC)	[thread overview]
Message-ID: <1754035694.e3a557bdff6d965de5fabaa1a94c751fd36d5a77.sam@gentoo> (raw)

commit:     e3a557bdff6d965de5fabaa1a94c751fd36d5a77
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Sun Jul 20 18:17:56 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug  1 08:08:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3a557bd

dev-cpp/abseil-cpp: add 20250512.1

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43085
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/abseil-cpp/Manifest                     |   1 +
 dev-cpp/abseil-cpp/abseil-cpp-20250512.1.ebuild | 102 ++++++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/dev-cpp/abseil-cpp/Manifest b/dev-cpp/abseil-cpp/Manifest
index b7790a2a1c56..2fa13a62bee7 100644
--- a/dev-cpp/abseil-cpp/Manifest
+++ b/dev-cpp/abseil-cpp/Manifest
@@ -12,6 +12,7 @@ DIST abseil-cpp-20250127.0-PR1834.patch 968 BLAKE2B b563725afcae9fcbddde9aef1e49
 DIST abseil-cpp-20250127.0.tar.gz 2267275 BLAKE2B 70fa05a0db91b9e7ccf9f2828a7bf4b7fe6d7177b5f2d17b2f2f6f2a5e83289674d624fa7983410713a2d62b1025a5b5d957f1ba11e01cb727fc771ce76bc914 SHA512 2a021faad807ee3e23548716ffa4785dc2409edbb4be676cc4bc01d47885760de340f0a4afdcbf0aaa835affd6d78f7bc319bbf7d337dbc30e7a559d0088e4bd
 DIST abseil-cpp-20250127.1.tar.gz 2267282 BLAKE2B 61a6f0340c3883f097c56161d67f0046398513ef716d33a7b26e55e33032262f2e5f02c678318688f7f72a5eea7a88b37abf6d2f84e52626a258c497bea80a83 SHA512 8312acf0ed74fa28c6397f3e41ada656dbd5ca2bf8db484319d74b144ad19c0ebdc77f7f03436be6c6ca1cde706b9055079233cf0d6b5ada4ca48406f8a55dd8
 DIST abseil-cpp-20250512.0.tar.gz 2221435 BLAKE2B dc3c6e4b309d28968399b5d6222c9d135735d6918f1c6f907945fe8db824f5847d932778184bdf4f14e233e79a752616e7dff40d4c21c5303d7fed66a810c064 SHA512 92542db666e0c628cf56bf8ad09412af9c8b622e4f26e72d1e1b092ceec430a5c105f6561e2d9983af565f55da07f67e770cafe373b20cc4cb29a893a6a236fc
+DIST abseil-cpp-20250512.1.tar.gz 2221441 BLAKE2B f84faffcc606b0e4ece3cd8494e6727d74faf74c2900928c317dbce1393a4e3095ecdea4529311323b99459879957841a7300fed0499eba28fc9d764c9ddca40 SHA512 d3ba654ed7dd7b432494918b2de5d8e2b0ad1c42752c5d726f20d6fe2841828fb4e8beb853e3570a11efecef725029ce5ffa3ebc434efff007e7f60735eb9856
 DIST gtest-1.13.0.tar.gz 862871 BLAKE2B d2768332c233d62f7a5f5332b63dc587c96c24765b2eeaa4f4caf5d421b175aa850d81cec4f50eeef9e06d4b86cb959555b4c2862a197ce3cb86d61fcb51f5d1 SHA512 70c0cfb1b4147bdecb467ecb22ae5b5529eec0abc085763213a796b7cdbd81d1761d12b342060539b936fa54f345d33f060601544874d6213fdde79111fa813e
 DIST gtest-1b18723e874b256c1e39378c6774a90701d70f7a.tar.gz 833195 BLAKE2B cfeb4fc1569529f8a08557330ab2c88db7703c4f2e8628d18b403f424342ad82b062edb8cc9c0dc122c453235ab327ea742a5ef12e49726e2fa2f60f5ea762d9 SHA512 cb90a54681e0be20a9a8c7a19f960a97cc567931308f4956ee142b86769c062fcf612b9635f5548009ee6d598ae0c1e83692151ec9f1ff1e409b89e158d8b954
 DIST gtest-e68764c147ea0dac1e8811925c531d937396878e.tar.gz 862129 BLAKE2B d6decb9d1ad4e379a76119ec984deaa7649fca033f225698ce421bcee1207b52da3c4fdb2f6d68b968248575704ebe501b7b1d0a02c180901ffa78f9aa47f549 SHA512 aca72b5f64894aeee34cb869bdeda2d25ec04e901fe0e4e8d08d49472de1c9b19a97ba97a2e8570a88be74aea26d1cd526b4e605005a881e1cb6ab03ed3a4ceb

diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20250512.1.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20250512.1.ebuild
new file mode 100644
index 000000000000..3085645883b6
--- /dev/null
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20250512.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake-multilib python-any-r1
+
+DESCRIPTION="Abseil Common Libraries (C++), LTS Branch"
+HOMEPAGE="https://abseil.io/"
+SRC_URI="
+	https://github.com/abseil/abseil-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV:2:4}.$(ver_cut 2).0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+IUSE="test test-helpers"
+
+RDEPEND="
+	test? (
+		dev-cpp/gtest:=[${MULTILIB_USEDEP}]
+	)
+	test-helpers? (
+		dev-cpp/gtest:=[${MULTILIB_USEDEP}]
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	${PYTHON_DEPS}
+	test? (
+		sys-libs/timezone-data
+	)
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-20230802.0-sdata-tests.patch"
+	"${FILESDIR}/${PN}-20240722.0-lto-odr.patch"
+)
+
+src_prepare() {
+	cmake_src_prepare
+
+	use ppc && eapply "${FILESDIR}/${PN}-atomic.patch"
+
+	# un-hardcode abseil compiler flags
+	# 942192
+	sed -i \
+		-e '/NOMINMAX/d' \
+		absl/copts/copts.py || die
+
+	# now generate cmake files
+	python_fix_shebang absl/copts/generate_copts.py
+	absl/copts/generate_copts.py || die
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DABSL_ENABLE_INSTALL="yes"
+		-DABSL_USE_EXTERNAL_GOOGLETEST="yes"
+		-DABSL_PROPAGATE_CXX_STD="yes"
+
+		# TEST_HELPERS needed for protobuf (bug #915902)
+		-DABSL_BUILD_TEST_HELPERS="$(usex test-helpers)"
+
+		-DABSL_BUILD_TESTING="$(usex test)"
+	)
+	# intentional use, it requires both variables for tests.
+	# (BUILD_TESTING AND ABSL_BUILD_TESTING)
+	if use test; then
+		mycmakeargs+=(
+			-DBUILD_TESTING="yes"
+		)
+	fi
+
+	cmake_src_configure
+}
+
+multilib_src_test() {
+	if ! use amd64; then
+		CMAKE_SKIP_TESTS=(
+			absl_symbolize_test
+		)
+
+		if use ppc; then
+			CMAKE_SKIP_TESTS+=(
+				absl_failure_signal_handler_test
+			)
+		fi
+	else
+		if ! multilib_is_native_abi; then
+			CMAKE_SKIP_TESTS+=(
+				absl_hash_instantiated_test
+			)
+		fi
+	fi
+
+	cmake_src_test
+}


             reply	other threads:[~2025-08-01  8:10 UTC|newest]

Thread overview: 121+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-01  8:10 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-02  0:53 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/abseil-cpp/ Sam James
2025-09-02  0:53 Sam James
2025-08-01 17:04 Sam James
2025-08-01 13:11 Sam James
2025-08-01 13:11 Sam James
2025-08-01  9:59 Sam James
2025-08-01  8:10 Sam James
2025-06-02 22:46 Sam James
2025-06-02 21:41 Sam James
2025-05-23  8:18 Arthur Zamarin
2025-05-22 19:43 Sam James
2025-05-22 19:43 Sam James
2025-05-22 17:59 Arthur Zamarin
2025-05-22 17:59 Arthur Zamarin
2025-05-22 17:59 Arthur Zamarin
2025-04-11  9:49 Sam James
2025-04-05  0:42 Sam James
2025-04-05  0:42 Sam James
2025-01-24  4:05 Matt Turner
2024-12-09 10:25 Arthur Zamarin
2024-11-06 13:35 Sam James
2024-10-24  8:48 Arthur Zamarin
2024-10-23  7:53 Jakov Smolić
2024-10-23  5:40 Joonas Niilola
2024-10-23  5:40 Joonas Niilola
2024-10-04  9:07 Sam James
2024-09-09 17:14 Arthur Zamarin
2024-09-08 13:51 Sam James
2024-09-08 13:51 Sam James
2024-09-04  2:32 Yixun Lan
2024-09-02  7:29 Arthur Zamarin
2024-08-31 14:37 Arthur Zamarin
2024-08-31 14:37 Arthur Zamarin
2024-08-25 15:21 Fabian Groffen
2024-08-08 17:19 Arthur Zamarin
2024-07-24 16:56 Sam James
2024-07-24 16:56 Sam James
2024-06-15  8:13 Joonas Niilola
2024-06-13  4:10 Sam James
2024-06-13  2:58 Sam James
2024-06-13  1:56 Sam James
2024-05-27 13:24 Joonas Niilola
2023-12-12 13:39 Andreas Sturmlechner
2023-11-23 17:12 Sam James
2023-10-17 19:22 Sam James
2023-10-15 12:38 Sam James
2023-10-14 18:17 Arthur Zamarin
2023-10-14 16:52 Arthur Zamarin
2023-09-27  6:15 Sam James
2023-08-21 18:22 Sam James
2023-08-21 17:43 Sam James
2023-08-21 17:31 Sam James
2023-08-21 17:27 Sam James
2023-08-21 17:27 Sam James
2023-08-21 17:27 Sam James
2023-07-30 11:43 Sam James
2023-06-09  9:54 Sam James
2023-06-09  6:53 Arthur Zamarin
2023-06-02 16:13 Arthur Zamarin
2023-06-01 19:15 Arthur Zamarin
2023-04-18 18:00 Georgy Yakovlev
2023-04-18 11:16 Sam James
2023-04-02 13:24 Ben Kohler
2023-02-07 17:25 Andreas Sturmlechner
2022-12-25 21:24 Sam James
2022-12-25 21:24 Sam James
2022-12-25 20:06 Arthur Zamarin
2022-12-25 20:06 Arthur Zamarin
2022-12-25 19:57 Georgy Yakovlev
2022-12-25 19:57 Georgy Yakovlev
2022-12-25 19:57 Georgy Yakovlev
2022-12-25 19:57 Georgy Yakovlev
2022-12-25 19:54 Georgy Yakovlev
2022-12-25 19:46 Andreas Sturmlechner
2022-11-28 22:59 Georgy Yakovlev
2022-11-28 22:59 Georgy Yakovlev
2022-08-23  7:30 WANG Xuerui
2022-06-01  7:30 Sam James
2021-12-30 19:48 Arthur Zamarin
2021-12-26 17:15 Jakov Smolić
2021-12-26 17:15 Jakov Smolić
2021-12-26  8:05 Georgy Yakovlev
2021-12-26  7:54 Georgy Yakovlev
2021-12-26  7:21 Georgy Yakovlev
2021-12-20 12:09 Agostino Sarubbo
2021-12-20  9:20 Arthur Zamarin
2021-12-04  1:39 Sam James
2021-11-14  2:01 Georgy Yakovlev
2021-11-14  2:01 Georgy Yakovlev
2021-11-14  1:59 Georgy Yakovlev
2021-06-11  8:50 Agostino Sarubbo
2021-06-04 23:15 Georgy Yakovlev
2021-05-25 11:10 Sam James
2021-05-25 11:10 Sam James
2021-05-15  2:21 Sam James
2021-04-30 19:20 Georgy Yakovlev
2021-04-29  8:29 Georgy Yakovlev
2021-04-29  8:29 Georgy Yakovlev
2021-04-27 22:02 Sam James
2021-04-27 22:02 Sam James
2021-04-22  4:07 Georgy Yakovlev
2021-04-18  0:36 Georgy Yakovlev
2021-04-04 21:59 Georgy Yakovlev
2021-04-03 19:57 Georgy Yakovlev
2021-04-02  8:21 Georgy Yakovlev
2021-04-02  3:04 Georgy Yakovlev
2021-04-02  3:04 Georgy Yakovlev
2021-04-02  3:04 Georgy Yakovlev
2020-10-24  2:21 Georgy Yakovlev
2020-10-12  4:53 Georgy Yakovlev
2020-09-25 19:53 Georgy Yakovlev
2020-09-25 12:39 Georgy Yakovlev
2020-09-25  9:09 Georgy Yakovlev
2020-09-25  8:25 Georgy Yakovlev
2020-04-24 20:02 Georgy Yakovlev
2020-04-24 20:02 Georgy Yakovlev
2020-04-20  8:09 Georgy Yakovlev
2020-04-20  7:28 Georgy Yakovlev
2020-04-20  7:28 Georgy Yakovlev
2020-04-20  7:28 Georgy Yakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1754035694.e3a557bdff6d965de5fabaa1a94c751fd36d5a77.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox