Skip to content

Commit

Permalink
Update linux_and_macos.yml (Add libpng setting)
Browse files Browse the repository at this point in the history
  • Loading branch information
hirokemono authored Nov 26, 2024
1 parent 2a58174 commit d94d8cc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/linux_and_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ jobs:
- name: build
run: |
sudo apt install pkg-config git gfortran libopenmpi-dev \
zlib1g zlib1g-dev libblas-dev libfftw3-dev libhdf5-openmpi-dev
zlib1g zlib1g-dev libblas-dev libfftw3-dev libhdf5-openmpi-dev libpng-dev
./configure \
--enable-fftw3 \
--with-hdf5 \
--with-blas \
--with-zlib \
--with-libpng \
MPIRUN="mpirun --oversubscribe"
make
Expand All @@ -55,7 +56,7 @@ jobs:
c=$b/gfortran; \
ln -s $a $c
brew install open-mpi fftw hdf5-mpi
brew install open-mpi fftw hdf5-mpi libpng
mpicc -v
mpif90 -v
Expand All @@ -65,6 +66,7 @@ jobs:
--with-hdf5 \
--with-blas \
--with-zlib \
--with-libpng \
MPIRUN="mpirun --oversubscribe"
make
Expand Down

0 comments on commit d94d8cc

Please sign in to comment.