From 4fa4bd6312cbeebda23a80feb77f29691af0cd7b Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Mon, 19 Oct 2020 19:51:03 +0000 Subject: [PATCH] Enable SUBDIR_PARALLEL for lib/googletest This saves a few seconds in a parallel build since we can build the gtest_main and gmock subdirectories in parallel. Reviewed By: ngie Differential Revision: https://reviews.freebsd.org/D26760 --- lib/googletest/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/googletest/Makefile b/lib/googletest/Makefile index b45985177f83..47d4939f2166 100644 --- a/lib/googletest/Makefile +++ b/lib/googletest/Makefile @@ -3,12 +3,16 @@ .include SUBDIR+= gtest -SUBDIR+= .WAIT SUBDIR+= gmock -SUBDIR+= .WAIT SUBDIR+= gmock_main SUBDIR+= gtest_main SUBDIR.${MK_TESTS}+= tests +SUBDIR_DEPEND_gtest_main= gtest +SUBDIR_DEPEND_gmock= gtest +SUBDIR_DEPEND_gmock_main= gmock +SUBDIR_DEPEND_tests= gmock_main +SUBDIR_PARALLEL= + .include