Skip to content

Commit f40c56f

Browse files
committed
add dev env install
1 parent f078250 commit f40c56f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

scripts/install_dependency.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ setup_ubuntu() {
110110
sudo apt update
111111
sudo apt install -yqq build-essential google-perftools xxhash
112112
sudo apt install -yqq libglib2.0-dev libunwind-dev
113-
sudo apt install -yqq libgoogle-perftools-dev clang-tidy
113+
sudo apt install -yqq libgoogle-perftools-dev
114114
}
115115

116116
setup_centos() {
@@ -223,6 +223,13 @@ install_zstd() {
223223
popd > /dev/null
224224
}
225225

226+
install_dev() {
227+
log_info "Installing development dependencies..."
228+
sudo apt install -yqq libglib2.0-dev libunwind-dev
229+
sudo apt install -yqq libgoogle-perftools-dev clang-tidy
230+
bash ./setup-hook.sh
231+
}
232+
226233
# Main installation logic
227234
main() {
228235
# Detect OS and setup basic dependencies

0 commit comments

Comments
 (0)