diff --git a/mlir/test/CAPI/execution_engine.c b/mlir/test/CAPI/execution_engine.c --- a/mlir/test/CAPI/execution_engine.c +++ b/mlir/test/CAPI/execution_engine.c @@ -9,8 +9,8 @@ /* RUN: mlir-capi-execution-engine-test 2>&1 | FileCheck %s */ -/* REQUIRES: llvm_has_native_target -*/ +/* REQUIRES: native + */ #include "mlir-c/Conversion.h" #include "mlir-c/ExecutionEngine.h" diff --git a/mlir/test/lit.cfg.py b/mlir/test/lit.cfg.py --- a/mlir/test/lit.cfg.py +++ b/mlir/test/lit.cfg.py @@ -110,12 +110,6 @@ # it can be explicitly opted-in by prefixing the variable name with $ config.environment['FILECHECK_OPTS'] = "-enable-var-scope --allow-unused-prefixes=false" - -if config.native_target in config.targets_to_build: - config.available_features.add('llvm_has_native_target') - - - # Add the python path for both the source and binary tree. # Note that presently, the python sources come from the source tree and the # binaries come from the build tree. This should be unified to the build tree diff --git a/mlir/test/mlir-cpu-runner/lit.local.cfg b/mlir/test/mlir-cpu-runner/lit.local.cfg --- a/mlir/test/mlir-cpu-runner/lit.local.cfg +++ b/mlir/test/mlir-cpu-runner/lit.local.cfg @@ -8,7 +8,7 @@ if 'msan' in config.available_features: config.unsupported = True -# Requires the native target to be configured in. -if 'llvm_has_native_target' not in config.available_features: +# Requires native execution. +if 'native' not in config.available_features: config.unsupported = True diff --git a/mlir/test/python/execution_engine.py b/mlir/test/python/execution_engine.py --- a/mlir/test/python/execution_engine.py +++ b/mlir/test/python/execution_engine.py @@ -1,5 +1,5 @@ # RUN: %PYTHON %s 2>&1 | FileCheck %s -# REQUIRES: llvm_has_native_target +# REQUIRES: native import gc, sys from mlir.ir import * from mlir.passmanager import *