File tree Expand file tree Collapse file tree 5 files changed +125
-5
lines changed Expand file tree Collapse file tree 5 files changed +125
-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
28+ M4_VERSION : 1.4.19
2729
2830jobs :
2931 build :
3739 # which gcc
3840 # gcc --version
3941 # which gfortran
40- brew install automake autoconf libtool m4
42+ brew install automake autoconf
43+ autoconf --version
44+ automake --version
45+ - name : Clean up git untracked files
46+ run : |
47+ git clean -fx
48+ - name : Build GNU autotools
49+ run : |
50+ cd ${GITHUB_WORKSPACE}
51+ wget -q https://ftp.wayne.edu/gnu/libtool/libtool-${LIBTOOL_VERSION}.tar.gz
52+ gzip -dc libtool-${LIBTOOL_VERSION}.tar.gz | tar -xf -
53+ cd libtool-${LIBTOOL_VERSION}
54+ ./configure --prefix=${GITHUB_WORKSPACE}/AUTOTOOLS \
55+ --silent
56+ make -s -j 8 install > qout 2>&1
57+ make -s -j 8 distclean >> qout 2>&1
58+ cd ${GITHUB_WORKSPACE}
59+ wget -q https://ftp.gnu.org/gnu/m4/m4-${M4_VERSION}.tar.gz
60+ gzip -dc m4-${M4_VERSION}.tar.gz | tar -xf -
61+ cd m4-${M4_VERSION}
62+ ./configure --prefix=${GITHUB_WORKSPACE}/AUTOTOOLS \
63+ --silent
64+ make -s -j 8 install > qout 2>&1
65+ make -s -j 8 distclean >> qout 2>&1
4166 - name : Build MPICH
4267 run : |
4368 cd ${GITHUB_WORKSPACE}
5782 - name : Build PnetCDF
5883 run : |
5984 cd ${GITHUB_WORKSPACE}
85+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
86+ export LD_LIBRARY_PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/lib:${LD_LIBRARY_PATH}"
87+ m4 --version
88+ libtool --version
89+ libtoolize
6090 autoreconf -i
6191 mkdir -p pnetcdf_output
6292 ./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
28+ M4_VERSION : 1.4.19
2729
2830jobs :
2931 build :
3739 # which gcc
3840 # gcc --version
3941 # which gfortran
40- brew install automake autoconf libtool m4
42+ brew install automake autoconf
43+ autoconf --version
44+ automake --version
45+ - name : Clean up git untracked files
46+ run : |
47+ git clean -fx
48+ - name : Build GNU autotools
49+ run : |
50+ cd ${GITHUB_WORKSPACE}
51+ wget -q https://ftp.wayne.edu/gnu/libtool/libtool-${LIBTOOL_VERSION}.tar.gz
52+ gzip -dc libtool-${LIBTOOL_VERSION}.tar.gz | tar -xf -
53+ cd libtool-${LIBTOOL_VERSION}
54+ ./configure --prefix=${GITHUB_WORKSPACE}/AUTOTOOLS \
55+ --silent
56+ make -s -j 8 install > qout 2>&1
57+ make -s -j 8 distclean >> qout 2>&1
58+ cd ${GITHUB_WORKSPACE}
59+ wget -q https://ftp.gnu.org/gnu/m4/m4-${M4_VERSION}.tar.gz
60+ gzip -dc m4-${M4_VERSION}.tar.gz | tar -xf -
61+ cd m4-${M4_VERSION}
62+ ./configure --prefix=${GITHUB_WORKSPACE}/AUTOTOOLS \
63+ --silent
64+ make -s -j 8 install > qout 2>&1
65+ make -s -j 8 distclean >> qout 2>&1
4166 - name : Build OPENMPI
4267 run : |
4368 cd ${GITHUB_WORKSPACE}
5984 - name : Build PnetCDF
6085 run : |
6186 cd ${GITHUB_WORKSPACE}
87+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
88+ export LD_LIBRARY_PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/lib:${LD_LIBRARY_PATH}"
89+ m4 --version
90+ libtool --version
91+ libtoolize
6292 autoreconf -i
6393 mkdir -p pnetcdf_output
6494 ./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
24+ M4_VERSION : 1.4.19
2325
2426jobs :
2527 build :
3032 - name : Set up dependencies
3133 run : |
3234 sudo apt-get update
33- sudo apt-get install automake autoconf libtool libtool-bin m4
35+ sudo apt-get install automake autoconf
36+ autoconf --version
37+ automake --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+ - name : Clean up git untracked files
53+ run : |
54+ git clean -fx
55+ - name : Build GNU autotools
56+ run : |
57+ cd ${GITHUB_WORKSPACE}
58+ wget -q https://ftp.wayne.edu/gnu/libtool/libtool-${LIBTOOL_VERSION}.tar.gz
59+ gzip -dc libtool-${LIBTOOL_VERSION}.tar.gz | tar -xf -
60+ cd libtool-${LIBTOOL_VERSION}
61+ ./configure --prefix=${GITHUB_WORKSPACE}/AUTOTOOLS \
62+ --silent
63+ make -s -j 8 install > qout 2>&1
64+ make -s -j 8 distclean >> qout 2>&1
65+ cd ${GITHUB_WORKSPACE}
66+ wget -q https://ftp.gnu.org/gnu/m4/m4-${M4_VERSION}.tar.gz
67+ gzip -dc m4-${M4_VERSION}.tar.gz | tar -xf -
68+ cd m4-${M4_VERSION}
69+ ./configure --prefix=${GITHUB_WORKSPACE}/AUTOTOOLS \
70+ --silent
71+ make -s -j 8 install > qout 2>&1
72+ make -s -j 8 distclean >> qout 2>&1
4873 - name : Build MPICH
4974 run : |
5075 cd ${GITHUB_WORKSPACE}
7196 - name : Build PnetCDF
7297 run : |
7398 cd ${GITHUB_WORKSPACE}
99+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
100+ export LD_LIBRARY_PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/lib:${LD_LIBRARY_PATH}"
101+ m4 --version
102+ libtool --version
103+ libtoolize
74104 autoreconf -i
75105 ./configure --prefix=${GITHUB_WORKSPACE}/PnetCDF \
76106 --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
24+ M4_VERSION : 1.4.19
2325
2426jobs :
2527 build :
3032 - name : Set up dependencies
3133 run : |
3234 sudo apt-get update
33- sudo apt-get install automake autoconf libtool libtool-bin m4
35+ sudo apt-get install automake autoconf
36+ autoconf --version
37+ automake --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+ - name : Clean up git untracked files
53+ run : |
54+ git clean -fx
55+ - name : Build GNU autotools
56+ run : |
57+ cd ${GITHUB_WORKSPACE}
58+ wget -q https://ftp.wayne.edu/gnu/libtool/libtool-${LIBTOOL_VERSION}.tar.gz
59+ gzip -dc libtool-${LIBTOOL_VERSION}.tar.gz | tar -xf -
60+ cd libtool-${LIBTOOL_VERSION}
61+ ./configure --prefix=${GITHUB_WORKSPACE}/AUTOTOOLS \
62+ --silent
63+ make -s -j 8 install > qout 2>&1
64+ make -s -j 8 distclean >> qout 2>&1
65+ cd ${GITHUB_WORKSPACE}
66+ wget -q https://ftp.gnu.org/gnu/m4/m4-${M4_VERSION}.tar.gz
67+ gzip -dc m4-${M4_VERSION}.tar.gz | tar -xf -
68+ cd m4-${M4_VERSION}
69+ ./configure --prefix=${GITHUB_WORKSPACE}/AUTOTOOLS \
70+ --silent
71+ make -s -j 8 install > qout 2>&1
72+ make -s -j 8 distclean >> qout 2>&1
4873 - name : Build OPENMPI
4974 run : |
5075 cd ${GITHUB_WORKSPACE}
6590 - name : Build PnetCDF
6691 run : |
6792 cd ${GITHUB_WORKSPACE}
93+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
94+ export LD_LIBRARY_PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/lib:${LD_LIBRARY_PATH}"
95+ m4 --version
96+ libtool --version
97+ libtoolize
6898 autoreconf -i
6999 mkdir -p pnetcdf_output
70100 ./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