Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lavabit/magma.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorLadar Levison <ladar@lavabit.com>2019-02-27 07:48:38 +0300
committerLadar Levison <ladar@users.noreply.github.com>2019-03-07 00:09:38 +0300
commitd8dc9ccd3dd474ae18dbed8efe84be7e54f7a40c (patch)
tree6c439cc543caef5fee0687c93ba9c1499dfef141 /dev
parent2ac8c3aef3812c807436706f038954ca269f5649 (diff)
Enable memcached library build parallelization.
Diffstat (limited to 'dev')
-rwxr-xr-xdev/scripts/builders/build.lib.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev/scripts/builders/build.lib.sh b/dev/scripts/builders/build.lib.sh
index 2d8fab8b..6f720a87 100755
--- a/dev/scripts/builders/build.lib.sh
+++ b/dev/scripts/builders/build.lib.sh
@@ -2283,6 +2283,12 @@ memcached() {
# Return key responses from lru_crawler requests.
cat "$M_PATCHES/memcached/"1.0.18_add_key_response_support.patch | patch -p1 --verbose &>> "$M_LOGS/memcached.txt"; error
+ # Enable parallel builds. Note man pages must be made with --jobs=1 or it will fail.
+ cat "$M_PATCHES/memcached/"1.0.18_enable_parallel_build.patch | patch -p1 --verbose &>> "$M_LOGS/memcached.txt"; error
+
+ # We need to reset the modification time on these files after applying the parallelization patch, or an autoreconf will be triggered.
+ touch -t 201402090552.42 Makefile.am && touch -t 201402090552.42 man/include.am
+
# New versions of aclocal fail if the AC_CONFIG_AUX_DIR directive follows the AC_PROG_{CC,CXX} lines.
# cat "$M_PATCHES/memcached/"1.0.18_fix_aclocal_errors.patch | patch -p1 --verbose &>> "$M_LOGS/memcached.txt"; error