Skip to content

Commit c08258c

Browse files
committed
configury: ensure to remove *.mod files
At the end of the OMPI_FORTRAN_CHECK_IGNORE_TKR_SUB macro, ensure to remove any generated *.mod files (rather than relying on some other macro -- cough cough OMPI_FORTRAN_CHECK_BIND_C_TYPE cough cough -- to remove *.mod files for us). Signed-off-by: Jeff Squyres <[email protected]>
1 parent 4f40be6 commit c08258c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/ompi_fortran_check_ignore_tkr.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ AC_DEFUN([OMPI_FORTRAN_CHECK_IGNORE_TKR_SUB], [
224224
[msg=no
225225
$5])
226226
AC_MSG_RESULT($msg)
227+
# Make sure to clean up any generated *.mod files
228+
rm -rf *.mod 2>/dev/null
227229
AC_LANG_POP([Fortran])
228230
OPAL_VAR_SCOPE_POP
229231
])
230-

0 commit comments

Comments
 (0)