dev-cpp/benchmark: drop 1.9.0

Bug: https://bugs.gentoo.org/952277
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41955
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Mattéo Rossillol‑‑Laruelle
2025-05-06 10:34:33 +02:00
committed by Sam James
parent 9ec9119f3f
commit 170b25e15e
3 changed files with 0 additions and 79 deletions

View File

@@ -1,4 +1,3 @@
DIST benchmark-1.8.4.tar.gz 253916 BLAKE2B 78a290a5013d8371e87b7c918e518e3ec0e8247e25e211d160ab8dea51d8871d8dac54ee91ee0c512af86a60d1f4e9baedadc20d4a7fa28ef790411fda0399c8 SHA512 835d12b88fe52309ce6b2ffbc8b3c178ac594be7d249b5daca0373d1d03ec83ea3c7b94224f67f22d21919376985867eeff0d1c0721501cfd8a9e9b8a9c48882
DIST benchmark-1.9.0.tar.gz 253961 BLAKE2B fdac0018435622e3ee2c1cde02c8140a15f2579b9059d1592b588033e6935bd8d54c874f4ea912696e8e1d5f7eebae30ba849f77cc3f74f006b4b03c712685ed SHA512 0e91e0e5a2222d7650fd8bd9cafb2f0e7c1689cd1b87b2cc529c738db12bfef31162aa5a4da78f7b0aa7f0101dc08b626802c58d39862458f82f9fea9316ca25
DIST benchmark-1.9.1.tar.gz 255148 BLAKE2B 39b78afcb333c750960f476476b625d7f72b7cb787176deda1bd939d030e39b16fd008816c64447f7bb224983f2e80b047636f727a3d6d938f1b44dc25bddb55 SHA512 fc787d3d60a55abb3edaa575bf947c72e1ad1404a35bfddf585299411bcd04d32503bba563f9a36dccf128fce6261b97d460d6c293ed2c2d0807cf0154c86aa7
DIST benchmark-1.9.2.tar.gz 258938 BLAKE2B fed5a3d2447ac32c6e717a936c662d7ef7464978e6ff2d1e625576eee3a225e33d9125d7be5cd287fc069399ddaf76c0c2904caeec467f3f89755e59d3fe75e6 SHA512 64e964f02c118935305ca3e7d3f732f2e093f927371bd1729467f6cb75dc0c42492f9f02c3191e3d8affdc9bab2e66becf10bd4250b768854074bf69efa7e4f2

View File

@@ -1,74 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11,12} )
inherit cmake-multilib 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="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86"
IUSE="doc +exceptions libcxx libpfm lto test +tools"
RESTRICT="!test? ( test )"
REQUIRED_USE="tools? ( ${PYTHON_REQUIRED_USE} )"
DEPEND="
libcxx? ( llvm-runtimes/libcxx[${MULTILIB_USEDEP}] )
libpfm? ( dev-libs/libpfm:= )
"
BDEPEND="
>=dev-build/cmake-3.10
doc? ( app-text/doxygen )
test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )
"
RDEPEND="
tools? (
$(python_gen_cond_dep '
dev-python/numpy[${PYTHON_USEDEP}]
>=dev-python/scipy-1.10.0[${PYTHON_USEDEP}]
')
${PYTHON_DEPS}
)
"
PATCHES=( "${FILESDIR}/${P}-fix-documentation-installation.patch" )
pkg_setup() {
use tools && python-single-r1_pkg_setup
}
multilib_src_configure() {
local mycmakeargs=(
-DBENCHMARK_ENABLE_DOXYGEN="$(usex doc)"
-DBENCHMARK_ENABLE_EXCEPTIONS="$(usex exceptions)"
-DBENCHMARK_ENABLE_GTEST_TESTS="$(usex test)"
-DBENCHMARK_ENABLE_LTO="$(usex lto)"
-DBENCHMARK_ENABLE_LIBPFM="$(usex libpfm)"
-DBENCHMARK_ENABLE_TESTING="$(usex test)"
-DBENCHMARK_ENABLE_WERROR=OFF
-DBENCHMARK_INSTALL_DOCS="$(usex doc)"
-DBENCHMARK_USE_BUNDLED_GTEST=OFF
-DBENCHMARK_USE_LIBCXX="$(usex libcxx)"
)
cmake_src_configure
}
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
}

View File

@@ -10,14 +10,10 @@
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="exceptions">Enable the use of exceptions in the benchmark library</flag>
<flag name="libcxx">Use <pkg>llvm-runtimes/libcxx</pkg> instead of libstdc++ as the default stdlib</flag>
<flag name="libpfm">Enable <pkg>dev-libs/libpfm</pkg> support</flag>
<flag name="tools">Install some additional Python tools</flag>
</use>
<use lang="fr">
<flag name="exceptions">Utiliser les exceptions inclues dans la bibliothèque</flag>
<flag name="libcxx">Utiliser <pkg>llvm-runtimes/libcxx</pkg> à la place de libstdc++ comme bibliothèque standard</flag>
<flag name="libpfm">Activer le support de <pkg>dev-libs/libpfm</pkg></flag>
<flag name="tools">Installer des outils Python additionnels</flag>
</use>