‹ BackHN Continuity

Thread

Recursive `make` and `-j`

33 points · 14 comments · ibobev

  1. stabbles · · focus · HN ↗
    The `-j` is meant for the top-level invocation only, and the $(MAKE) pattern is standard.

    The `+` or $(MAKE) "tricks" to ensure the jobserver is inherited in submake and any other subprocess are no longer needed in gmake 4.4 (from 2022) because it defaults to a FIFO instead of pipes. The author should just upgrade gmake :).

    1. wahern · · focus · HN ↗
      Has Apple backported anything recent to their forked gmake? Have they ever backported any features for that matter?
      1. plorkyeran · · focus · HN ↗
        Apple does not ship any version of gmake. The only included make is BSD make.
        1. yaris · · focus · HN ↗
          On my machine (Golden Gate):

             [2026-10-01 9:35:10] % which make
             /usr/bin/make
             [2026-10-01 9:35:39] % /usr/bin/make --version
             GNU Make 3.81
             Copyright (C) 2006  Free Software Foundation, Inc.
             This is free software; see the source for copying conditions.
             There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
          
             This program built for i386-apple-darwin11.3.0
          
          On Sequoia it was the same.
          1. oso2k · · focus · HN ↗
            You can get an updated gmake via brew.

            <a href="https:&#x2F;&#x2F;formulae.brew.sh&#x2F;formula&#x2F;make" rel="nofollow">https:&#x2F;&#x2F;formulae.brew.sh&#x2F;formula&#x2F;make

    2. aniceperson · · focus · HN ↗
      you may still need + to forward the job server to other builder <a href="https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;cargo&#x2F;issues&#x2F;14407" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;cargo&#x2F;issues&#x2F;14407
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.