git: 134bd31bc6b3 - main - Mk/Uses/cmake.mk: Build tests on multiple CPUs

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 24 Mar 2022 20:02:15 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=134bd31bc6b3b26837cc1ed06d7bcc53ee9df184

commit 134bd31bc6b3b26837cc1ed06d7bcc53ee9df184
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-03-24 20:00:39 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-24 20:02:13 +0000

    Mk/Uses/cmake.mk: Build tests on multiple CPUs
    
    PR:             262239
    pproved by:     tcberner@ (from kde@)
---
 Mk/Uses/cmake.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mk/Uses/cmake.mk b/Mk/Uses/cmake.mk
index 30a8e188600f..bef3b30ac601 100644
--- a/Mk/Uses/cmake.mk
+++ b/Mk/Uses/cmake.mk
@@ -155,7 +155,7 @@ CMAKE_TESTING_ARGS+=		${CMAKE_TESTING_${_bool_kind}:C/.*/-D&:BOOL=${_bool_kind}/
 do-test:
 	@cd ${BUILD_WRKSRC} && \
 		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${CMAKE_TESTING_ARGS} ${CMAKE_SOURCE_PATH} && \
-		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET} && \
 		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${CMAKE_TESTING_TARGET}
 .endif