Skip to content

Commit

Permalink
install packages first
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Jul 29, 2023
1 parent c84d83e commit 65a75a5
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions features/src/llvm/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )";

LLVM_VERSION="${VERSION:-}";

check_packages \
gpg \
wget \
apt-utils \
lsb-release \
gettext-base \
bash-completion \
ca-certificates \
apt-transport-https \
software-properties-common \
;

if [[ -z "$LLVM_VERSION" \
|| "$LLVM_VERSION" == "latest" \
|| "$LLVM_VERSION" == "dev" \
Expand All @@ -23,18 +35,6 @@ if [[ -z "$LLVM_VERSION" \
LLVM_VERSION="$(echo $LLVM_VERSION | grep -oP '[0-9]+')";
fi

check_packages \
gpg \
wget \
apt-utils \
lsb-release \
gettext-base \
bash-completion \
ca-certificates \
apt-transport-https \
software-properties-common \
;

echo "Installing llmv-${LLVM_VERSION} compilers and tools";

./llvm.sh $LLVM_VERSION all;
Expand Down

0 comments on commit 65a75a5

Please sign in to comment.