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
This commit is contained in:
Alex Richardson 2020-10-19 19:51:03 +00:00
parent 2ed3236082
commit 4fa4bd6312

View File

@ -3,12 +3,16 @@
.include <src.opts.mk> .include <src.opts.mk>
SUBDIR+= gtest SUBDIR+= gtest
SUBDIR+= .WAIT
SUBDIR+= gmock SUBDIR+= gmock
SUBDIR+= .WAIT
SUBDIR+= gmock_main SUBDIR+= gmock_main
SUBDIR+= gtest_main SUBDIR+= gtest_main
SUBDIR.${MK_TESTS}+= tests 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 <bsd.subdir.mk> .include <bsd.subdir.mk>