Skip to contentSkip to conversation

package/pkg-meson: do not pass -j$(PARALLEL_JOBS) to ninja

PATCH Applied James Hilliard 2 participants 2 messages May 9, 2022 – May 13, 2022 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/pkg-meson: do not pass -j$(PARALLEL_JOBS) to ninja

Now that we are using ninja with jobserver support we should not pass -j$(PARALLEL_JOBS) to ninja.

Fixes:
ninja: warning: -jN forced on command line; ignoring GNU make jobserver.

---
 package/pkg-meson.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/pkg-meson.mk +1 -1
index 9987fb73bb..0835e08e3a 100644
@@ -27,7 +27,7 @@
 #
 MESON		= PYTHONNOUSERSITE=y $(HOST_DIR)/bin/meson
 NINJA		= PYTHONNOUSERSITE=y $(HOST_DIR)/bin/ninja
-NINJA_OPTS	= $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS)
+NINJA_OPTS	= $(if $(VERBOSE),-v)
 
 # https://mesonbuild.com/Reference-tables.html#cpu-families
 ifeq ($(BR2_arcle)$(BR2_arceb),y)
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines · James Hilliard

Now that we are using ninja with jobserver support we should not pass -j$(PARALLEL_JOBS) to ninja.

Fixes:
ninja: warning: -jN forced on command line; ignoring GNU make jobserver.

Applied to master, thanks.

Regards,
Arnout

Quoted 9 lines
---
  package/pkg-meson.mk | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
package/pkg-meson.mk +0 -0
index 9987fb73bb..0835e08e3a 100644

package/pkg-meson.mk line 33

Quoted 8 lines
package/pkg-meson.mk +1 -1
@@ -27,7 +27,7 @@
  #
  MESON		= PYTHONNOUSERSITE=y $(HOST_DIR)/bin/meson
  NINJA		= PYTHONNOUSERSITE=y $(HOST_DIR)/bin/ninja
-NINJA_OPTS	= $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS)
+NINJA_OPTS	= $(if $(VERBOSE),-v)
 
  # https://mesonbuild.com/Reference-tables.html#cpu-families
  ifeq ($(BR2_arcle)$(BR2_arceb),y)

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot