Skip to content

Conversation

marshallward
Copy link
Member

@marshallward marshallward commented Mar 17, 2025

This is a refactor of AX_FC_REAL8. The GNU test for -fdefault-real-8 and -fdefault-double-8 is split into two separate tests. The macro was also redesigned to avoid duplication of the test program, and to follow the same pattern as in autoconf's lib/fortran.m4.

The AMD flang compilers require -fdefault-real-8 but not -fdefault-double-8. We now only test for the first flag both before testing for both.

This patch will slightly improve support for AMD flang compilers.

This is a refactor of AX_FC_REAL8.  The GNU test for -f-default-real-8
and -fdefault-double-8 is split into two separate tests.  The macro was
also redesigned to avoid duplication of the test program, and to follow
the same pattern as in autoconf's lib/fortran.m4.

The AMD flang compilers require -fdefault-real-8 but not
-fdefault-double-8.  We now test for the first flag before testing for
both.

This patch will slightly improve support for AMD flang compilers.
@Hallberg-NOAA
Copy link
Member

This PR has passed pipeline testing at https://gitlab.gfdl.noaa.gov/ogrp/mom6ci/MOM6/-/pipelines/27136.

@Hallberg-NOAA Hallberg-NOAA merged commit 942acdd into NOAA-GFDL:dev/gfdl Apr 16, 2025
51 checks passed
@marshallward marshallward deleted the ac_real8_update branch May 24, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants