Skip to content

Skip the make job server when using BSD make#9676

Open
flavorjones wants to merge 1 commit into
masterfrom
bsd-make-jobserver-skip
Open

Skip the make job server when using BSD make#9676
flavorjones wants to merge 1 commit into
masterfrom
bsd-make-jobserver-skip

Conversation

@flavorjones

@flavorjones flavorjones commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

What was the end-user or developer problem that led to this PR?

Like nmake (#9630), BSD make can't parse the GNU --jobserver-auth flag in MAKEFLAGS and aborts native extension builds with:

make: argument 'observer-auth=6,7' to option '-j' must be a positive number

What is your fix for the problem, implemented in this PR?

Skip the jobserver on BSD platforms, unless gmake is explicitly being used. Similar in approach to #9630 for nmake.

Make sure the following tasks are checked

Like nmake, BSD make can't parse the GNU `--jobserver-auth` flag in
MAKEFLAGS and aborts native extension builds with:

    make: argument 'observer-auth=6,7' to option '-j' must be a positive number

Skip the jobserver on BSD platforms, unless an gmake is explicitly
being used.
@flavorjones flavorjones requested a review from hsbt July 6, 2026 16:10
@flavorjones

Copy link
Copy Markdown
Collaborator Author

If merged, this should be backported to the release branch because 4.0.15 contains the jobserver feature.

@Edouard-chin Edouard-chin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @flavorjones !

@flavorjones flavorjones changed the title Skip the make jobserver when using BSD make Skip the make job server when using BSD make Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants