]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Work around a build failure when a cached APR branch install
authorJoe Orton <jorton@apache.org>
Mon, 30 Dec 2019 11:26:21 +0000 (11:26 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 30 Dec 2019 11:26:21 +0000 (11:26 +0000)
is used but APR-util needs to be rebuilt; currently this fails
because the APR build directory is not available.

e.g. https://travis-ci.org/apache/httpd/jobs/630885203

Disable caching for this combination for now.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872106 13f79535-47bb-0310-9956-ffa450edef68

.travis.yml
test/travis_before_linux.sh

index ee9fd4eb06bb11bce7eb7f1375b56eb8bca1b465..6efe8830d272405837afdf6e64735b3b46dd1dfe 100644 (file)
@@ -120,6 +120,7 @@ matrix:
       env: APR_VERSION=1.7.x APU_VERSION=1.7.x
            CONFIG="--enable-mods-shared=reallyall"
            APU_CONFIG="--with-crypto"
+           CLEAR_CACHE=1
     # -------------------------------------------------------------------------
     - name: Linux Ubuntu, APR 1.7.0 --enable-pool-debug, APR-util 1.6.1
       env: APR_VERSION=1.7.0 APR_CONFIG="--enable-pool-debug"
index f653bcc91c33b1efaad9efebe3997eeaeb110e0f..8e41ee38bf5b2c61205649988338d093bfdf71ea 100755 (executable)
@@ -1,5 +1,9 @@
 #!/bin/bash -xe
 
+if test -v CLEAR_CACHE; then
+    rm -rf $HOME/root
+fi
+
 # Use a rudimental retry workflow as workaround to svn export hanging for minutes.
 # Travis automatically kills a build if one step takes more than 10 minutes without
 # reporting any progress.