diff --git a/crates/committer_cli/benches/bench_split_and_prepare_post.sh b/crates/committer_cli/benches/bench_split_and_prepare_post.sh index 2bc4e33453..8a6ef5c091 100644 --- a/crates/committer_cli/benches/bench_split_and_prepare_post.sh +++ b/crates/committer_cli/benches/bench_split_and_prepare_post.sh @@ -2,6 +2,10 @@ set -e +# TODO: Fix installation of lld in CI. +[[ ${UID} == "0" ]] || SUDO="sudo" +$SUDO bash -c 'apt update && apt install -y lld' + benchmarks_list=${1} benchmark_results=${2} # Benchmark the new code, splitting the benchmarks diff --git a/scripts/dependencies.sh b/scripts/dependencies.sh index 50962c7368..48ac9e709e 100755 --- a/scripts/dependencies.sh +++ b/scripts/dependencies.sh @@ -31,6 +31,7 @@ function setup_llvm_deps() { Linux) $SUDO bash -c 'curl https://apt.llvm.org/llvm.sh -Lo llvm.sh bash ./llvm.sh 18 all + rm -f ./llvm.sh apt update && apt install -y \ libgmp3-dev \ libmlir-18-dev \