From 8d20d83dd78e3bb2dae36bf0dbc81eff1dca5d76 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Fri, 14 Jan 2022 07:33:06 +0000 Subject: [PATCH] Fix a comment in CMake (NFC) --- mlir/test/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mlir/test/CMakeLists.txt b/mlir/test/CMakeLists.txt index e6bbd30c62ef..415f0bb50cec 100644 --- a/mlir/test/CMakeLists.txt +++ b/mlir/test/CMakeLists.txt @@ -94,7 +94,9 @@ set(MLIR_TEST_DEPENDS mlir_async_runtime ) -# The native target may not be enabled when cross compiling, raise an error. +# The native target may not be enabled, in this case we won't +# run tests that involves executing on the host: do not build +# useless binaries. if(TARGET ${LLVM_NATIVE_ARCH}) list(APPEND MLIR_TEST_DEPENDS mlir-cpu-runner