Skip to content

Commit

Permalink
added FCFLAGS to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Mar 26, 2019
1 parent 58fccb6 commit ce7416e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ script:
- autoreconf -i
- export CFLAGS='-std=c99 -fsanitize=address -fno-omit-frame-pointer'
- export FFLAGS='-fsanitize=address -fno-omit-frame-pointer'
- export FCFLAGS='-fsanitize=address -fno-omit-frame-pointer'
- export DISTCHECK_CONFIGURE_FLAGS='--enable-fortran'
- ./configure --enable-fortran
- make -j distcheck
Expand Down
8 changes: 8 additions & 0 deletions set_flags.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@
#
# Assemble the CPPFLAGS and for PIO Fortran tests.
#
# Ed Hartnett 3/26/19

# Set the CPPFLAGS.
AM_CPPFLAGS = -I$(top_srcdir)/src/flib -D_NETCDF

# Is the user building with pnetcdf?
if BUILD_PNETCDF
AM_CPPFLAGS += -D_PETCDF
endif

# Is the user building with netCDF-4 parallel I/O?
if BUILD_NETCDF4
AM_CPPFLAGS += -D_NETCDF4
endif

0 comments on commit ce7416e

Please sign in to comment.