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.