Skip to content

Commit 81f2d99

Browse files
rilliangraydon
authored andcommitted
---
yaml --- r: 827 b: refs/heads/master c: 6b9a9a7 h: refs/heads/master i: 825: c3afcab 823: 6f66da4 v: v3
1 parent a496a8c commit 81f2d99

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: c3879c19c2d5141d9f554687552c234b64b029c7
2+
refs/heads/master: 6b9a9a787435f934c6d616f9720dabce24416a76

trunk/src/Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,13 @@ endif
168168
ifneq ($(CFG_LLVM_CONFIG),)
169169
CFG_LLVM_VERSION := $(shell $(CFG_LLVM_CONFIG) --version)
170170
$(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)),)
174173
$(info cfg: using LLVM version $(CFG_LLVM_VERSION))
175174
else
176175
CFG_LLVM_CONFIG :=
177176
$(info cfg: incompatible LLVM version $(CFG_LLVM_VERSION), \
178-
expected 2.8)
177+
expected one of $(CFG_LLVM_ALLOWED_VERSIONS)
179178
endif
180179
endif
181180
ifneq ($(CFG_LLVM_CONFIG),)

0 commit comments

Comments
 (0)