llvm-project/third-party/update_benchmark.sh
Jordan Rupprecht cc7544e230
[benchmark] Delete WORKSPACE bzl files (#84013)
As like 48d868493fa74025e7768afacdbbbd3ea9c82468, `WORKSPACE` is another
bazel-specific file that is unused. LLVM's bazel configuration is
entirely in `utils/bazel`.
2024-03-05 13:31:57 -06:00

18 lines
575 B
Bash
Executable File

#!/bin/bash
echo "This script deletes `benchmark`, clones it from github, together"
echo "with its dependencies. It then removes .git* files and dirs."
echo "NOTE!!!"
echo "Please double-check the benchmark github wiki for any changes"
echo "to dependencies. Currently, these are limited to googletest."
echo
read -p "Press a key to continue, or Ctrl+C to cancel"
rm -rf benchmark
git clone https://github.com/google/benchmark.git
rm -rf benchmark/.git*
find benchmark/ -name BUILD -delete
find benchmark/ -name BUILD.bazel -delete
find benchmark/ -name WORKSPACE -delete