Skip to content

Commit

Permalink
remove cmake repetition
Browse files Browse the repository at this point in the history
  • Loading branch information
haochengxia committed Dec 15, 2024
1 parent 2c22bcf commit ecd0f01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/install_dependency.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eu # Enable error checking and command tracing

setup_ubuntu() {
sudo apt update
sudo apt install -yqq build-essential cmake google-perftools xxhash
sudo apt install -yqq build-essential google-perftools xxhash

sudo apt install -yqq libglib2.0-dev libunwind-dev
sudo apt install -yqq libgoogle-perftools-dev
Expand All @@ -25,6 +25,8 @@ install_cmake() {
bash cmake-3.31.0-linux-x86_64.sh --skip-license --prefix=$HOME/software/cmake;
echo 'export PATH=$HOME/software/cmake/bin:$PATH' >> $HOME/.bashrc;
echo 'export PATH=$HOME/software/cmake/bin:$PATH' >> $HOME/.zshrc;
source $HOME/.bashrc;
source $HOME/.zshrc;
popd;
}

Expand Down

0 comments on commit ecd0f01

Please sign in to comment.