-
Notifications
You must be signed in to change notification settings - Fork 256
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
Pass through MAKEFLAGS and exclude from environment.bz2 #1364
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.TH "MAKE.CONF" "5" "Jan 2024" "Portage @VERSION@" "Portage" | ||
.TH "MAKE.CONF" "5" "Aug 2024" "Portage @VERSION@" "Portage" | ||
.SH "NAME" | ||
make.conf \- custom settings for Portage | ||
.SH "SYNOPSIS" | ||
|
@@ -948,6 +948,14 @@ Setting this and other *FLAGS variables arbitrarily may cause compile or | |
runtime failures. Bug reports submitted when nonstandard values are | ||
enabled for these flags may be closed as INVALID. | ||
.TP | ||
.B MAKEFLAGS | ||
Use this variable instead of \fBMAKEOPTS\fR if you want to inject a | ||
centralized job server for make. In this case \fBMAKEOPTS\fR should be | ||
unset or else it can cause the make jobserver mode to reset. Include | ||
a \fB--jobserver-auth=fifo:PATH\fR flag to specify the path of the | ||
centralized jobserver fifo, which needs to be readable and writable by | ||
the portage group when userpriv is enabled. | ||
.TP | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we parse MAKEFLAGS then we can automatically add a sandbox exemption for the jobserver fifo. Otherwise users will have to do this themselves or put the fifo in an unsandboxed location like $PORTAGE_TMPDIR (they might have to do that for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
If we parse MAKEFLAGS in order to add a sandbox exemption for the fifo, I suppose we might filter out the simple options while we're there. |
||
.B MAKEOPTS | ||
Use this variable if you want to use parallel make. For example, if you | ||
have a dual\-processor system, set this variable to "\-j2" or "\-j3" for | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The duplication of this with the GNUMAKEFLAGS + MAKEFLAGS condition below is suspicious?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that second
"MAKEFLAGS" not in mysettings
became redundant so I've removed it now. Thanks!