tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
MAKE_JOBS.devel/cmake ineffective
I've been making use of the per-package MAKE_JOBS for large c++/rust
packages to limit the build parallelism sufficiently to stop thrashing.
Today I got surprised by devel/cmake ignoring my config, and the
attached patch explains why. There seem to be quite a few of these
in the tree, perhaps "someone" can just fix all at once?
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile
index 732b189a8bc..bcb6d01db0e 100644
--- a/devel/cmake/Makefile
+++ b/devel/cmake/Makefile
@@ -14,7 +14,7 @@ BUILD_TARGET= default_target
CONFIGURE_HAS_MANDIR= no
CONFIGURE_ARGS+= --mandir=/${PKGMANDIR}
CONFIGURE_ARGS+= --docdir=/share/doc/cmake-${CMAKE_API}
-CONFIGURE_ARGS+= --parallel=${MAKE_JOBS:U1}
+CONFIGURE_ARGS+= --parallel=${_MAKE_JOBS_N:U1}
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --system-libs
# jsoncpp requires cmake to build, so use the one provided with cmake
--
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.
Home |
Main Index |
Thread Index |
Old Index