Skip to content

Commit 6e5d366

Browse files
committed
requires libtool 2.5.4
1 parent f457814 commit 6e5d366

File tree

5 files changed

+73
-5
lines changed

5 files changed

+73
-5
lines changed

.github/workflows/mac_mpich.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ on:
2424

2525
env:
2626
MPICH_VERSION: 4.2.0
27+
LIBTOOL_VERSION: 2.5.4
2728

2829
jobs:
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 -
@@ -57,6 +73,7 @@ jobs:
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 \

.github/workflows/mac_openmpi.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ on:
2424

2525
env:
2626
OPENMPI_VERSION: 5.0.2
27+
LIBTOOL_VERSION: 2.5.4
2728

2829
jobs:
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
@@ -59,6 +75,7 @@ jobs:
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 \

.github/workflows/ubuntu_mpich.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020

2121
env:
2222
MPICH_VERSION: 4.2.0
23+
LIBTOOL_VERSION: 2.5.4
2324

2425
jobs:
2526
build:
@@ -30,7 +31,10 @@ jobs:
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
@@ -45,9 +49,21 @@ jobs:
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
@@ -71,6 +87,7 @@ jobs:
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 \

.github/workflows/ubuntu_openmpi.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020

2121
env:
2222
OPENMPI_VERSION: 5.0.2
23+
LIBTOOL_VERSION: 2.5.4
2324

2425
jobs:
2526
build:
@@ -30,7 +31,10 @@ jobs:
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
@@ -45,9 +49,21 @@ jobs:
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%.*}
@@ -65,6 +81,7 @@ jobs:
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 \

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ dnl AC_PROG_RANLIB
453453

454454
dnl libtool v2.4.6 was released in 2015-02-15
455455
dnl Travis CI only has v2.4.2
456-
LT_PREREQ([2.4.6])
456+
LT_PREREQ([2.5.4])
457457
dnl LT_INIT([dlopen disable-shared])
458458
dnl LT_INIT([dlopen])
459459
dnl LT_INIT([disable-shared]) # build without shared libraries

0 commit comments

Comments
 (0)