svn commit: r366851 - head/lib/googletest

Alex Richardson arichardson at FreeBSD.org
Mon Oct 19 19:51:05 UTC 2020


Author: arichardson
Date: Mon Oct 19 19:51:03 2020
New Revision: 366851
URL: https://svnweb.freebsd.org/changeset/base/366851

Log:
  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

Modified:
  head/lib/googletest/Makefile

Modified: head/lib/googletest/Makefile
==============================================================================
--- head/lib/googletest/Makefile	Mon Oct 19 19:50:57 2020	(r366850)
+++ head/lib/googletest/Makefile	Mon Oct 19 19:51:03 2020	(r366851)
@@ -3,12 +3,16 @@
 .include <src.opts.mk>
 
 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 <bsd.subdir.mk>


More information about the svn-src-head mailing list