[riot-notifications] [RIOT-OS/RIOT] docker: pass number of jobs from MAKEFLAGS to the container (#15196)

Koen Zandberg notifications at github.com
Mon Nov 23 11:11:08 CET 2020


@bergzand commented on this pull request.



> @@ -104,6 +104,10 @@ DOCKER_MAKE_ARGS ?=
 # https://github.com/docker/for-mac/issues/2396
 ETC_LOCALTIME = $(realpath /etc/localtime)
 
+# Fetch the number of jobs from the MAKEFLAGS
+DOCKER_MAKE_JOBS = $(filter -j%,$(MAKEFLAGS))
+
+DOCKER_MAKE_ARGS += $(DOCKER_MAKE_JOBS)

Thanks! added your suggestion and works like a charm so far.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15196#discussion_r528592038
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201123/edef613d/attachment.htm>


More information about the notifications mailing list