diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2015-09-16 05:34:32 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2015-09-16 05:34:32 +0000 |
commit | 793a2b15e7c0b8340fc3369348444823e55ceba5 (patch) | |
tree | 0eb4275978b8f78d0dd183d20779e17d10d771d7 /test/CodeGen/Generic/lit.local.cfg | |
parent | ecd56aa51827c1236bbbfa802731621951d41e53 (diff) |
Make the default triple optional by allowing an empty string
When building LLVM as a (potentially dynamic) library that can be linked against
by multiple compilers, the default triple is not really meaningful.
We allow to explicitely set it to an empty string when configuring LLVM.
In this case, said "target independent" tests in the test suite that are using
the default triple are disabled by matching the newly available feature
"default_triple".
Reviewers: probinson, echristo
Differential Revision: http://reviews.llvm.org/D12660
From: Mehdi Amini <mehdi.amini@apple.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic/lit.local.cfg')
-rw-r--r-- | test/CodeGen/Generic/lit.local.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Generic/lit.local.cfg b/test/CodeGen/Generic/lit.local.cfg index f3f03bd7047..f22d4aabd73 100644 --- a/test/CodeGen/Generic/lit.local.cfg +++ b/test/CodeGen/Generic/lit.local.cfg @@ -1,3 +1,3 @@ -if 'native' not in config.available_features: +if not config.target_triple: config.unsupported = True |