[Mlir-commits] [mlir] [mlir][test] Make SME e2e tests require an emulator (PR #86489)
Benjamin Maxwell
llvmlistbot at llvm.org
Tue Mar 26 05:36:12 PDT 2024
================
@@ -39,6 +39,11 @@ if (MLIR_INCLUDE_INTEGRATION_TESTS)
option(MLIR_RUN_ARM_SVE_TESTS "Run Arm SVE tests.")
option(MLIR_RUN_ARM_SME_TESTS "Run Arm SME tests.")
+ # With no ArmSME hardware available today, we need to make sure that ArmSME
+ # e2e are only run when an emulator has been set.
+ if (MLIR_RUN_ARM_SME_TESTS AND ARM_EMULATOR_EXECUTABLE STREQUAL "")
+ message(FATAL_ERROR "MLIR_RUN_SME_TESTS requires an emuator, but ARM_EMULATOR_EXECUTABLE is not set")
----------------
MacDue wrote:
nit: typo
```suggestion
message(FATAL_ERROR "MLIR_RUN_ARM_SME_TESTS requires an emuator, but ARM_EMULATOR_EXECUTABLE is not set")
```
https://github.com/llvm/llvm-project/pull/86489
More information about the Mlir-commits
mailing list