summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-03-29 21:00:34 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-03-31 20:52:06 +0300
commit7d798982e1d43a2085fe0f9a8c24e142fc98b4cc (patch)
tree1f64d9c6dec347c58ee76a28fe1f4c692ec93540
parent00222d59b39f52e8246128c122d98aaf8eb45496 (diff)
downloadbdwgc-7d798982e1d43a2085fe0f9a8c24e142fc98b4cc.tar.gz
Travis CI: Update autotools for distcheck
New tools version to prepare the distributive tarball: - autoconf 2.71 (was 2.69 as default one on focal) - automake 1.16.5 - m4 1.4.19 (was 1.4.18 as default one on focal) - libtool 2.4.7 (was 2.4.6, needed to build automake)
-rw-r--r--.travis.yml15
1 files changed, 11 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index ffabe549..39c686f8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -660,8 +660,10 @@ jobs:
- dist: focal
env:
- MAKEFILE_TARGETS="distcheck"
+ - AUTOCONF_VER=2.71
- AUTOMAKE_VER=1.16.5
- - LIBTOOL_VER=2.4.6
+ - LIBTOOL_VER=2.4.7
+ - M4_VER=1.4.19
- NO_CLONE_LIBATOMIC_OPS=true
before_install:
@@ -671,8 +673,8 @@ before_install:
~/cppcheck -b $CPPCHECK_VER;
make --directory ~/cppcheck -j8 CXXFLAGS="-O3 -march=native -D NDEBUG";
fi
-- if [[ "$AUTOMAKE_VER" != "" || "$LIBTOOL_VER" != ""
- || "$M4_VER" != "" ]]; then
+- if [[ "$AUTOCONF_VER" != "" || "$AUTOMAKE_VER" != ""
+ || "$LIBTOOL_VER" != "" || "$M4_VER" != "" ]]; then
GNUTOOLS_ROOT=`pwd`/../gnu-tools;
export PATH=$GNUTOOLS_ROOT/bin:$PATH;
GNU_DOWNLOAD_SITE=https://ftp.gnu.org/gnu;
@@ -680,13 +682,18 @@ before_install:
- if [[ "$M4_VER" != "" ]]; then
M4_XZ_URL=$GNU_DOWNLOAD_SITE/m4/m4-$M4_VER.tar.xz;
wget -O - $M4_XZ_URL | tar xf - --xz --directory ~;
- (cd ~/m4-$M4_VER && ./configure --prefix=$GNUTOOLS_ROOT && make -j check && make install);
+ (cd ~/m4-$M4_VER && ./configure --prefix=$GNUTOOLS_ROOT && make -j && make install);
fi
- if [[ "$LIBTOOL_VER" != "" ]]; then
LIBTOOL_XZ_URL=$GNU_DOWNLOAD_SITE/libtool/libtool-$LIBTOOL_VER.tar.xz;
wget -O - $LIBTOOL_XZ_URL | tar xf - --xz --directory ~;
(cd ~/libtool-$LIBTOOL_VER && ./configure --prefix=$GNUTOOLS_ROOT && make -j && make install);
fi
+- if [[ "$AUTOCONF_VER" != "" ]]; then
+ AUTOCONF_XZ_URL=$GNU_DOWNLOAD_SITE/autoconf/autoconf-$AUTOCONF_VER.tar.xz;
+ wget -O - $AUTOCONF_XZ_URL | tar xf - --xz --directory ~;
+ (cd ~/autoconf-$AUTOCONF_VER && ./configure --prefix=$GNUTOOLS_ROOT && make -j && make install);
+ fi
- if [[ "$AUTOMAKE_VER" != "" ]]; then
AUTOMAKE_XZ_URL=$GNU_DOWNLOAD_SITE/automake/automake-$AUTOMAKE_VER.tar.xz;
wget -O - $AUTOMAKE_XZ_URL | tar xf - --xz --directory ~;