Skip to content
Snippets Groups Projects
Commit a49f96f2 authored by Sergey Kosukhin's avatar Sergey Kosukhin Committed by Thomas Jahns
Browse files

Clean up when checking for the MPI workarounds.

* Let AC_COMPILE_IFELSE clean up by postponing the loop break.
* AC_COMPILE_IFELSE without the first argument does not remove the
  source file.
parent 28a6b411
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,9 @@ extern pthread_mutex_t yaksui_atomic_mutex;],
[acx_yaksa_add_workaround="$acx_yaksa_add_workaround/xt_yaksa_indexed.c"
mv conftest.c "$acx_yaksa_add_workaround"
ACX_MV_OBJ([conftest],[mpich_workaround])],
[is_affected_mpich=false ; break])
[is_affected_mpich=false
rm -f conftest.$ac_ext])
$is_affected_mpich || break
dnl 4. verify listed tests now succeed
CPPFLAGS=$acx_saved_CPPFLAGS
LIBS="mpich_workaround.$ac_objext $LIBS"
......
......@@ -151,7 +151,9 @@ s/^ *//;s/ *$//'`])
as_dir=src as_fn_mkdir_p
AC_COMPILE_IFELSE(,
[ACX_MV_OBJ([conftest],[ompi_workaround])],
[is_affected_ompi=false ; break])
[is_affected_ompi=false])
rm -f conftest.$ac_ext
$is_affected_ompi || break
dnl 4. verify listed tests now succeed
CPPFLAGS=$acx_saved_CPPFLAGS
CFLAGS=$acx_saved_CFLAGS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment