-
Notifications
You must be signed in to change notification settings - Fork 349
Update google benchmark to v1.9.1 #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Assuming that all patches in LLVM made in the interim were also patched in google/benchmark, LGTM |
Oh, gee - I didn't consider that. Is there a way I can check that? |
Should be easy to check the git log just for this directory: https://github.com/llvm/llvm-test-suite/commits/main/MicroBenchmarks/libs/benchmark |
So, below are the commits which appear in that log since b1854df -
|
Updated MicroBenchmarks/lib/benchmark/ using update_benchmark.sh with the change below: ``` diff --git a/MicroBenchmarks/libs/update_benchmark.sh b/MicroBenchmarks/libs/update_benchmark.sh index b4caa3c..c1f3e84f 100755 --- a/MicroBenchmarks/libs/update_benchmark.sh +++ b/MicroBenchmarks/libs/update_benchmark.sh @@ -9,8 +9,8 @@ echo read -p "Press a key to continue, or Ctrl+C to cancel" rm -rf benchmark -git clone https://github.com/google/benchmark.git -git clone https://github.com/google/googletest.git benchmark/googletest +git clone --branch=v1.9.1 https://github.com/google/benchmark.git +git clone --branch=v1.16.0 https://github.com/google/googletest.git benchmark/googletest rm -rf benchmark/googletest/.git* rm -rf benchmark/.git* ```
6c4a505
to
419e7da
Compare
FYI, seems unlikely that you wanted to tag @omjavaid there, perhaps someone else beginning with o ? |
MicroBenchmarks/libs/benchmark/test/options_test.cc fails to build on Linux/AArch64 with following error: error: variable 'actual_iterations' set but not used This patch adds benchmark::DoNotOptimize(actual_iterations); to to function BM_explicit_iteration_count in options_test.cc -Wall and -Werror were being used to compile and I am surprised that this was not caught by any of the buildbots. Some versions of clang compile this all fine with -Wall -Werror.
Updated MicroBenchmarks/lib/benchmark/ using
update_benchmark.sh
with the change below: