changeset 6990:c7a8a72e7547

OpenBLAS: Limit number of parallel jobs to JOBS * src/openblas.mk: The Makefile of OpenBLAS ignores the "-j" flag and builds with what would correspond to "-j INFINITY" instead. Set additional variable to actually limit the number of parallel jobs. See: https://github.com/OpenMathLib/OpenBLAS/pull/829
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 02 Dec 2023 17:52:57 +0100
parents 5f2c92da4d9c
children 84f5c1cd732a
files src/openblas.mk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/openblas.mk	Fri Dec 01 19:47:25 2023 +0100
+++ b/src/openblas.mk	Sat Dec 02 17:52:57 2023 +0100
@@ -43,6 +43,6 @@
 endif
 
 define $(PKG)_BUILD
-    $(MAKE) -C '$(1)' -j '$(JOBS)' $($(PKG)_MAKE_OPTS)  
+    $(MAKE) -C '$(1)' -j '$(JOBS)' MAKE_NB_JOBS=$(JOBS) $($(PKG)_MAKE_OPTS)  
     $(MAKE) -C '$(1)' -j 1 $($(PKG)_MAKE_OPTS) install
 endef