Configure CI builds with --disable-dependency-tracking to speed them up.
authorDan Fandrich <dan@coneharvesters.com>
Thu, 28 Feb 2019 14:53:07 +0000 (15:53 +0100)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 28 Feb 2019 14:53:07 +0000 (15:53 +0100)
.appveyor.yml
.cirrus.yml
.travis.yml

index 84b2f83..202f57e 100644 (file)
@@ -16,9 +16,9 @@ install:
 
 build_script:
 - cmd: if not [%CONFIG%]==[msys2] (
-    C:\%CONFIG%\bin\bash -e -l -c "cd $APPVEYOR_BUILD_FOLDER && autoreconf -sif && ./configure --prefix=$HOME && make V=1 LDFLAGS='-lintl' && make V=1 install" )
+    C:\%CONFIG%\bin\bash -e -l -c "cd $APPVEYOR_BUILD_FOLDER && autoreconf -sif && ./configure --prefix=$HOME --disable-dependency-tracking && make V=1 LDFLAGS='-lintl' && make V=1 install" )
 - cmd: if [%CONFIG%]==[msys2] (
-    bash -lc "set -x; cd $APPVEYOR_BUILD_FOLDER && autoreconf -sivf && ./configure --prefix=$HOME/install && make V=1 && make V=1 install" )
+    bash -lc "set -x; cd $APPVEYOR_BUILD_FOLDER && autoreconf -sivf && ./configure --prefix=$HOME/install --disable-dependency-tracking && make V=1 && make V=1 install" )
 
 test_script:
 - cmd: if not [%CONFIG%]==[msys2] (
index 9a2ceb4..22dcb8f 100644 (file)
@@ -18,7 +18,7 @@ task:
     - pkg install -y autoconf automake libtool gettext-tools gettext-runtime
   configure_script:
     - autoreconf -sivf
-    - ./configure CFLAGS="$CFLAGS" || { tail -300 config.log; false; }
+    - ./configure --disable-dependency-tracking CFLAGS="$CFLAGS" || { tail -300 config.log; false; }
   compile_script:
     - make V=1
   test_script:
index e323d99..3ca9952 100644 (file)
@@ -117,7 +117,7 @@ install:
         tar xaf failmalloc-1.0.tar.gz
         cd failmalloc-1.0
         sed -i -e 's/\(__malloc_initialize_hook\)/volatile \1/' failmalloc.c
-        ./configure --prefix="$HOME/failmalloc"
+        ./configure --prefix="$HOME/failmalloc" --disable-dependency-tracking
         make
         make install
       fi
@@ -136,7 +136,7 @@ script:
   - if [ "$CONFIG" = "musl" ] ; then CFLAGS='-Wall -Wextra -O3'; export CC=musl-gcc; CONFIGURE_OPTS='--disable-shared'; fi
   - if [ "$CONFIG" = "sanitize" ] ; then CFLAGS='-g -Wall -Wextra -fsanitize=address -fsanitize=undefined'; export CC=clang-6.0; fi
   - if [ "$CONFIG" = "coverage" ] ; then cd "$HOME"/libexif-testsuite; CFLAGS=--coverage; CONFIGURE_OPTS="LDFLAGS=--coverage --with-failmalloc=$HOME/failmalloc/lib" ; fi
-  - ./configure --prefix="${HOME}"/install CFLAGS="$CFLAGS" $CONFIGURE_OPTS || { tail -300 config.log; false; }
+  - ./configure --prefix="${HOME}"/install --disable-dependency-tracking CFLAGS="$CFLAGS" $CONFIGURE_OPTS || { tail -300 config.log; false; }
 
   - make V=1
   # Skip tests when cross compiling.