From e11337c1022cfe4782e3c228e760788061fa54aa Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Mon, 10 Aug 2020 05:07:19 -0600 Subject: [PATCH] now install pnetcdf in subdirectory --- .github/workflows/autotools.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/autotools.yml b/.github/workflows/autotools.yml index 1d779b9ad3c..3cdc6494adf 100644 --- a/.github/workflows/autotools.yml +++ b/.github/workflows/autotools.yml @@ -14,10 +14,8 @@ jobs: env: CC: mpicc FC: mpifort - CPPFLAGS: "-I/usr/include -I/usr/local/include" -# CFLAGS: "-std=c99 -fsanitize=address -fno-omit-frame-pointer -Werror" -# FFLAGS: "-fsanitize=address -fno-omit-frame-pointer" -# FCFLAGS: "-fsanitize=address -fno-omit-frame-pointer -Werror" + CPPFLAGS: "-I/usr/include -I/usr/local/include -I/home/runner/pnetcdf/include" + LDFLAGS: "-L/home/runner/pnetcdf/lib" steps: - uses: actions/checkout@v2 @@ -31,7 +29,7 @@ jobs: tar -xzvf pnetcdf-1.11.0.tar.gz ls -l pushd pnetcdf-1.11.0 - ./configure --prefix=/usr --enable-shared --disable-cxx + ./configure --prefix=/home/runner/pnetcdf --enable-shared --disable-cxx make sudo make install popd