[MacPorts] #64532: graphite2 fails to build for ppc on 10.6.8 (Rosetta): unrecognized command line option '-mfpmath=sse'

MacPorts noreply at macports.org
Mon Sep 16 15:05:18 UTC 2024


#64532: graphite2 fails to build for ppc on 10.6.8 (Rosetta): unrecognized command
line option '-mfpmath=sse'
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc, snowleopard, rosetta
      Port:  graphite2     |
---------------------------+-------------------------------------------

Comment (by barracuda156):

 Replying to [comment:4 ryandesign]:
 > I'm not sure how common it is for cmake projects to make decisions based
 on `CMAKE_SYSTEM_PROCESSOR`. If it's uncommon, maybe making changes in
 individual affected ports like graphite2 is better than trying to craft a
 general solution that can go in the portgroup.

 On macOS `CMAKE_SYSTEM_PROCESSOR` is rather meaningless, since build_arch
 needs not to match physical cpu. Robust solution would be
 `CMAKE_OSX_ARCHITECTURES`, which exactly specify required build_arch(s).

-- 
Ticket URL: <https://trac.macports.org/ticket/64532#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list