install_dependency.sh 533 B

1234567891011
  1. sudo apt install cmake -y
  2. sudo apt install g++ -y
  3. sudo apt install valgrind -y
  4. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  5. git clone https://github.com/google/benchmark.git google_benchmark && cd google_benchmark && cmake -E make_directory "build" && cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release ../ && cmake --build "build" --config Release && sudo cmake --build "build" --config Release --target install
  6. sudo apt install ninja-build -y
  7. rm google_benchmark -rf