Skip to content

Commit

Permalink
Fix installing ubuntu dependencies in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
majetideepak committed Mar 7, 2024
1 parent d3a794a commit a9ad23f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
- name: "Install dependencies"
if: ${{ github.event_name == 'pull_request' }}
run: source velox/scripts/setup-ubuntu.sh
run: sudo ./velox/scripts/setup-ubuntu.sh

- name: Build Baseline Benchmarks
if: ${{ github.event_name == 'pull_request' }}
Expand All @@ -115,7 +115,7 @@ jobs:
submodules: 'recursive'

- name: "Install dependencies"
run: source velox/scripts/setup-ubuntu.sh
run: ./velox/scripts/setup-ubuntu.sh

- name: Build Contender Benchmarks
working-directory: velox
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function install_fmt {
function install_boost {
github_checkout boostorg/boost "${BOOST_VERSION}" --recursive
./bootstrap.sh --prefix=/usr/local
./b2 "-j$(nproc)" -d0 install threading=multi
sudo ./b2 "-j$(nproc)" -d0 install threading=multi
}

function install_folly {
Expand Down

0 comments on commit a9ad23f

Please sign in to comment.