In order to updated the cmake cache file for the Linux-x-Win cross builds, which has been changed to support building the libraries in the multitarget mode, we need to update the builder configuration to handle running the library tests properly. Currently we need to specify a proper target for the tests directly within the lit test parameters (or ninja target).
Details
Diff Detail
- Repository
- rZORG LLVM Github Zorg
Event Timeline
Hi, I think this change caused the llvm-clang-win-x-aarch64-release builder to fail. I'm seeing the following error in the logs which seems to be related to this change:
error: unable to create target: 'No available targets are compatible with triple "armv7-unknown-linux-gnueabihf"
The llvm-clang-win-x-armv7l-release builder also started failing around the same time, but I can't tell what caused it.
Hi @tstellar,
thank you a lot to pointing at the problems. Looks like armv7 builder gets failed because of some missed commits. aarch64 looks very strange, but also possible that there is the same reason.
I'm investigating the problems.
I found that the release/14.x branch has missed at least the following commits for clang/cmake/caches/CrossWinToARMLinux.cmake file:
- https://github.com/llvm/llvm-project/commit/41f74bc7ae33d9cd9a1eaacfc29ba53a933c042f
- https://github.com/llvm/llvm-project/commit/d860ac5da6d71dd759d347a3c7d5e63705443694
- https://github.com/llvm/llvm-project/commit/19c1b084a7da9087fcdc16071b461ea33b6a68b4
- https://github.com/llvm/llvm-project/commit/18fa0b15ccf610f34af1231440f89d20cb99e7a0
All those changes are required to handle the latest changes within the libcxx/libcxxabi/libunwind libraries.
Is it possible to cherry-pick them from main into release/14.x?
Those libraries are actively getting changes and I expect additional changes for the toolchain cmake file during this week.
Hi @tstellar,
thank you a lot! The armv7/aarch64 cross win-x-linux release builders are green now: