[riot-notifications] [RIOT-OS/RIOT] make: fix nproc for buildtest (#7627)

Martine Lenders notifications at github.com
Wed Sep 20 13:20:55 CEST 2017


miri64 requested changes on this pull request.



> +      # Fallback
+      NPROC := 1
+    endif
+
+    NPROC := $(shell echo $$(($(NPROC) + 1)))
+
+    ifneq (, $(NPROC_MAX))
+      NPROC := $(shell if [ ${NPROC} -gt $(NPROC_MAX) ]; then echo $(NPROC_MAX); else echo ${NPROC}; fi)
+    endif
+    ifneq (, $(NPROC_MIN))
+      NPROC := $(shell if [ ${NPROC} -lt $(NPROC_MIN) ]; then echo $(NPROC_MIN); else echo ${NPROC}; fi)
+    endif
+  endif
+endif
+
+info-concurrency:

I know it isn't defined in `makefiles/info.inc.mk` either, but please add a `.PHONY` dependency for this.

-- 
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/7627#pullrequestreview-63942293
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20170920/64d7340b/attachment-0001.html>


More information about the notifications mailing list