-
Notifications
You must be signed in to change notification settings - Fork 42
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
New jobserver type in GNU Make 4.4 #47
Comments
I can confirm that the new (default since GNU make 4.4) fifo method makes this crate ignore the jobserver. Here's a reproducer: https://github.com/kaspar030/jobserver-rs-fifo-test as a workaround, use Here's the output from above's test application:
|
#49 probably resolves the compatibility of new GNU Make 4.4. For creating a new client in fifo style, the idea is still brewing. If anyone has a great design of that, I am willing to listen and help :) |
For safety/reliability reasons this should become the preferred jobserver protocol in the future since it avoids mucking with file descriptors based on environment variables where inherited environment variables and inherited descriptors can get out of sync. |
Could you be more specific about the workaround? How do I pass |
See |
Docs: https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html#POSIX-Jobserver
Release announcement: https://lwn.net/Articles/913253/
On systems that support it GNU Make 4.4 will now use
--jobserver-auth=fifo:PATH
wherePATH
points to a named pipe rather than--jobserver-auth=R,W
. I haven't checked if this breaks anything, but based on looking at the code it seems like it will cause the jobserver to be ignored entirely.The text was updated successfully, but these errors were encountered: