File tree Expand file tree Collapse file tree 5 files changed +85
-5
lines changed Expand file tree Collapse file tree 5 files changed +85
-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 :
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+ - name : Clean up git untracked files
46+ run : |
47+ git clean -fx
48+ - name : Build GNU libtool
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
4158 - name : Build MPICH
4259 run : |
4360 cd ${GITHUB_WORKSPACE}
5774 - name : Build PnetCDF
5875 run : |
5976 cd ${GITHUB_WORKSPACE}
77+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
78+ export LD_LIBRARY_PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/lib:${LD_LIBRARY_PATH}"
79+ libtool --version
6080 autoreconf -i
6181 mkdir -p pnetcdf_output
6282 ./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 :
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+ - name : Clean up git untracked files
46+ run : |
47+ git clean -fx
48+ - name : Build GNU libtool
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
4158 - name : Build OPENMPI
4259 run : |
4360 cd ${GITHUB_WORKSPACE}
5976 - name : Build PnetCDF
6077 run : |
6178 cd ${GITHUB_WORKSPACE}
79+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
80+ export LD_LIBRARY_PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/lib:${LD_LIBRARY_PATH}"
81+ libtool --version
6282 autoreconf -i
6383 mkdir -p pnetcdf_output
6484 ./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+ - name : Clean up git untracked files
53+ run : |
54+ git clean -fx
55+ - name : Build GNU libtool
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
4865 - name : Build MPICH
4966 run : |
5067 cd ${GITHUB_WORKSPACE}
7188 - name : Build PnetCDF
7289 run : |
7390 cd ${GITHUB_WORKSPACE}
91+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
92+ export LD_LIBRARY_PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/lib:${LD_LIBRARY_PATH}"
93+ libtool --version
7494 autoreconf -i
7595 ./configure --prefix=${GITHUB_WORKSPACE}/PnetCDF \
7696 --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+ - name : Clean up git untracked files
53+ run : |
54+ git clean -fx
55+ - name : Build GNU libtool
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
4865 - name : Build OPENMPI
4966 run : |
5067 cd ${GITHUB_WORKSPACE}
6582 - name : Build PnetCDF
6683 run : |
6784 cd ${GITHUB_WORKSPACE}
85+ export PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/bin:${PATH}"
86+ export LD_LIBRARY_PATH="${GITHUB_WORKSPACE}/AUTOTOOLS/lib:${LD_LIBRARY_PATH}"
87+ libtool --version
6888 autoreconf -i
6989 mkdir -p pnetcdf_output
7090 ./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