pikapython/port/linux/install_dependency.sh

10 lines
462 B
Bash
Raw Normal View History

2022-02-01 18:25:51 +08:00
apt install cmake -y
apt install g++ -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
2022-01-04 09:06:13 +08:00
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
rm google_benchmark -rf