Skip to contentSkip to conversation

docs/manual: pass PARALLEL_JOBS to NINJA_OPTS

PATCH New Jörg Krause 3 participants 10 messages Mar 14, 2018 – Apr 6, 2018 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 docs/manual: pass PARALLEL_JOBS to NINJA_OPTS

Ninja understands the -j option which defines how many jobs are run in parallel.

---
 docs/manual/adding-packages-meson.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/manual/adding-packages-meson.txt +1 -1
index 65a0f6a962..f3b4b30e48 100644
@@ -35,7 +35,7 @@ package. Let's start with an example:
 18: 	--buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \
 19: 	--cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf
 20:
-21: FOO_NINJA_OPTS = $(if $(VERBOSE),-v)
+21: FOO_NINJA_OPTS = $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS)
 22:
 23: ifeq ($(BR2_PACKAGE_BAZ),y)
 24: FOO_CONF_OPTS += -Dbaz
Signature · 1 line
2.16.2
#1 lore raw

PATCH 2/3 libmpdclient: pass PARALLEL_JOBS to NINJA_OPTS

---
 package/libmpdclient/libmpdclient.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libmpdclient/libmpdclient.mk +1 -1
index a399516fe3..6ff27241c0 100644
@@ -20,7 +20,7 @@ LIBMPDCLIENT_CONF_OPTS += \
 	--buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \
 	--cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf
 
-LIBMPDCLIENT_NINJA_OPTS = $(if $(VERBOSE),-v)
+LIBMPDCLIENT_NINJA_OPTS = $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS)
 
 define LIBMPDCLIENT_CONFIGURE_CMDS
 	rm -rf $(@D)/build
Signature · 1 line
2.16.2
#2 lore raw

PATCH 2/3 libmpdclient: pass PARALLEL_JOBS to NINJA_OPTS

J?rg, All,

On 2018-03-14 21:18 +0100, J?rg Krause spake thusly:

Quoted 1 line

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 package/libmpdclient/libmpdclient.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libmpdclient/libmpdclient.mk +1 -1
index a399516fe3..6ff27241c0 100644
@@ -20,7 +20,7 @@ LIBMPDCLIENT_CONF_OPTS += \
 	--buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \
 	--cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf
 
-LIBMPDCLIENT_NINJA_OPTS = $(if $(VERBOSE),-v)
+LIBMPDCLIENT_NINJA_OPTS = $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS)
 
 define LIBMPDCLIENT_CONFIGURE_CMDS
 	rm -rf $(@D)/build
Signature · 6 lines
2.16.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH 3/3 mpd-mpc: pass PARALLEL_JOBS to NINJA_OPTS

In reply to Jörg Krause
---
 package/mpd-mpc/mpd-mpc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/mpd-mpc/mpd-mpc.mk +1 -1
index 3eecf8a3ef..e16f600491 100644
@@ -17,7 +17,7 @@ MPD_MPC_CONF_OPTS += \
 	--buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \
 	--cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf
 
-MPD_MPC_NINJA_OPTS = $(if $(VERBOSE),-v)
+MPD_MPC_NINJA_OPTS = $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS)
 
 define MPD_MPC_CONFIGURE_CMDS
 	rm -rf $(@D)/build
Signature · 1 line
2.16.2
#5 lore raw

PATCH 3/3 mpd-mpc: pass PARALLEL_JOBS to NINJA_OPTS

J?rg, All,

On 2018-03-14 21:18 +0100, J?rg Krause spake thusly:

Quoted 1 line

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 package/mpd-mpc/mpd-mpc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/mpd-mpc/mpd-mpc.mk +1 -1
index 3eecf8a3ef..e16f600491 100644
@@ -17,7 +17,7 @@ MPD_MPC_CONF_OPTS += \
 	--buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \
 	--cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf
 
-MPD_MPC_NINJA_OPTS = $(if $(VERBOSE),-v)
+MPD_MPC_NINJA_OPTS = $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS)
 
 define MPD_MPC_CONFIGURE_CMDS
 	rm -rf $(@D)/build
Signature · 6 lines
2.16.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#7 lore raw

PATCH 1/3 docs/manual: pass PARALLEL_JOBS to NINJA_OPTS

In reply to Jörg Krause

J?rg, All,

On 2018-03-14 21:18 +0100, J?rg Krause spake thusly:

Quoted 4 lines

Ninja understands the -j option which defines how many jobs are run in parallel.

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 docs/manual/adding-packages-meson.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/manual/adding-packages-meson.txt +1 -1
index 65a0f6a962..f3b4b30e48 100644
@@ -35,7 +35,7 @@ package. Let's start with an example:
 18: 	--buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \
 19: 	--cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf
 20:
-21: FOO_NINJA_OPTS = $(if $(VERBOSE),-v)
+21: FOO_NINJA_OPTS = $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS)
 22:
 23: ifeq ($(BR2_PACKAGE_BAZ),y)
 24: FOO_CONF_OPTS += -Dbaz
Signature · 6 lines
2.16.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'