summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-12-18 17:48:22 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-03 21:16:00 +0000
commit6c6241536c0fee35cb94046a727cf68a60ffd3e5 (patch)
tree6a24f102287ed6706ca1e4ca118e6237d2c9b8d7 /meta
parentea915ed419b0a0d52e2c11fc0a6b87b5c057b6fc (diff)
downloadpoky-6c6241536c0fee35cb94046a727cf68a60ffd3e5.tar.gz
cmake-native: Set --parallel for configure
This can save do_configure's time from 330s to 60s on my host. (From OE-Core rev: c22b0bf66a28324da66caf0660f171cc279a1f2b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/cmake/cmake-native_3.12.2.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/cmake/cmake-native_3.12.2.bb b/meta/recipes-devtools/cmake/cmake-native_3.12.2.bb
index 9a1390f96d..2f4ecc4f4c 100644
--- a/meta/recipes-devtools/cmake/cmake-native_3.12.2.bb
+++ b/meta/recipes-devtools/cmake/cmake-native_3.12.2.bb
@@ -27,7 +27,9 @@ CMAKE_EXTRACONF = "\
27" 27"
28 28
29do_configure () { 29do_configure () {
30 ${S}/configure --verbose --prefix=${prefix} -- ${CMAKE_EXTRACONF} 30 ${S}/configure --verbose --prefix=${prefix} \
31 ${@oe.utils.parallel_make_argument(d, '--parallel=%d')} \
32 -- ${CMAKE_EXTRACONF}
31} 33}
32 34
33do_compile() { 35do_compile() {