You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every modern compiler supports either inline assembly or builtin atomic
operations. Because of this it is time to delete all the code associated
with pre-built atomics.
This commit also clean out the DEC and XLC asm checks. Neither check
does anything and the XLC compiler supports GCC ASM.
Signed-off-by: Nathan Hjelm <[email protected]>
if test "$opal_cv_asm_arch" != "WINDOWS" && test "$opal_cv_asm_builtin" != "BUILTIN_SYNC" && test "$opal_cv_asm_builtin" != "BUILTIN_GCC" && test "$opal_cv_asm_builtin" != "BUILTIN_OSX" ; then
1255
-
# see if we have a pre-built one already
1256
-
AC_MSG_CHECKING([for pre-built assembly file])
1257
-
opal_cv_asm_file=""
1258
-
if $GREP "$opal_cv_asm_arch" "${OPAL_TOP_SRCDIR}/opal/asm/asm-data.txt" | $FGREP "$opal_cv_asm_format" >conftest.out 2>&1 ; then
1259
-
opal_cv_asm_file="`cut -f3 conftest.out`"
1260
-
if test ! "$opal_cv_asm_file" = "" ; then
1261
-
opal_cv_asm_file="atomic-${opal_cv_asm_file}.s"
1262
-
if test -f "${OPAL_TOP_SRCDIR}/opal/asm/generated/${opal_cv_asm_file}" ; then
1263
-
AC_MSG_RESULT([yes ($opal_cv_asm_file)])
1264
-
else
1265
-
AC_MSG_RESULT([no ($opal_cv_asm_file not found)])
1266
-
opal_cv_asm_file=""
1267
-
fi
1268
-
fi
1269
-
else
1270
-
AC_MSG_RESULT([no (not in asm-data)])
1271
-
fi
1272
-
rm -rf conftest.*
1273
-
1274
-
if test "$opal_cv_asm_file" = "" ; then
1275
-
# Can we generate a file?
1276
-
AC_MSG_CHECKING([whether possible to generate assembly file])
AC_MSG_WARN([Could not build atomic operations assembly file.])
1290
-
AC_MSG_WARN([There will be no atomic operations for this build.])
1291
-
fi
1292
-
fi
1293
-
rm -rf conftest.*
1190
+
if test "$opal_cv_asm_arch" != "WINDOWS" && test "$opal_cv_asm_builtin" != "BUILTIN_SYNC" && test "$opal_cv_asm_builtin" != "BUILTIN_GCC" && test "$opal_cv_asm_builtin" != "BUILTIN_OSX" && test "$opal_cv_asm_inline_arch" = "no" ; then
1191
+
AC_MSG_ERROR([no atomic support available. exiting])
1294
1192
else
1295
1193
# On windows with VC++, atomics are done with compiler primitives
0 commit comments