Initial commit
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
[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"
|
||||
Reference in New Issue
Block a user