[PATCH] D149998: [test] [llvm-config] Assume unix style lib names on mingw targets

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 14:45:09 PDT 2023


mstorsjo created this revision.
mstorsjo added reviewers: alvinhochun, mati865.
Herald added a project: All.
mstorsjo requested review of this revision.
Herald added a project: LLVM.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149998

Files:
  llvm/test/tools/llvm-config/system-libs.test
  llvm/test/tools/llvm-config/system-libs.windows.test


Index: llvm/test/tools/llvm-config/system-libs.windows.test
===================================================================
--- llvm/test/tools/llvm-config/system-libs.windows.test
+++ llvm/test/tools/llvm-config/system-libs.windows.test
@@ -1,6 +1,6 @@
 RUN: llvm-config --link-static --system-libs Support 2>&1 | FileCheck %s
 REQUIRES: static-libs
-REQUIRES: system-windows
+REQUIRES: target={{.*-windows-msvc}}
 CHECK-NOT: -l
 CHECK: psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib
 CHECK-NOT: error
Index: llvm/test/tools/llvm-config/system-libs.test
===================================================================
--- llvm/test/tools/llvm-config/system-libs.test
+++ llvm/test/tools/llvm-config/system-libs.test
@@ -1,6 +1,6 @@
 RUN: llvm-config --link-static --system-libs Support 2>&1 | FileCheck %s
 REQUIRES: static-libs
-UNSUPPORTED: system-windows
+UNSUPPORTED: target={{.*-windows-msvc}}
 CHECK: -l
 CHECK-NOT: error
 CHECK-NOT: warning


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149998.519979.patch
Type: text/x-patch
Size: 964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230505/be2bf140/attachment.bin>


More information about the llvm-commits mailing list