Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2020 09:19:49 +0000 (UTC)
From:      Alex Richardson <arichardson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r364808 - head/lib
Message-ID:  <202008260919.07Q9Jnhr091196@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arichardson
Date: Wed Aug 26 09:19:49 2020
New Revision: 364808
URL: https://svnweb.freebsd.org/changeset/base/364808

Log:
  Move libsqlite3 to the top of the SUBDIR list
  
  In parallel builds, this should allow sqlite to start building earlier and
  increase parallelism when building lib/. Looking at htop output during
  buildworld/tinderbox, there are long phases where only one CPU is active
  optimizing the massive sqlite3.c file since the build of libsqlite3 is
  started quite late.
  
  Reviewed By:	emaste
  Differential Revision: https://reviews.freebsd.org/D26169

Modified:
  head/lib/Makefile

Modified: head/lib/Makefile
==============================================================================
--- head/lib/Makefile	Wed Aug 26 09:19:44 2020	(r364807)
+++ head/lib/Makefile	Wed Aug 26 09:19:49 2020	(r364808)
@@ -23,9 +23,12 @@ SUBDIR_BOOTSTRAP= \
 	msun
 
 # The main list; please keep these sorted alphabetically.
+# The only exception is sqlite3: we place it at the start of the list since it
+# takes a long time to build and starting it first improves parallelism.
 
 SUBDIR=	${SUBDIR_BOOTSTRAP} \
 	.WAIT \
+	libsqlite3 \
 	geom \
 	libalias \
 	libarchive \
@@ -84,7 +87,6 @@ SUBDIR=	${SUBDIR_BOOTSTRAP} \
 	librtld_db \
 	libsbuf \
 	libsmb \
-	libsqlite3 \
 	libstdbuf \
 	libstdthreads \
 	libsysdecode \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008260919.07Q9Jnhr091196>