This is an archive of the discontinued LLVM Phabricator instance.

[Buildbot] Updated configuration for Armv7/Aarch64 Win-x-Linux cross builders.
ClosedPublic

Authored by vvereschaka on Feb 21 2022, 6:28 PM.

Details

Summary

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).

Diff Detail

Event Timeline

vvereschaka created this revision.Feb 21 2022, 6:28 PM
vvereschaka requested review of this revision.Feb 21 2022, 6:28 PM
This revision is now accepted and ready to land.Feb 22 2022, 1:32 PM

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.

Herald added a project: Restricted Project. · View Herald TranscriptApr 12 2022, 10:10 PM

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.

@tstellar,

I found that the release/14.x branch has missed at least the following commits for clang/cmake/caches/CrossWinToARMLinux.cmake file:

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.