[all-commits] [llvm/llvm-project] 54dc76: [Flang][Test] Add support to change the default ta...

Usman Nadeem via All-commits all-commits at lists.llvm.org
Mon Nov 28 16:03:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54dc764db7ff31057aa09451b63737a74da1cf65
      https://github.com/llvm/llvm-project/commit/54dc764db7ff31057aa09451b63737a74da1cf65
  Author: Usman Nadeem <mnadeem at quicinc.com>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

  Changed paths:
    M flang/README.md
    M flang/test/CMakeLists.txt
    M flang/test/Unit/lit.cfg.py
    M flang/test/Unit/lit.site.cfg.py.in
    M flang/test/lit.cfg.py
    M flang/test/lit.site.cfg.py.in

  Log Message:
  -----------
  [Flang][Test] Add support to change the default target triple for tests

In this patch I added support to change the default target triple used
by flang tests using the cmake variable: FLANG_TEST_TARGET_TRIPLE.

This functionality is implemented using the LLVM_TARGET_TRIPLE_ENV
variable, so that must be defined as well.

An example use:
`-DLLVM_TARGET_TRIPLE_ENV="LLVM_TARGET_TRIPLE_ENV" -DFLANG_TEST_TARGET_TRIPLE="aarch64-linux-gnu"`

Differential revision: https://reviews.llvm.org/D138530

Change-Id: I38e4a46a65109d415a9b72c8a0bf8a955e937280




More information about the All-commits mailing list