From e41afc0921ba7f8b62b0e0dde4da9d024aba69b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Thu, 17 Nov 2016 12:06:00 +0100 Subject: cmake: pass --parallel=${BUILD_CPUS} to configure and ${DEFAULT_MAKEFLAGS_BUILD} to make. --- vars/build.vars | 2 +- vars/cmake.vars | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vars/build.vars b/vars/build.vars index 4e79f103..1088340a 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -420,7 +420,7 @@ LEAF_PACKAGES_PREFIX="${PREFIX_NATIVE}"; : ${PKG_CMAKE_VERSION:=3.6.3}; : ${PKG_CMAKE_SHA256SUM:=7d73ee4fae572eb2d7cd3feb48971aea903bb30a20ea5ae8b4da826d8ccad5fe}; : ${PKG_CMAKE_URL:=https://cmake.org/files/v${PKG_CMAKE_VERSION%.*}/cmake-${PKG_CMAKE_VERSION}.tar.gz}; -: ${PKG_CMAKE_CONFIGURE_ARGS:="--prefix="}; +: ${PKG_CMAKE_CONFIGURE_ARGS:="--parallel=${BUILD_CPUS} --prefix="}; : ${PKG_CMAKE_MAKEFLAGS_INSTALL:=}; : ${PKG_COREUTILS_PREFIX_EXTRA:=${PREFIX_MINIPIX}}; : ${PKG_COREUTILS_SHA256SUM:=ec43ca5bcfc62242accb46b7f121f6b684ee21ecd7d075059bf650ff9e37b82d}; diff --git a/vars/cmake.vars b/vars/cmake.vars index 42b31504..4a13f37d 100644 --- a/vars/cmake.vars +++ b/vars/cmake.vars @@ -11,7 +11,7 @@ pkg_cmake_configure() { log_msg info "Bootstrapping cmake..."; (unset AR CC RANLIB; ../cmake-${PKG_VERSION}/configure ${PKG_CONFIGURE_ARGS}; - make DESTDIR=${PREFIX} install); + make ${DEFAULT_MAKEFLAGS_BUILD} DESTDIR=${PREFIX} install); log_msg info "Finished bootstrapping cmake."; stat ../cmake-${PKG_VERSION}; }; -- cgit v1.2.3