From d14767907eae9d409100f5d67a907658ffd8817f Mon Sep 17 00:00:00 2001 From: Paul Robinson Date: Fri, 28 Aug 2015 23:21:15 +0000 Subject: [PATCH] The host and default target triples do not need to match for "native" backend to work. Differential Revision: http://reviews.llvm.org/D12454 llvm-svn: 246350 --- test/lit.cfg | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/lit.cfg b/test/lit.cfg index 38a2ec20ec8..f0ed689e0ae 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -340,11 +340,8 @@ if config.have_zlib == "1": else: config.available_features.add("nozlib") -# Native compilation: host arch == target arch and native backend built-in -# FIXME: Consider cases that target can be executed -# even if host_triple were different from target_triple. -if (config.host_triple == config.target_triple and - config.native_target in config.targets_to_build): +# Native compilation: host arch (native) backend built-in +if config.native_target in config.targets_to_build: config.available_features.add("native") import subprocess