diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-11-17 12:06:00 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-11-17 12:06:00 +0100 |
commit | e41afc0921ba7f8b62b0e0dde4da9d024aba69b8 (patch) | |
tree | 07fa95e8a5f5473c263898c45626cd41fa9e9834 | |
parent | 0610d8b6288e055b7b5e63d6cfe49333b5842cb8 (diff) | |
download | midipix_build-e41afc0921ba7f8b62b0e0dde4da9d024aba69b8.tar.bz2 midipix_build-e41afc0921ba7f8b62b0e0dde4da9d024aba69b8.tar.xz |
cmake: pass --parallel=${BUILD_CPUS} to configure and ${DEFAULT_MAKEFLAGS_BUILD} to make.
-rw-r--r-- | vars/build.vars | 2 | ||||
-rw-r--r-- | 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}; }; |