[MacPorts] #66302: gcc12 universal variant has no effect

MacPorts noreply at macports.org
Sun Nov 20 15:36:15 UTC 2022


#66302: gcc12 universal variant has no effect
----------------------------+------------------------------------
  Reporter:  JanWielemaker  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.8.0
Resolution:                 |   Keywords:  universal arm64 x68_64
      Port:  gcc12          |
----------------------------+------------------------------------

Comment (by JanWielemaker):

 Thanks.   The fragment of the Portfile below caused me to hope for
 something better :(

 {{{
 if { ${os.platform} eq "darwin" && ${os.major} >= 20 } {
     platform i386 {
         configure.universal_archs x86_64 arm64
     }
     platform arm {
         configure.universal_archs x86_64 arm64
     }
 }}}

 A cross-compiler would be good enough for me.   There are quite a few
 cross-compilers in Macports, but this one seems to be lacking and creating
 it doesn't look trivial ...

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


More information about the macports-tickets mailing list