summaryrefslogtreecommitdiff
path: root/test cases/frameworks
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-09-26 12:15:12 -0700
committerDylan Baker <dylan@pnwbakers.com>2017-09-26 13:06:22 -0700
commit035bee5c543b9809abc1db8a8b93bf8d8205b5a7 (patch)
tree56ea32755b9d05ad782d730ffd8e9041c21e8543 /test cases/frameworks
parent95ba1fcab2d4c34b31c70b2ab9b98e4c0c43ad56 (diff)
downloadmeson-035bee5c543b9809abc1db8a8b93bf8d8205b5a7.tar.gz
deps: demote LLVM config to instance variable
Which fixes trying to use multiple versions of LLVM, and allows simplifying the class somewhat.
Diffstat (limited to 'test cases/frameworks')
-rw-r--r--test cases/frameworks/15 llvm/meson.build5
1 files changed, 2 insertions, 3 deletions
diff --git a/test cases/frameworks/15 llvm/meson.build b/test cases/frameworks/15 llvm/meson.build
index af7f8c63d..e1d97cb70 100644
--- a/test cases/frameworks/15 llvm/meson.build
+++ b/test cases/frameworks/15 llvm/meson.build
@@ -10,8 +10,7 @@ llvm_dep = dependency(
d = dependency('llvm', modules : 'not-found', required : false)
assert(d.found() == false, 'not-found llvm module found')
-# XXX: Version checks are broken, see FIXME in LLVMDependency
-#d = dependency('llvm', version : '<0.1', required : false)
-#assert(d.found() == false, 'ancient llvm module found')
+d = dependency('llvm', version : '<0.1', required : false)
+assert(d.found() == false, 'ancient llvm module found')
executable('sum', 'sum.c', dependencies : llvm_dep)