Skip to content

Commit

Permalink
fix(netcdf): address gcc hdf5 build issue on linux (MODFLOW-USGS#2009)
Browse files Browse the repository at this point in the history
* apply hdf5 build fix to linux
* cleanup
* apply expected gcc flags when netcdf not in build
---------

Co-authored-by: mjreno <[email protected]>
  • Loading branch information
mjreno and mjreno authored Aug 29, 2024
1 parent d9d6092 commit 4ea1801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ endif

# GCC profile options need to be netcdf aware due to HDF5 issue
if fc_id == 'gcc'
if with_netcdf and build_machine.system() == 'darwin'
if with_netcdf
# HDF5 1.14.3 invalid fpe trap issue: https://github.com/HDFGroup/hdf5/issues/3831
if profile == 'release'
compile_args += ['-ffpe-summary=overflow', '-ffpe-trap=overflow,zero']
Expand Down

0 comments on commit 4ea1801

Please sign in to comment.