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/benchmark/
Date: Fri, 30 May 2025 15:37:58 +0000 (UTC)	[thread overview]
Message-ID: <1748619442.4c05910ff8303f2a60a70d3dc544dc2be1d1871c.sam@gentoo> (raw)

commit:     4c05910ff8303f2a60a70d3dc544dc2be1d1871c
Author:     Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
AuthorDate: Fri May 30 14:26:49 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 30 15:37:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c05910f

dev-cpp/benchmark: add 1.9.4

Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42351
Closes: https://github.com/gentoo/gentoo/pull/42351
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/benchmark/Manifest               |  1 +
 dev-cpp/benchmark/benchmark-1.9.4.ebuild | 93 ++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)

diff --git a/dev-cpp/benchmark/Manifest b/dev-cpp/benchmark/Manifest
index 00fd5931123a..c0db3029d07f 100644
--- a/dev-cpp/benchmark/Manifest
+++ b/dev-cpp/benchmark/Manifest
@@ -2,3 +2,4 @@ DIST benchmark-1.8.4.tar.gz 253916 BLAKE2B 78a290a5013d8371e87b7c918e518e3ec0e82
 DIST benchmark-1.9.1.tar.gz 255148 BLAKE2B 39b78afcb333c750960f476476b625d7f72b7cb787176deda1bd939d030e39b16fd008816c64447f7bb224983f2e80b047636f727a3d6d938f1b44dc25bddb55 SHA512 fc787d3d60a55abb3edaa575bf947c72e1ad1404a35bfddf585299411bcd04d32503bba563f9a36dccf128fce6261b97d460d6c293ed2c2d0807cf0154c86aa7
 DIST benchmark-1.9.2.tar.gz 258938 BLAKE2B fed5a3d2447ac32c6e717a936c662d7ef7464978e6ff2d1e625576eee3a225e33d9125d7be5cd287fc069399ddaf76c0c2904caeec467f3f89755e59d3fe75e6 SHA512 64e964f02c118935305ca3e7d3f732f2e093f927371bd1729467f6cb75dc0c42492f9f02c3191e3d8affdc9bab2e66becf10bd4250b768854074bf69efa7e4f2
 DIST benchmark-1.9.3.tar.gz 262114 BLAKE2B 978baf8380d81d98e7d465458953503881a12d4bc66f4bb3daf66b94c1bb1c268d4cc2733cd806af6e262faea1a7db2d71bdd86216a1c5f08b132b27fb0bff11 SHA512 bd1bc103c89ec74a7dfdb09aa4b308496f79ccfe0a728e31eed2814b9ff0f19aa930c58827d044dac07e2e776f990f74ebc4c7cd9c86b37871f8868e1581d4e1
+DIST benchmark-1.9.4.tar.gz 262499 BLAKE2B 93efe09a72c61639bbbd1fc97f851f77a742eb356ac2470377643eff327861c0ffdf45a043295db8f317baff709f89b56b27fe8cbbca9a6afd64081cf047672b SHA512 f9031f144a7deeed151d22676b50384c03e5bbd19b68dac9471e91e49c408b770158c5c325f58e6ac07437955fdab3f08aeee76ba7ca5f97d2b51f14f6782416

diff --git a/dev-cpp/benchmark/benchmark-1.9.4.ebuild b/dev-cpp/benchmark/benchmark-1.9.4.ebuild
new file mode 100644
index 000000000000..28c135ecb91a
--- /dev/null
+++ b/dev-cpp/benchmark/benchmark-1.9.4.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit cmake-multilib flag-o-matic python-single-r1
+
+DESCRIPTION="A microbenchmark support library"
+HOMEPAGE="https://github.com/google/benchmark/"
+SRC_URI="https://github.com/google/benchmark/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="doc debug libpfm test +tools"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="tools? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="libpfm? ( dev-libs/libpfm:= )"
+
+RDEPEND="
+	${DEPEND}
+
+	tools? (
+		$(python_gen_cond_dep '
+			dev-python/numpy[${PYTHON_USEDEP}]
+			>=dev-python/scipy-1.10.0[${PYTHON_USEDEP}]
+		')
+
+		${PYTHON_DEPS}
+	)
+"
+
+BDEPEND="
+	doc? ( app-text/doxygen )
+	test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-1.9.0-fix-documentation-installation.patch" )
+
+pkg_setup() {
+	use tools && python-single-r1_pkg_setup
+}
+
+multilib_src_configure() {
+	# bug #943629
+	use debug || append-cppflags -DNDEBUG
+
+	local mycmakeargs=(
+		-DBENCHMARK_ENABLE_DOXYGEN="$(usex doc)"
+		-DBENCHMARK_ENABLE_GTEST_TESTS="$(usex test)"
+
+		# Users should control this via *FLAGS
+		-DBENCHMARK_ENABLE_LTO=OFF
+
+		-DBENCHMARK_ENABLE_LIBPFM="$(multilib_native_usex libpfm)"
+		-DBENCHMARK_ENABLE_TESTING="$(usex test)"
+		-DBENCHMARK_ENABLE_WERROR=OFF
+		-DBENCHMARK_INSTALL_DOCS="$(usex doc)"
+		-DBENCHMARK_USE_BUNDLED_GTEST=OFF
+
+		# This is determined by profile
+		-DBENCHMARK_USE_LIBCXX=OFF
+	)
+
+	cmake_src_configure
+}
+
+multilib_src_test() {
+	CMAKE_SKIP_TESTS=(
+		# CMake already warns on these being brittle w/ diff
+		# compiler versions. Could do with investigation if bored
+		# but not critical. See bug #941538.
+
+		run_donotoptimize_assembly_test_CHECK
+		run_state_assembly_test_CHECK
+		run_clobber_memory_assembly_test_CHECK
+	)
+
+	cmake_src_test
+}
+
+multilib_src_install_all() {
+	dodoc CONTRIBUTING.md
+	dodoc CONTRIBUTORS
+
+	if use tools; then
+		python_domodule tools/gbench
+		python_doscript tools/compare.py
+		python_doscript tools/strip_asm.py
+	fi
+}


             reply	other threads:[~2025-05-30 15:38 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-30 15:37 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-26 12:34 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/benchmark/ Arthur Zamarin
2025-09-22 19:50 Arthur Zamarin
2025-05-21 21:12 Sam James
2025-05-21 21:12 Sam James
2025-05-16 11:58 Arthur Zamarin
2025-05-07 12:18 Sam James
2025-05-07 12:18 Sam James
2025-04-26  5:28 Sam James
2025-04-26  2:56 Sam James
2025-04-20  3:10 Sam James
2024-10-17  5:11 Joonas Niilola
2024-10-09 10:28 Sam James
2024-10-09  9:29 Jakov Smolić
2024-08-21  3:49 Eli Schwartz
2024-08-20 10:48 Joonas Niilola
2024-08-20  5:59 Sam James
2024-08-20  5:59 Sam James
2024-08-20  5:59 Sam James
2024-08-20  5:08 Joonas Niilola
2024-08-20  5:08 Joonas Niilola
2024-08-19 19:04 Joonas Niilola
2024-06-14 13:33 Marek Szuba
2024-06-13 17:57 Sam James
2024-06-13  5:09 Sam James
2024-06-12 17:36 Sam James
2024-06-12 17:36 Sam James
2024-06-12 17:36 Sam James
2024-06-12 13:52 Marek Szuba
2024-01-24 16:43 Marek Szuba
2024-01-24  4:57 Ionen Wolkens
2024-01-07 11:38 Michał Górny
2023-10-26 16:17 Arthur Zamarin
2023-10-26 12:51 Sam James
2023-10-26 12:49 Sam James
2023-10-26 12:49 Sam James
2023-09-19 12:52 Marek Szuba
2023-08-22 21:35 Marek Szuba
2023-08-22 12:00 Sam James
2023-08-22 11:16 Sam James
2023-08-21 18:24 Sam James
2023-08-21 17:43 Sam James
2023-08-21 17:43 Sam James
2023-07-15  8:51 Arthur Zamarin
2023-07-15  8:19 Arthur Zamarin
2023-07-15  8:19 Arthur Zamarin
2023-07-15  3:10 Sam James
2023-07-10 23:04 Marek Szuba
2023-05-11 12:03 Marek Szuba
2023-03-07 19:23 Marek Szuba
2023-03-07 15:45 Sam James
2023-03-07 11:45 Sam James
2023-03-07 11:42 Sam James
2023-03-07 11:42 Sam James
2023-03-07 11:42 Sam James
2022-11-13 21:52 Marek Szuba
2022-09-05  9:40 Marek Szuba
2022-09-02 19:38 Jakov Smolić
2022-09-02 19:38 Jakov Smolić
2022-09-02 15:18 Arthur Zamarin
2022-09-02 13:44 Arthur Zamarin
2022-09-02 13:44 Arthur Zamarin
2022-07-25 22:15 Marek Szuba
2022-05-19  5:08 WANG Xuerui
2022-01-31 20:26 Arthur Zamarin
2022-01-31 18:51 Sam James
2022-01-31  6:24 Sam James
2022-01-30 22:25 Sam James
2022-01-30 22:25 Sam James
2022-01-11 18:38 Marek Szuba
2022-01-11 18:38 Marek Szuba
2021-10-04 22:58 Sam James
2021-09-20 10:06 Marek Szuba
2021-09-06 21:34 Sam James
2021-06-12 21:55 Marek Szuba
2021-05-12 10:53 Marek Szuba
2021-05-12  8:54 Marek Szuba
2021-05-12  7:36 Joonas Niilola
2021-05-05  6:42 Joonas Niilola
2021-05-05  6:42 Joonas Niilola
2021-03-10 17:29 Sergei Trofimovich
2021-01-11 17:47 Sergei Trofimovich
2020-12-31  1:47 Sam James
2020-09-25 22:55 Georgy Yakovlev
2020-09-17 20:02 Sam James
2020-09-06  5:55 Joonas Niilola

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=1748619442.4c05910ff8303f2a60a70d3dc544dc2be1d1871c.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