diff options
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index 3ee9edc..9e4e0b0 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -279,6 +279,10 @@ if not 'hexagon' in config.target_triple: if config.have_zlib == "1": config.available_features.add("zlib") +# Native compilation: host arch == target arch +if config.host_arch in config.target_triple: + config.available_features.add("native") + # llc knows whether he is compiled with -DNDEBUG. import subprocess try: |