Skip to content

Commit

Permalink
adding cmake build
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Jul 29, 2020
1 parent 7074cf9 commit addb05c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,10 @@ jobs:
- name: cmake build
run: |
which ncdump
ls -l /usr/lib
find /usr -name libnetcdf.so
ls -l /usr
mkdir build
cd build
cmake -Wno-dev -DNetCDF_C_LIBRARY=/usr/lib -DNetCDF_C_INCLUDE_DIR=/usr/include -DCMAKE_PREFIX_PATH=/usr -DPIO_HDF5_LOGGING=On -DPIO_USE_MALLOC=On -DPIO_ENABLE_LOGGING=On -DPIO_ENABLE_TIMING=Off ..
cmake -Wno-dev -DNetCDF_C_LIBRARY=/usr/lib/x86_64-linux-gnu/libnetcdf.so -DNetCDF_C_INCLUDE_DIR=/usr/include -DCMAKE_PREFIX_PATH=/usr -DPIO_HDF5_LOGGING=On -DPIO_USE_MALLOC=On -DPIO_ENABLE_LOGGING=On -DPIO_ENABLE_TIMING=Off ..
make VERBOSE=1
make tests VERBOSE=1
ctest -VV

0 comments on commit addb05c

Please sign in to comment.