[MacPorts] #52986: buildbot: don't add ports that declare not to support ppc to the build queue of 10.5-ppc

MacPorts noreply at macports.org
Thu Dec 1 08:04:19 CET 2016


#52986: buildbot: don't add ports that declare not to support ppc to the build
queue of 10.5-ppc
-----------------------------+----------------------
  Reporter:  mojca           |      Owner:  admin@…
      Type:  enhancement     |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:  buildbot
      Port:                  |
-----------------------------+----------------------

Comment (by mojca):

 I only partially agree. The above mentioned step only avoids building
 ports like `wine` on 10.6-i386 because 10.6-x86_64 already builds it and
 you cannot delegate the job of building wine to the i386 builder as you
 wouldn't get all the dependencies built universally. It's not really clear
 to me how you would simplify the code by telling the i386 builder to build
 for i386. Just about the only thing that could be simplified is the need
 for testing:
 {{{
 #!bash
 is_64bit_capable="$(sysctl -n hw.cpu64bit_capable)"
 ...
 if [[ ... "${is_64bit_capable}" = "0"... ]]; then
 }}}

 For 10.5 we would currently run `uname -m`. With your suggested changes we
 would have to call
 {{{
 mpbb list-subports -arch ppc ...
 }}}
 or provide an environmental variable, but I don't see how that simplifies
 things in any way.

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


More information about the macports-tickets mailing list