[all-commits] [llvm/llvm-project] 59f45a: Mark some LLVM tests which require a default_tripl...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Jun 18 23:36:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 59f45a1cdb361b2a6f6e75fad6d3055a1b7f9602
      https://github.com/llvm/llvm-project/commit/59f45a1cdb361b2a6f6e75fad6d3055a1b7f9602
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-06-19 (Fri, 19 Jun 2020)

  Changed paths:
    M llvm/test/Bindings/Go/go.test
    M llvm/test/Examples/Kaleidoscope/Chapter4.test
    M llvm/test/Examples/Kaleidoscope/Chapter5.test
    M llvm/test/Examples/Kaleidoscope/Chapter6.test
    M llvm/test/Examples/Kaleidoscope/Chapter7.test

  Log Message:
  -----------
  Mark some LLVM tests which require a default_triple (NFC)

These tests involve a JIT, and like other tests should have the
REQUIRE: default_triple present.
This allow to run `ninja check` without the host target configured
in.


  Commit: bc14c77a1e8818ed8647e5bc92e3cd38f27fda41
      https://github.com/llvm/llvm-project/commit/bc14c77a1e8818ed8647e5bc92e3cd38f27fda41
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-06-19 (Fri, 19 Jun 2020)

  Changed paths:
    M mlir/test/lit.cfg.py
    M mlir/test/mlir-cpu-runner/lit.local.cfg

  Log Message:
  -----------
  Fix `check-mlir` target when the host target isn't configured

This patch adds the `default_triple` feature to MLIR test suite.
This feature was added to LLVM in d178f4fc8 in order to be able to
run the LLVM tests without having the host targets configured in.
With this change, `ninja check-mlir` passes without the host
target, i.e. this config:

  cmake ../llvm -DLLVM_TARGETS_TO_BUILD="" -DLLVM_DEFAULT_TARGET_TRIPLE="" -DLLVM_ENABLE_PROJECTS=mlir -GNinja

Differential Revision: https://reviews.llvm.org/D82142


Compare: https://github.com/llvm/llvm-project/compare/c113b59ef525...bc14c77a1e88


More information about the All-commits mailing list