diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-07 19:02:15 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-07 19:02:15 +0000 |
| commit | c4ba653ef75f5044b7352cfcea4a00f5c2398f6a (patch) | |
| tree | 2993fdc2f8236909d5324a4129d97ebe6c1a2808 /dev-cpp/benchmark/benchmark-1.9.0.ebuild | |
| parent | 64fd37fe392cfc87edb8c374da73ef1ad3b176f3 (diff) | |
| download | srcux-c4ba653ef75f5044b7352cfcea4a00f5c2398f6a.tar.gz srcux-c4ba653ef75f5044b7352cfcea4a00f5c2398f6a.tar.xz srcux-c4ba653ef75f5044b7352cfcea4a00f5c2398f6a.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/benchmark/benchmark-1.9.0.ebuild')
| -rw-r--r-- | dev-cpp/benchmark/benchmark-1.9.0.ebuild | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/dev-cpp/benchmark/benchmark-1.9.0.ebuild b/dev-cpp/benchmark/benchmark-1.9.0.ebuild deleted file mode 100644 index 0170bbaf69e0..000000000000 --- a/dev-cpp/benchmark/benchmark-1.9.0.ebuild +++ /dev/null @@ -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_{9,10,11,12,13} ) - -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 -} |
