# HG changeset patch # User Markus Mützel # Date 1701535977 -3600 # Node ID c7a8a72e7547c7044103dde697696b23a8f9f0e6 # Parent 5f2c92da4d9ca84a3ff2704df4c9ac356e349b35 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 diff -r 5f2c92da4d9c -r c7a8a72e7547 src/openblas.mk --- 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