Skip to content

Commit 76f3725

Browse files
authored
Build with LLVM 12 (#515)
* Build with LLVM 12 * Update scripts * Fix syntax
1 parent 144224c commit 76f3725

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
llvm: [
2828
'9',
2929
'10',
30-
'11'
30+
'11',
31+
'12'
3132
]
3233

3334
runs-on: ubuntu-20.04
@@ -100,7 +101,8 @@ jobs:
100101
'macos-10.15'
101102
]
102103
llvm: [
103-
'11'
104+
'11',
105+
'12'
104106
]
105107

106108
runs-on: ${{ matrix.os }}

scripts/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,10 @@ function GetLLVMVersion
305305
LLVM_VERSION=llvm-11
306306
return 0
307307
;;
308+
12)
309+
LLVM_VERSION=llvm-12
310+
return 0
311+
;;
308312
*)
309313
# unknown option
310314
echo "[x] Unknown LLVM version ${1}. You may be able to manually build it with cxx-common."

scripts/docker-lifter-entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ case ${LLVM_VERSION} in
4343
llvm11*)
4444
V=11
4545
;;
46+
llvm12*)
47+
V=12
48+
;;
4649
*)
4750
echo "Unknown LLVM version: ${LLVM_VERSION}"
4851
exit 1

0 commit comments

Comments
 (0)