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
This commit is contained in:
Alex Richardson 2020-08-26 09:19:49 +00:00
parent 2d6bee8f00
commit 18de62a94a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364808

View File

@ -23,9 +23,12 @@ SUBDIR_BOOTSTRAP= \
msun msun
# The main list; please keep these sorted alphabetically. # 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} \ SUBDIR= ${SUBDIR_BOOTSTRAP} \
.WAIT \ .WAIT \
libsqlite3 \
geom \ geom \
libalias \ libalias \
libarchive \ libarchive \
@ -84,7 +87,6 @@ SUBDIR= ${SUBDIR_BOOTSTRAP} \
librtld_db \ librtld_db \
libsbuf \ libsbuf \
libsmb \ libsmb \
libsqlite3 \
libstdbuf \ libstdbuf \
libstdthreads \ libstdthreads \
libsysdecode \ libsysdecode \