Files
packages/extra/benchmark/benchmark.toml
T
2026-03-21 12:43:00 -05:00

37 lines
735 B
TOML

[build]
type = "cmake"
[build.flags]
build_dir = "build"
configure = [
"-DBUILD_SHARED_LIBS=ON",
"-DCMAKE_CXX_FLAGS=${CXXFLAGS} -DNDEBUG",
"-DBENCHMARK_ENABLE_LTO=ON",
"-DBENCHMARK_ENABLE_GTEST_TESTS=OFF",
"-G Ninja"
]
skip_tests = true
[dependencies]
build = [
"cmake",
"ninja",
]
runtime = [
"libcxx",
"libunwind",
"python"
]
[package]
description = "microbenchmark support library"
homepage = "https://github.com/google/benchmark"
license = "Apache-2.0"
name = "benchmark"
version = "1.9.5"
[[source]]
extract_dir = "$name-$version"
sha256 = "9631341c82bac4a288bef951f8b26b41f69021794184ece969f8473977eaa340"
url = "https://github.com/google/benchmark/archive/refs/tags/v$version.tar.gz"