[all-commits] [llvm/llvm-project] 82f7b0: Reapply [test] [llvm-config] Assume unix style lib...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue May 16 00:43:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82f7b03d9bcbdb397965c8c97bb69b1f992b7a65
      https://github.com/llvm/llvm-project/commit/82f7b03d9bcbdb397965c8c97bb69b1f992b7a65
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M llvm/test/lit.cfg.py
    M llvm/test/tools/llvm-config/system-libs.test
    M llvm/test/tools/llvm-config/system-libs.windows.test

  Log Message:
  -----------
  Reapply [test] [llvm-config] Assume unix style lib names on mingw targets

Assume the MSVC style naming only for "windows-msvc" targets.

After the previous attempt, this was changed to use the host triple
instead of the target.

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


  Commit: c2b256a990590dc8b69930259650cfeb085add03
      https://github.com/llvm/llvm-project/commit/c2b256a990590dc8b69930259650cfeb085add03
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M clang/test/C/drs/dr1xx.c
    M clang/test/Driver/experimental-library-flag.cpp
    M clang/test/SemaCXX/attr-trivial-abi.cpp

  Log Message:
  -----------
  Reapply [clang] [test] Narrow down MSVC specific behaviours from "any windows" to only MSVC/clang-cl

This fixes running tests with a toolchain that defaults to a MinGW
target.

After the previous attempt with this patch, this is now changed to
use !defined(__MINGW32__) instead of defined(_MSC_VER) to distinguish
between MSVC and MinGW mode; Clang doesn't define _MSC_VER when invoked
with "clang -cc1" as some of those tests do.

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


Compare: https://github.com/llvm/llvm-project/compare/1ade6f36e3b4...c2b256a99059


More information about the All-commits mailing list