1
1
class GoogleBenchmark < Formula
2
2
desc "C++ microbenchmark support library"
3
3
homepage "https://github.com/google/benchmark"
4
- url "https://github.com/google/benchmark/archive/refs/tags/v1.9.1 .tar.gz"
5
- sha256 "32131c08ee31eeff2c8968d7e874f3cb648034377dfc32a4c377fa8796d84981 "
4
+ url "https://github.com/google/benchmark/archive/refs/tags/v1.9.2 .tar.gz"
5
+ sha256 "409075176168dc46bbb81b74c1b4b6900385b5d16bfc181d678afb060d928bd3 "
6
6
license "Apache-2.0"
7
7
head "https://github.com/google/benchmark.git" , branch : "main"
8
8
9
9
bottle do
10
- sha256 cellar : :any_skip_relocation , arm64_sequoia : "640ba4c9e992d27b80aeb54e9cabf1d9386c230440940ebdf02e8f7db09713a8 "
11
- sha256 cellar : :any_skip_relocation , arm64_sonoma : "1c9fc96575cd6f7e7241e359df03a9dbaffea569c160b0cab81d54aa9593e352 "
12
- sha256 cellar : :any_skip_relocation , arm64_ventura : "89a1537bc5004572aa0277a5c113e3907b4453b0ccf15b4c0d980a70c5afc117 "
13
- sha256 cellar : :any_skip_relocation , sonoma : "0e63378d17e3a72b1c7a198a61e74ca823217edbb1abf080ad64d093b107a699 "
14
- sha256 cellar : :any_skip_relocation , ventura : "bf91cfbe179fb24d2c297fbc87d01e028862340b82a94b9018e59e1f3716bce6 "
15
- sha256 cellar : :any_skip_relocation , arm64_linux : "19d3aadbccf3360938e155dd48b949a4571c67a3ee4eb7e24e0ff559991a1d12 "
16
- sha256 cellar : :any_skip_relocation , x86_64_linux : "e8a44839b256fd772353566f2cd8a73266e90a72da964454730481e62dc020f4 "
10
+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "f0676c30ba82c95b4c4aea312440390f63d0feaca33ae74779a37750c97df56a "
11
+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "3b6cdab0a525f0bedd85e42d88c24df6895d74129a0e91d404a281fde8c2e45c "
12
+ sha256 cellar : :any_skip_relocation , arm64_ventura : "551d7ade1d078ca9d41198c11b2a4935545d82000c21bba64bfa531de196e597 "
13
+ sha256 cellar : :any_skip_relocation , sonoma : "8b90185572865b582432fbf48a404f26aeb3448dbeeb765e4439e4c262fa18ca "
14
+ sha256 cellar : :any_skip_relocation , ventura : "d3683500e476bb47bbb3c960552620b374af7fa606c96dc7f046b657b495aa74 "
15
+ sha256 cellar : :any_skip_relocation , arm64_linux : "5e1013d1853765ad47f5d91def16096ad3f5b11f2b50d392845e66b4587bafb7 "
16
+ sha256 cellar : :any_skip_relocation , x86_64_linux : "ec39d18dae247211ee8a4d9786d5f1c76b7e92273632cbcf2d0ab0d970ca208f "
17
17
end
18
18
19
19
depends_on "cmake" => :build
@@ -40,7 +40,7 @@ def install
40
40
BENCHMARK_MAIN();
41
41
CPP
42
42
flags = [ "-I#{ include } " , "-L#{ lib } " , "-lbenchmark" , "-pthread" ] + ENV . cflags . to_s . split
43
- system ENV . cxx , "-o" , "test" , "test.cpp" , *flags
43
+ system ENV . cxx , "-std=c++17" , "- o", "test" , "test.cpp" , *flags
44
44
system "./test"
45
45
end
46
46
end
0 commit comments