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

Douglas Yung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 16:37:09 PDT 2023


dyung added a comment.

Hi @mstorsjo, the change you made is causing the test llvm/test/tools/llvm-config/system-libs.test to fail on the PS5 Windows bot. Can you fix the test or revert if you need time to investigate?

https://lab.llvm.org/buildbot/#/builders/216/builds/20982

  ******************** TEST 'LLVM :: tools/llvm-config/system-libs.test' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   z:\b\llvm-clang-x86_64-sie-win\build\bin\llvm-config.exe --link-static --system-libs Support 2>&1 | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\tools\llvm-config\system-libs.test
  --
  Exit Code: 1
  Command Output (stdout):
  --
  $ ":" "RUN: at line 1"
  $ "z:\b\llvm-clang-x86_64-sie-win\build\bin\llvm-config.exe" "--link-static" "--system-libs" "Support"
  $ "z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe" "Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\tools\llvm-config\system-libs.test"
  # command stderr:
  Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\tools\llvm-config\system-libs.test:4:8: error: CHECK: expected string not found in input
  CHECK: -l
         ^
  <stdin>:1:1: note: scanning from here
  psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib
  ^
  <stdin>:1:6: note: possible intended match here
  psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib
       ^
  Input file: <stdin>
  Check file: Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\tools\llvm-config\system-libs.test
  -dump-input=help explains the following input dump.
  Input was:
  <<<<<<
             1: psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib 
  check:4'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
  check:4'1          ?                                                 possible intended match
  >>>>>>
  error: command failed with exit status: 1
  --
  ********************


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149998/new/

https://reviews.llvm.org/D149998



More information about the llvm-commits mailing list