summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordir <dir@ableton.com>2018-01-03 15:11:19 +0100
committerdir <dir@ableton.com>2018-08-13 17:54:03 +0200
commit4d7db460edabbcf82cb5a6d2c5183e0cd0664e9f (patch)
tree8174074bd32a2fadd3226f599fcad5c936c364ea
parent892990aa9b75b92bb7e6703a14d5aa45c43c5f34 (diff)
cmake build speedup
@upstream
-rw-r--r--package/cmake/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/cmake/Makefile b/package/cmake/Makefile
index fc9e919f0..431d0850b 100644
--- a/package/cmake/Makefile
+++ b/package/cmake/Makefile
@@ -25,14 +25,14 @@ $(eval $(call HOST_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE}))
HOST_STYLE:= manual
host-configure:
- (cd $(WRKBUILD); ./configure --prefix=${STAGING_HOST_DIR}/usr --system-curl)
+ (cd $(WRKBUILD); ./configure --prefix=${STAGING_HOST_DIR}/usr --system-curl --parallel=${ADK_MAKE_JOBS} )
host-build:
- (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
+ (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -j${ADK_MAKE_JOBS} -f ${MAKE_FILE} \
${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET}) $(MAKE_TRACE)
cmake-hostinstall:
- cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
+ cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -j${ADK_MAKE_JOBS} -f ${MAKE_FILE} \
${HOST_FAKE_FLAGS} ${HOST_INSTALL_TARGET} $(MAKE_TRACE)
include ${ADK_TOPDIR}/mk/host-bottom.mk