mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 00:05:54 +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 in9825cd3d79to avoid ninja-utils (not clear to me why) but since305e664726we 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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user