[MacPorts] #60944: qt5: Support arm64

MacPorts noreply at macports.org
Tue Jan 12 16:26:00 UTC 2021


#60944: qt5: Support arm64
--------------------------+---------------------------------
  Reporter:  ryandesign   |      Owner:  MarcusCalhoun-Lopez
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  qt5          |
--------------------------+---------------------------------

Comment (by michaelld):

 What's going on here that needs fixing? I'm not familiar with this code at
 all ... so looking at it as a total N00B :)

 Replying to [comment:8 kencu]:
 > we're also going to have the fix up the default
 universal_archs_supported in this bit if we want to try to build qt5
 universal for arm64/x86_64
 > {{{
 >     proc universal_setup {args} {
 >         if {[variant_exists universal]} {
 >             ui_debug "universal variant already exists, so not adding
 the default one"
 >         } elseif {[exists universal_variant] && ![option
 universal_variant]} {
 >             ui_debug "universal_variant is false, so not adding the
 default universal variant"
 >         } elseif {[exists use_xmkmf] && [option use_xmkmf]} {
 >             ui_debug "using xmkmf, so not adding the default universal
 variant"
 >         } elseif {![exists os.universal_supported] || ![option
 os.universal_supported]} {
 >             ui_debug "OS doesn't support universal builds, so not adding
 the default universal variant"
 >         } elseif {[llength [option supported_archs]] == 1} {
 >             ui_debug "only one arch supported, so not adding the default
 universal variant"
 >         } else {
 >             ui_debug "adding universal variant via PortGroup muniversal"
 >             uplevel "PortGroup muniversal 1.0"
 >             uplevel "default universal_archs_supported {\"i386
 x86_64\"}"
 >         }
 >     }
 > }}}

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


More information about the macports-tickets mailing list