File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: c3879c19c2d5141d9f554687552c234b64b029c7
2
+ refs/heads/master: 6b9a9a787435f934c6d616f9720dabce24416a76
Original file line number Diff line number Diff line change @@ -168,14 +168,13 @@ endif
168
168
ifneq ($(CFG_LLVM_CONFIG ) ,)
169
169
CFG_LLVM_VERSION := $(shell $(CFG_LLVM_CONFIG ) --version)
170
170
$(info cfg : found llvm-config at $(CFG_LLVM_CONFIG ) )
171
- ifneq ($(findstring 2.8,$(CFG_LLVM_VERSION)),)
172
- $(info cfg : using LLVM version $(CFG_LLVM_VERSION ) )
173
- else ifneq ($(findstring 2.9,$(CFG_LLVM_VERSION)),)
171
+ CFG_LLVM_ALLOWED_VERSIONS := 2.8svn 2.8 2.9svn
172
+ ifneq ($(findstring $(CFG_LLVM_VERSION),$(CFG_LLVM_ALLOWED_VERSIONS)),)
174
173
$(info cfg : using LLVM version $(CFG_LLVM_VERSION ) )
175
174
else
176
175
CFG_LLVM_CONFIG :=
177
176
$(info cfg : incompatible LLVM version $(CFG_LLVM_VERSION ) , \
178
- expected 2.8 )
177
+ expected one of $(CFG_LLVM_ALLOWED_VERSIONS )
179
178
endif
180
179
endif
181
180
ifneq ($(CFG_LLVM_CONFIG ) ,)
You can’t perform that action at this time.
0 commit comments