Skip to content

Commit

Permalink
[mlir][sve] Canonicalise MLIR_RUN_ARM_SVE_TESTS
Browse files Browse the repository at this point in the history
Similarly to other CMake variables used to configure LIT tests, this
patch makes sure that MLIR_RUN_ARM_SVE_TESTS is canonicalised. The
corresponding LIT configuration is updated accordingly.

Differential Revision: https://reviews.llvm.org/D136967
  • Loading branch information
banach-space committed Oct 28, 2022
1 parent 6130d67 commit dd109f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mlir/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ llvm_canonicalize_cmake_booleans(
MLIR_RUN_AMX_TESTS
MLIR_RUN_CUDA_TENSOR_CORE_TESTS
MLIR_RUN_X86VECTOR_TESTS
MLIR_RUN_ARM_SVE_TESTS
)

configure_lit_site_cfg(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys

# ArmSVE tests must be enabled via build flag.
if config.mlir_run_arm_sve_tests != 'ON':
if not config.mlir_run_arm_sve_tests:
config.unsupported = True

# No JIT on win32.
Expand Down

0 comments on commit dd109f6

Please sign in to comment.