Skip to content

Commit

Permalink
Add new clang versions as possible toolchains (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
bretambrose authored Mar 11, 2021
1 parent 5a7ed97 commit 30a0049
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions builder/imports/llvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
set -eux
# read optional command line argument
LLVM_VERSION=9
LLVM_VERSION=12
if [ "$#" -eq 1 ]; then
LLVM_VERSION=$1
fi
Expand All @@ -50,7 +50,10 @@
LLVM_VERSION_PATTERNS[7]="-7"
LLVM_VERSION_PATTERNS[8]="-8"
LLVM_VERSION_PATTERNS[9]="-9"
LLVM_VERSION_PATTERNS[10]=""
LLVM_VERSION_PATTERNS[10]="-10"
LLVM_VERSION_PATTERNS[11]="-11"
LLVM_VERSION_PATTERNS[12]="-12"
LLVM_VERSION_PATTERNS[13]=""
if [ ! ${LLVM_VERSION_PATTERNS[$LLVM_VERSION]+_} ]; then
echo "This script does not support LLVM version $LLVM_VERSION"
Expand Down

0 comments on commit 30a0049

Please sign in to comment.