Source: sqlite3
Version: 3.26.0+fossilbc891ac6b-1
Severity: wishlist
Tags: patch

Given that sqlite3 compiles its whole source as one translation unit,
the optimizations tend to take longer and longer and sqlite3's build
time increases. Therefore I ask for supporting parallel builds. In my
tests, we can achieve a 40% reduction in build time.

Helmut
diff --minimal -Nru sqlite3-3.26.0+fossilbc891ac6b/debian/changelog 
sqlite3-3.26.0+fossilbc891ac6b/debian/changelog
--- sqlite3-3.26.0+fossilbc891ac6b/debian/changelog     2018-12-26 
16:49:50.000000000 +0100
+++ sqlite3-3.26.0+fossilbc891ac6b/debian/changelog     2019-01-05 
09:59:28.000000000 +0100
@@ -1,3 +1,10 @@
+sqlite3 (3.26.0+fossilbc891ac6b-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Support parallel builds. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 05 Jan 2019 09:59:28 +0100
+
 sqlite3 (3.26.0+fossilbc891ac6b-1) unstable; urgency=medium
 
   * New Fossil snapshot release:
diff --minimal -Nru sqlite3-3.26.0+fossilbc891ac6b/debian/rules 
sqlite3-3.26.0+fossilbc891ac6b/debian/rules
--- sqlite3-3.26.0+fossilbc891ac6b/debian/rules 2018-06-05 23:47:02.000000000 
+0200
+++ sqlite3-3.26.0+fossilbc891ac6b/debian/rules 2019-01-05 09:59:24.000000000 
+0100
@@ -75,10 +75,10 @@
 build: build-arch build-indep
 build-stamp: configure
        dh_testdir
-       $(MAKE)
-       $(MAKE) sqldiff
+       dh_auto_build --parallel
+       dh_auto_build --parallel -- sqldiff
 ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
-       $(MAKE) lemon
+       dh_auto_build --parallel -- lemon
 endif
        cd ext/misc && $(CC) -g -fPIC -I../.. -shared csv.c -o csv.so
 

Reply via email to