Skip to content

Commit

Permalink
Build with LLVM 12 (#515)
Browse files Browse the repository at this point in the history
* Build with LLVM 12

* Update scripts

* Fix syntax
  • Loading branch information
ekilmer authored May 17, 2021
1 parent 144224c commit 76f3725
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
llvm: [
'9',
'10',
'11'
'11',
'12'
]

runs-on: ubuntu-20.04
Expand Down Expand Up @@ -100,7 +101,8 @@ jobs:
'macos-10.15'
]
llvm: [
'11'
'11',
'12'
]

runs-on: ${{ matrix.os }}
Expand Down
4 changes: 4 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,10 @@ function GetLLVMVersion
LLVM_VERSION=llvm-11
return 0
;;
12)
LLVM_VERSION=llvm-12
return 0
;;
*)
# unknown option
echo "[x] Unknown LLVM version ${1}. You may be able to manually build it with cxx-common."
Expand Down
3 changes: 3 additions & 0 deletions scripts/docker-lifter-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ case ${LLVM_VERSION} in
llvm11*)
V=11
;;
llvm12*)
V=12
;;
*)
echo "Unknown LLVM version: ${LLVM_VERSION}"
exit 1
Expand Down

0 comments on commit 76f3725

Please sign in to comment.