This is an archive of the discontinued LLVM Phabricator instance.

Fix compilation problems and unsupported tests when running under QEMU 32-bit PowerPC emulator.
Needs ReviewPublic

Authored by mnbvmar on Sep 28 2017, 10:29 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This is not yet to be integrated into LLVM.

When LLVM is cross-compiled on x86 for 32-bit PowerPC, some compilation and testing problems arise:

  • Clang ignores the user's CMake flag disallowing it to include libxml2.
  • llvm-lto is not generated; however, some tests depend on this executable without explicitly mentioning this dependence.
  • some tests were already expected to fail on powerpc64-. However, as we cross-compiled for 32-bit PowerPCs, it was necessary to extend the set of failing architectures.

This patch fixes the problems above.

Diff Detail

Repository
rL LLVM