[all-commits] [llvm/llvm-project] 64466b: [mlir][test] Add emulator to the mlir-cpu-runner i...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Thu Jul 20 12:09:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64466b777bec33f5830c08bacf07b2e30c0ae4a2
      https://github.com/llvm/llvm-project/commit/64466b777bec33f5830c08bacf07b2e30c0ae4a2
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M mlir/test/Integration/lit.local.cfg

  Log Message:
  -----------
  [mlir][test] Add emulator to the mlir-cpu-runner invocation

In https://reviews.llvm.org/D146917, MLIR's LIT configuration was
updated to allow us to use `mlir-cpu-runner` to run Arm SVE integration
tests. That update broke the following buildbot that doesn't support
SVE:

  https://lab.llvm.org/buildbot/#/builders/179/builds/6704

While that bot doesn't support SVE, it can run SVE tests under
emulation. This patch makes sure that whenever an Arm emulator is set
(via `RM_EMULATOR_EXECUTABLE` CMake variable), it is used to run both
`lli` _and_ `mlir-cpu-runner`.

I am sending this without a review as it's a rather trivial change and I
want to quickly fix the spurious bot failure.




More information about the All-commits mailing list