Skip to content

Commit

Permalink
starting to add cmake build of C library
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Aug 25, 2020
1 parent 00e667f commit 7f547ee
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/a3.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: netcdf-4.7.4_pnetcdf-12.1_ncint
name: netcdf-4.7.4_pnetcdf-12.1_ncint_openmpi_4.0.4

on:
push:
Expand Down Expand Up @@ -117,9 +117,7 @@ jobs:
make
sudo make install
popd
- name: autoreconf
run: autoreconf -i
- name: pio build
- name: autotools build
run: |
set -x
echo 'export PATH=/home/runner/openmpi/bin:$PATH' > .bashrc
Expand All @@ -128,8 +126,17 @@ jobs:
source .bashrc
export PATH="/home/runner/openmpi/bin:$PATH"
export CC=/home/runner/openmpi/bin/mpicc
autoreconf -i
./configure --with-mpiexec='mpiexec --oversubscribe'
which mpiexec
make check
- name: cmake build
run: |
set -x
echo 'export PATH=/home/runner/openmpi/bin:$PATH' > .bashrc
source .bashrc
export CC=/home/runner/openmpi/bin/mpicc
mkdir build
cd build

0 comments on commit 7f547ee

Please sign in to comment.