Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support --jobserver-auth=fifo:PATH #49

Merged
merged 2 commits into from
Feb 27, 2023

Commits on Feb 27, 2023

  1. Support --jobserver-auth=fifo:PATH

    GNU `make` 4.4, released in October 2022[^1]. The jobserver defaults
    to use named pipes (via `mkfifo(3)`) on supported platforms by
    introducing a new IPC style `--jobserver-auth=fifo:PATH`, which `PATH`
    is the path of fifo[^2].
    
    This commit makes sure that the new style `--jobserver-auth=fifo:PATH`
    can be forwarded to inherited processes correctly.
    
    The support of creating a new client with named pipe will come as a
    follow-up pull request.
    
    [^1]: https://lists.gnu.org/archive/html/info-gnu/2022-10/msg00008.html
    [^2]: https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html
    weihanglo committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    add04dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    270fcd5 View commit details
    Browse the repository at this point in the history