1 | | I think this file `work/llvm-4.0.0.src/projects/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake` is missing most of the logic to support `ppc` and `ppc64` archs, in the end. There are other functions in that file that don't have ppc support. It doesn't look like a lot to add, but it would take a little logic to work out. |
2 | | |
3 | | I suppose it's kind of surprising then that the default build comes out with a ppc arch library that we can use at all. |
4 | | |
5 | | I don't think it's easy to patch files _after_ the configure stage. Some reinplacing could be done post-configure instead, I suppose. I wish it was a bit easier to debug cmake build scripts. |
6 | | |
7 | | If found this: |
8 | | {{{ |
9 | | if(NOT DARWIN_osx_ARCHS) |
10 | | set(DARWIN_osx_ARCHS i386 x86_64 x86_64h) |
11 | | endif() |
12 | | }}} |
13 | | |
14 | | and it looks tempting to just -DDARWIN_osx_ARCHS="ppc". Will see if that fixes things. |
15 | | |
16 | | Edit - sadly, no, that does not work. Same error occurs. At present, still have to fix the Makefile manually. |
| 1 | -- this comment deleted as no longer helpful -- |