Changes between Version 3 and Version 4 of Ticket #54242, comment 4


Ignore:
Timestamp:
Jul 20, 2017, 7:32:23 AM (7 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54242, comment 4

    v3 v4  
    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 --