[MacPorts] #54370: gmic @2.0.2: buildbot build gets cancelled because 20 minutes go by with no output

MacPorts noreply at macports.org
Thu Jan 20 14:44:18 UTC 2022


#54370: gmic @2.0.2: buildbot build gets cancelled because 20 minutes go by with no
output
-------------------------+-------------------------
  Reporter:  ryandesign  |      Owner:  Schamschula
      Type:  defect      |     Status:  reopened
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  haspatch
      Port:  gmic        |
-------------------------+-------------------------

Comment (by ryandesign):

 Replying to [comment:23 mascguy]:
 > If the excessive memory usage is fixed by using newer Clangs, we may be
 able to re-enable parallel builds: While the compilation is extremely
 memory-intensive, only two Clang processes run simultaneously.

 Yes I agree parallel builds could be reenabled. Would be a good idea to
 add a comment to the Portfile that the blacklisting is to avoid excessive
 memory use by older clangs, with the URL reference for the upstream bug
 report that's currently near the disabling of parallel builds.

 I would probably add some code to set `build.jobs` to half its value (or
 minimum 1), since `build.jobs` is normally set with the assumption that a
 compiler will use up to 1 GB memory.

 > reducing the optimization level probably wouldn't hurt either. And if
 it's currently set to our default of optimizing for size (`-Os`), we might
 want to switch that to `-O1` instead.

 I don't know whether that's desirable. If it is, the revision should be
 increased.

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


More information about the macports-tickets mailing list