Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Install packages and modules for format #11649

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions scripts/setup-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,14 @@ function install_build_prerequisites {

}

# Install packages required to fix format
function install_format_prerequisites {
pip3 install regex
${SUDO} apt install -y \
clang-format \
cmake-format
}

# Install packages required for build.
function install_velox_deps_from_apt {
${SUDO} apt update
Expand Down Expand Up @@ -286,6 +294,7 @@ function install_velox_deps {

function install_apt_deps {
install_build_prerequisites
install_format_prerequisites
install_velox_deps_from_apt
}

Expand Down
Loading