diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-05-11 12:31:08 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-05-11 12:59:26 +0100 |
commit | 4d5bc987ffb6b29a0942e5b1974a944891bb2b85 (patch) | |
tree | a39719f673eba61dacb46ee52d6b6a99b5b59120 /dev-cpp/benchmark | |
parent | app-admin/ansible-lint: add 6.16.0 (diff) | |
download | gentoo-4d5bc987ffb6b29a0942e5b1974a944891bb2b85.tar.gz gentoo-4d5bc987ffb6b29a0942e5b1974a944891bb2b85.tar.bz2 gentoo-4d5bc987ffb6b29a0942e5b1974a944891bb2b85.zip |
dev-cpp/benchmark: add 1.8.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-cpp/benchmark')
-rw-r--r-- | dev-cpp/benchmark/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/benchmark/benchmark-1.8.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-cpp/benchmark/Manifest b/dev-cpp/benchmark/Manifest index 900399204172..1c72bf65a157 100644 --- a/dev-cpp/benchmark/Manifest +++ b/dev-cpp/benchmark/Manifest @@ -1 +1,2 @@ DIST benchmark-1.7.1.tar.gz 196575 BLAKE2B 05a0ae69c0eee231b5d3c06d474c89680e4a2dfaae2ac0ffa1777cf011907cce6230648bfdb631008c2aa10f01b55652f58949849714d6333c5a0351ef42e567 SHA512 396af1c1d3eaa2b78c6d23b1472f6088db85a294056ae1c2366dc5c0becdc8f141ba8fc3a235033324ab0a41c2298f5d242ef09b9b6f69d9877de6bcb2062efd +DIST benchmark-1.8.0.tar.gz 204701 BLAKE2B d4a2b673152c784efef118b7c5e2971a7f7749b2bbb3b5eb09d1567261853a3e85983e82bbb3a470be72204581a2d031b194cb92d4386e120ffaab71c8a58f6b SHA512 ae8df163ca1319752a03497a259800dc33c71164e7def2feeadcf18d018c64eaf846ea2a562183e3d3cde0af58291de0b091ec6d9c025076f469c403b2ab0d51 diff --git a/dev-cpp/benchmark/benchmark-1.8.0.ebuild b/dev-cpp/benchmark/benchmark-1.8.0.ebuild new file mode 100644 index 000000000000..10aeaa981372 --- /dev/null +++ b/dev-cpp/benchmark/benchmark-1.8.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="A microbenchmark support library" +HOMEPAGE="https://github.com/google/benchmark" +SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="debug doc lto test" + +RESTRICT="!test? ( test )" + +BDEPEND="doc? ( app-doc/doxygen ) + test? ( >=dev-cpp/gtest-1.11.0 )" + +src_configure() { + local mycmakeargs=( + -DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF + -DBENCHMARK_ENABLE_DOXYGEN=$(usex doc) + -DBENCHMARK_ENABLE_GTEST_TESTS=$(usex test) + -DBENCHMARK_ENABLE_LTO=$(usex lto) + -DBENCHMARK_ENABLE_TESTING=$(usex test) + -DBENCHMARK_ENABLE_WERROR=OFF + -DBENCHMARK_USE_BUNDLED_GTEST=OFF + ) + + use debug || append-cppflags -DNDEBUG + + cmake_src_configure +} |