From b0162651d3997a15e7bef7081e9b28f81f1db1f5 Mon Sep 17 00:00:00 2001 From: Dori Medini Date: Mon, 21 Oct 2024 14:07:17 +0300 Subject: [PATCH] fix(ci): remove dangling artifact from dependencies.sh Signed-off-by: Dori Medini --- crates/committer_cli/benches/bench_split_and_prepare_post.sh | 4 ++++ scripts/dependencies.sh | 1 + 2 files changed, 5 insertions(+) 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 \