aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-07-10 16:30:54 +0100
committergingerBill <bill@gingerbill.org>2021-07-10 16:30:54 +0100
commit3bf14fa7ec34bff062724fa008a7a55684650509 (patch)
tree794f25bb3812d124f751e465035d226e2d37621a /Makefile
parentfa509950981f381cc1ba10882982f156153bc244 (diff)
Update CI and Makefile and build.batllvm-12-support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 86460cced..132282771 100644
--- a/Makefile
+++ b/Makefile
@@ -9,10 +9,10 @@ OS=$(shell uname)
ifeq ($(OS), Darwin)
LLVM_CONFIG=llvm-config
- ifneq ($(shell llvm-config --version | grep '^11\.'),)
+ ifneq ($(shell llvm-config --version | grep '^12\.'),)
LLVM_CONFIG=llvm-config
else
- $(error "Requirement: llvm-config must be version 11")
+ $(error "Requirement: llvm-config must be version 12.0.1")
endif
LDFLAGS:=$(LDFLAGS) -liconv
@@ -20,14 +20,14 @@ ifeq ($(OS), Darwin)
LDFLAGS:=$(LDFLAGS) -lLLVM-C
endif
ifeq ($(OS), Linux)
- LLVM_CONFIG=llvm-config-11
- ifneq ($(shell which llvm-config-11 2>/dev/null),)
- LLVM_CONFIG=llvm-config-11
+ LLVM_CONFIG=llvm-config-12
+ ifneq ($(shell which llvm-config-12 2>/dev/null),)
+ LLVM_CONFIG=llvm-config-12
else
- ifneq ($(shell llvm-config --version | grep '^11\.'),)
+ ifneq ($(shell llvm-config --version | grep '^12\.'),)
LLVM_CONFIG=llvm-config
else
- $(error "Requirement: llvm-config must be version 11")
+ $(error "Requirement: llvm-config must be version 12.0.1")
endif
endif