[MacPorts] #71711: portindex: allow thread count override via cmdline param and new macports.conf property

MacPorts noreply at macports.org
Fri Jan 3 00:43:15 UTC 2025


#71711: portindex: allow thread count override via cmdline param and new
macports.conf property
--------------------------+----------------------
  Reporter:  mascguy      |      Owner:  (none)
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:  2.10.5
Resolution:               |   Keywords:
      Port:  portindex    |
--------------------------+----------------------

Comment (by mascguy):

 This is my temporary hack in bash, to set `buildmakejobs` to 2 before
 running `portindex`. Ugly, but effective:

 {{{
 function my_portindex() {
     gsed -i  's/^buildmakejobs.*/buildmakejobs 2/'
 ~/.macports/macports.conf
     sudo bash -c 'for p in latest enabled ; do portindex
 /opt/macports/sources/ports/${p} ; done'
     gsed -i  's/^buildmakejobs.*/buildmakejobs 0/'
 ~/.macports/macports.conf
 }
 }}}

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


More information about the macports-tickets mailing list