[libcxx-commits] [PATCH] D98367: [libcxxabi] Use cxx-headers target to consume libcxx headers

Vlad Vereschaka via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 24 11:33:27 PDT 2021


vvereschaka added a comment.

Hi @phosek ,

we got the same thing on the win-x-arm cross toolchain builders as described by @uabelho

  cmake --build . --target check-cxxabi
  ...
  
  -- Build files have been written to: C:/buildbot/temp/build/runtimes/runtimes-bins
  [4/5] cmd.exe /C "cd /D C:\buildbot\temp\build\runtimes\runtimes-bin...uild/runtimes/runtimes-bins/ --target check-cxxabi --config Release"
  [0/1] Running libcxxabi tests
  llvm-lit.py: c:\buildbot\temp\build\runtimes\runtimes-bins\libcxxabi\test\lit.site.cfg:60: note: Using configuration variant: libcxxabi
  llvm-lit.py: C:\buildbot\temp\llvm-project\libcxx\utils\libcxx\test\target_info.py:152: note: inferred target_info as: 'libcxx.test.target_info.LinuxRemoteTI'
  llvm-lit.py: C:\buildbot\temp\llvm-project\libcxx\utils\libcxx\test\config.py:632: note: Setting target_triple to aarch64-linux-gnu
  llvm-lit.py: C:\buildbot\temp\llvm-project\libcxxabi\test\libcxxabi\test\config.py:67: fatal: cxx_headers='C:/buildbot/temp/build/runtimes/runtimes-bins\include\c++\v1' is not a directory.
  FAILED: libcxxabi/test/CMakeFiles/check-cxxabi
  cmd.exe /C "cd /D C:\buildbot\temp\build\runtimes\runtimes-bins\libcxxabi\test && C:\Python38\python.exe C:/buildbot/temp/build/./bin/llvm-lit.py -vv -v -vv C:/buildbot/temp/build/runtimes/runtimes-bins/libcxxabi/test"
  ninja: build stopped: subcommand failed.
  FAILED: runtimes/CMakeFiles/check-cxxabi
  cmd.exe /C "cd /D C:\buildbot\temp\build\runtimes\runtimes-bins && "C:\Program Files\CMake\bin\cmake.exe" --build C:/buildbot/temp/build/runtimes/runtimes-bins/ --target check-cxxabi --config Release"
  ninja: build stopped: subcommand failed.

The `<build_root>/runtimes/runtimes-bins` folder does not contain `include/c++/v1`. There is only `<build-root>/include/c++/v1`.

Builders:
aarch64: https://lab.llvm.org/buildbot/#/builders/119/builds/2894
armv7: https://lab.llvm.org/buildbot/#/builders/60/builds/2484


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98367



More information about the libcxx-commits mailing list