File tree Expand file tree Collapse file tree 5 files changed +73
-5
lines changed Expand file tree Collapse file tree 5 files changed +73
-5
lines changed Original file line number Diff line number Diff line change 2424
2525env :
2626 MPICH_VERSION : 4.2.0
27+ LIBTOOL_VERSION : 2.5.4
2728
2829jobs :
2930 build :
@@ -37,10 +38,25 @@ jobs:
3738 # which gcc
3839 # gcc --version
3940 # which gfortran
40- brew install automake autoconf libtool m4
41+ brew install automake autoconf m4
42+ autoconf --version
43+ automake --version
44+ m4 --version
45+ git clean -fx
46+ - name : Build GNU libtool
47+ run : |
48+ cd ${GITHUB_WORKSPACE}
49+ wget -q https://ftp.wayne.edu/gnu/libtool/libtool-${LIBTOOL_VERSION}.tar.gz
50+ gzip -dc libtool-${LIBTOOL_VERSION}.tar.gz | tar -xf -
51+ cd libtool-${LIBTOOL_VERSION}
52+ ./configure --prefix=${GITHUB_WORKSPACE}/AUTOTOOLS \
53+ --silent
54+ make -s -j 8 install > qout 2>&1
55+ make -s -j 8 distclean >> qout 2>&1
4156 - name : Build MPICH
4257 run : |
4358 cd ${GITHUB_WORKSPACE}
59+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
4460 rm -rf MPICH ; mkdir MPICH ; cd MPICH
4561 wget -q https://www.mpich.org/static/downloads/${MPICH_VERSION}/mpich-${MPICH_VERSION}.tar.gz
4662 gzip -dc mpich-${MPICH_VERSION}.tar.gz | tar -xf -
5773 - name : Build PnetCDF
5874 run : |
5975 cd ${GITHUB_WORKSPACE}
76+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
6077 autoreconf -i
6178 mkdir -p pnetcdf_output
6279 ./configure --enable-option-checking=fatal \
Original file line number Diff line number Diff line change 2424
2525env :
2626 OPENMPI_VERSION : 5.0.2
27+ LIBTOOL_VERSION : 2.5.4
2728
2829jobs :
2930 build :
@@ -37,10 +38,25 @@ jobs:
3738 # which gcc
3839 # gcc --version
3940 # which gfortran
40- brew install automake autoconf libtool m4
41+ brew install automake autoconf m4
42+ autoconf --version
43+ automake --version
44+ m4 --version
45+ git clean -fx
46+ - name : Build GNU libtool
47+ run : |
48+ cd ${GITHUB_WORKSPACE}
49+ wget -q https://ftp.wayne.edu/gnu/libtool/libtool-${LIBTOOL_VERSION}.tar.gz
50+ gzip -dc libtool-${LIBTOOL_VERSION}.tar.gz | tar -xf -
51+ cd libtool-${LIBTOOL_VERSION}
52+ ./configure --prefix=${GITHUB_WORKSPACE}/AUTOTOOLS \
53+ --silent
54+ make -s -j 8 install > qout 2>&1
55+ make -s -j 8 distclean >> qout 2>&1
4156 - name : Build OPENMPI
4257 run : |
4358 cd ${GITHUB_WORKSPACE}
59+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
4460 rm -rf OPENMPI ; mkdir OPENMPI ; cd OPENMPI
4561 VER_MAJOR=${OPENMPI_VERSION%.*}
4662 wget -q https://download.open-mpi.org/release/open-mpi/v${VER_MAJOR}/openmpi-${OPENMPI_VERSION}.tar.gz
5975 - name : Build PnetCDF
6076 run : |
6177 cd ${GITHUB_WORKSPACE}
78+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
6279 autoreconf -i
6380 mkdir -p pnetcdf_output
6481 ./configure --enable-option-checking=fatal \
Original file line number Diff line number Diff line change 2020
2121env :
2222 MPICH_VERSION : 4.2.0
23+ LIBTOOL_VERSION : 2.5.4
2324
2425jobs :
2526 build :
3031 - name : Set up dependencies
3132 run : |
3233 sudo apt-get update
33- sudo apt-get install automake autoconf libtool libtool-bin m4
34+ sudo apt-get install automake autoconf m4
35+ autoconf --version
36+ automake --version
37+ m4 --version
3438 # install gfortran
3539 version=12
3640 sudo add-apt-repository ppa:ubuntu-toolchain-r/test
4549 which gfortran
4650 gcc --version
4751 gfortran --version
52+ git clean -fx
53+ - name : Build GNU libtool
54+ run : |
55+ cd ${GITHUB_WORKSPACE}
56+ wget -q https://ftp.wayne.edu/gnu/libtool/libtool-${LIBTOOL_VERSION}.tar.gz
57+ gzip -dc libtool-${LIBTOOL_VERSION}.tar.gz | tar -xf -
58+ cd libtool-${LIBTOOL_VERSION}
59+ ./configure --prefix=${GITHUB_WORKSPACE}/AUTOTOOLS \
60+ --silent
61+ make -s -j 8 install > qout 2>&1
62+ make -s -j 8 distclean >> qout 2>&1
4863 - name : Build MPICH
4964 run : |
5065 cd ${GITHUB_WORKSPACE}
66+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
5167 echo "Install MPICH ${MPICH_VERSION} in ${GITHUB_WORKSPACE}/MPICH"
5268 rm -rf MPICH ; mkdir MPICH ; cd MPICH
5369 # git clone -q https://github.com/pmodels/mpich.git
7187 - name : Build PnetCDF
7288 run : |
7389 cd ${GITHUB_WORKSPACE}
90+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
7491 autoreconf -i
7592 ./configure --prefix=${GITHUB_WORKSPACE}/PnetCDF \
7693 --enable-option-checking=fatal \
Original file line number Diff line number Diff line change 2020
2121env :
2222 OPENMPI_VERSION : 5.0.2
23+ LIBTOOL_VERSION : 2.5.4
2324
2425jobs :
2526 build :
3031 - name : Set up dependencies
3132 run : |
3233 sudo apt-get update
33- sudo apt-get install automake autoconf libtool libtool-bin m4
34+ sudo apt-get install automake autoconf m4
35+ autoconf --version
36+ automake --version
37+ m4 --version
3438 # install gfortran
3539 version=12
3640 sudo add-apt-repository ppa:ubuntu-toolchain-r/test
4549 which gfortran
4650 gcc --version
4751 gfortran --version
52+ git clean -fx
53+ - name : Build GNU libtool
54+ run : |
55+ cd ${GITHUB_WORKSPACE}
56+ wget -q https://ftp.wayne.edu/gnu/libtool/libtool-${LIBTOOL_VERSION}.tar.gz
57+ gzip -dc libtool-${LIBTOOL_VERSION}.tar.gz | tar -xf -
58+ cd libtool-${LIBTOOL_VERSION}
59+ ./configure --prefix=${GITHUB_WORKSPACE}/AUTOTOOLS \
60+ --silent
61+ make -s -j 8 install > qout 2>&1
62+ make -s -j 8 distclean >> qout 2>&1
4863 - name : Build OPENMPI
4964 run : |
5065 cd ${GITHUB_WORKSPACE}
66+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
5167 echo "Install OPENMPI ${OPENMPI_VERSION} in ${GITHUB_WORKSPACE}/OPENMPI"
5268 rm -rf OPENMPI ; mkdir OPENMPI ; cd OPENMPI
5369 VER_MAJOR=${OPENMPI_VERSION%.*}
6581 - name : Build PnetCDF
6682 run : |
6783 cd ${GITHUB_WORKSPACE}
84+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
6885 autoreconf -i
6986 mkdir -p pnetcdf_output
7087 ./configure --prefix=${GITHUB_WORKSPACE}/PnetCDF \
Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ dnl AC_PROG_RANLIB
453453
454454dnl libtool v2.4.6 was released in 2015-02-15
455455dnl Travis CI only has v2.4.2
456- LT_PREREQ([ 2.4.6 ] )
456+ LT_PREREQ([ 2.5.4 ] )
457457dnl LT_INIT([dlopen disable-shared])
458458dnl LT_INIT([dlopen])
459459dnl LT_INIT([disable-shared]) # build without shared libraries
You can’t perform that action at this time.
0 commit comments