From 7f547ee060d0f0f3cd3f62d75fbe3969d84c0d30 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Tue, 25 Aug 2020 11:38:38 -0600 Subject: [PATCH] starting to add cmake build of C library --- .github/workflows/a3.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/a3.yml b/.github/workflows/a3.yml index 71e66ffd4d1..dcb25261426 100644 --- a/.github/workflows/a3.yml +++ b/.github/workflows/a3.yml @@ -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: @@ -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 @@ -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