From 19ac4e33e66353581191e7dfd866f6c0f73eafa6 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 18 Dec 2018 17:48:22 +0800 Subject: cmake-native: Set --parallel for configure This can save do_configure's time from 330s to 60s on my host. Signed-off-by: Robert Yang --- meta/recipes-devtools/cmake/cmake-native_3.12.2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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..3086c82eb6 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 = "\ " do_configure () { - ${S}/configure --verbose --prefix=${prefix} -- ${CMAKE_EXTRACONF} + ${S}/configure --verbose --prefix=${prefix} \ + --parallel="${@oe.utils.parallel_make_argument(d, '%d')}" \ + -- ${CMAKE_EXTRACONF} } do_compile() { -- cgit 1.2.3-korg