Skip to content

Commit

Permalink
now install pnetcdf in subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Aug 10, 2020
1 parent 2376632 commit e11337c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/autotools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e11337c

Please sign in to comment.