From 1a4035a5d804f0f446d7e3105f65d74ca2750c15 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sun, 23 Mar 2014 15:38:30 +0100 Subject: [PATCH] Make lxml install faster by disabling optimizations This averagely saves 30 secs or so. --- install-deps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-deps.sh b/install-deps.sh index 8ebf4b2..2b69414 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -1,7 +1,8 @@ #!/bin/sh echo "The shell is $SHELL" set -e -PIP_INSTALL="pip install --use-mirrors --upgrade" +[ "$IS_TRAVIS" = "true" ] && CFLAGS=-O0 pip install lxml || true +PIP_INSTALL="pip install --use-mirrors" $PIP_INSTALL --editable . $PIP_INSTALL -r requirements.txt [ -n "$DAV_SERVER" ] || DAV_SERVER=radicale_filesystem