pikapython/port/linux/install_dependency.sh
2022-05-02 18:11:12 +08:00

12 lines
533 B
Bash

sudo apt install cmake -y
sudo apt install g++ -y
sudo apt install valgrind -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
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
sudo apt install ninja-build -y
rm google_benchmark -rf