Skip to content

Commit

Permalink
fix issue with --disable-setting-flags
Browse files Browse the repository at this point in the history
  • Loading branch information
rem1776 authored and rem1776 committed Oct 6, 2023
1 parent 2f941bc commit 5a7880d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,13 @@ else
AM_CONDITIONAL([SKIP_DEPRECATED_IO_TESTS], false)
fi

# Builds with r8 default unless disable flag is given
if test $enable_r8_default = yes; then
AM_CONDITIONAL([SKIP_MOSAIC_TESTS], false)
else
AM_CONDITIONAL([SKIP_MOSAIC_TESTS], true)
fi

# Set any required compile flags. This will not be done if the user wants to
# define all their own flags.
if test $enable_setting_flags = yes; then
Expand All @@ -307,10 +314,6 @@ if test $enable_setting_flags = yes; then
if test $enable_r8_default = yes; then
GX_FC_DEFAULT_REAL_KIND8_FLAG([dnl
FCFLAGS="$FCFLAGS $FC_DEFAULT_REAL_KIND8_FLAG"])
AM_CONDITIONAL([SKIP_MOSAIC_TESTS], false)
else
# disable mosaic unit tests if FMS is compiled in r4
AM_CONDITIONAL([SKIP_MOSAIC_TESTS], true)
fi

# individual mixed precision overloads
Expand Down

0 comments on commit 5a7880d

Please sign in to comment.