Skip to content

Commit

Permalink
Fix llvm download script
Browse files Browse the repository at this point in the history
  • Loading branch information
lzydmxy committed Sep 24, 2024
1 parent f06a7d0 commit 68eea23
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/prepare-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@ llvm_priority=300

sudo apt install -y ninja-build ccache

# install llvm
wget https://apt.llvm.org/llvm.sh

# Check if the desired LLVM version is already installed
if ! llvm-config-${llvm_version} --version &>/dev/null; then
sudo ./llvm.sh ${llvm_version} all
sudo curl -sL https://apt.llvm.org/llvm.sh | sudo bash -s -- 18 all
else
echo "LLVM ${llvm_version} is already installed."
fi
Expand Down

0 comments on commit 68eea23

Please sign in to comment.