aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2020-08-26 09:19:49 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2020-08-26 09:19:49 +0000
commit18de62a94a6ef397d43060d1e370ef0aaeeaba16 (patch)
tree06886b4726dff9ca06e08d4d11a4d73ce07458ad
parent2d6bee8f00c3ff1689a67fc2b60baf0503fe6999 (diff)
downloadsrc-18de62a94a6ef397d43060d1e370ef0aaeeaba16.tar.gz
src-18de62a94a6ef397d43060d1e370ef0aaeeaba16.zip
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
Notes
Notes: svn path=/head/; revision=364808
-rw-r--r--lib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 45c10e7e5c57..d196ae4c3687 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -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 \