mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
net-libs/nodejs: use eninja for jobserver support
Switch back to using eninja directly, not emake->ninja. Calling ninja indirectly has a few disadvantages, as we have to both pass -Onone to bypass Portage's default for output synchronisation, it means we have to hack around not having options passed down to ninja, and it breaks jobserver support (because ninja won't act as a client if -jN is passed). We started using emake in 9825cd3d791456cd0265d0c82611c4ceffd4ff22 to avoid ninja-utils (not clear to me why) but since 305e66472660ee50117267b499f23d3883340deb we already use ninja-utils again, so the indirection gains us nothing. With this, nodejs + the steve jobserver doesn't bomb my machine with jobs anymore. Closes: https://bugs.gentoo.org/966651 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
23e0f39f78
commit
fa5ca61883
@ -169,8 +169,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS) "
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -169,8 +169,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS) "
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -169,8 +169,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS) "
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -188,8 +188,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS)"
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -188,8 +188,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS)"
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -188,8 +188,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS)"
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -188,8 +188,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS)"
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -189,8 +189,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS)"
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -185,8 +185,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS)"
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -187,8 +187,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS)"
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -185,8 +185,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS)"
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -185,8 +185,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS)"
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -186,8 +186,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS)"
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@ -185,8 +185,7 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export NINJA_ARGS=" $(get_NINJAOPTS)"
|
||||
emake -Onone
|
||||
eninja -C out/Release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user