configury: remove some dead code
perl is now mandatory to build Open MPI, so there is no need to check for it Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
Этот коммит содержится в:
родитель
59f40e7cc5
Коммит
c8b51a2d3b
@ -1255,27 +1255,21 @@ if test "$opal_cv_asm_arch" != "WINDOWS" && test "$opal_cv_asm_builtin" != "BUIL
|
|||||||
rm -rf conftest.*
|
rm -rf conftest.*
|
||||||
|
|
||||||
if test "$opal_cv_asm_file" = "" ; then
|
if test "$opal_cv_asm_file" = "" ; then
|
||||||
if test ! "$PERL" = "" ; then
|
# Can we generate a file?
|
||||||
# we have perl... Can we generate a file?
|
AC_MSG_CHECKING([whether possible to generate assembly file])
|
||||||
AC_MSG_CHECKING([whether possible to generate assembly file])
|
mkdir -p opal/asm/generated
|
||||||
mkdir -p opal/asm/generated
|
opal_cv_asm_file="atomic-local.s"
|
||||||
opal_cv_asm_file="atomic-local.s"
|
opal_try='$PERL $OPAL_TOP_SRCDIR/opal/asm/generate-asm.pl $opal_cv_asm_arch "$opal_cv_asm_format" $OPAL_TOP_SRCDIR/opal/asm/base $OPAL_TOP_BUILDDIR/opal/asm/generated/$opal_cv_asm_file >conftest.out 2>&1'
|
||||||
opal_try='$PERL $OPAL_TOP_SRCDIR/opal/asm/generate-asm.pl $opal_cv_asm_arch "$opal_cv_asm_format" $OPAL_TOP_SRCDIR/opal/asm/base $OPAL_TOP_BUILDDIR/opal/asm/generated/$opal_cv_asm_file >conftest.out 2>&1'
|
if AC_TRY_EVAL(opal_try) ; then
|
||||||
if AC_TRY_EVAL(opal_try) ; then
|
# save the warnings
|
||||||
# save the warnings
|
cat conftest.out >&AC_FD_CC
|
||||||
cat conftest.out >&AC_FD_CC
|
AC_MSG_RESULT([yes])
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
else
|
|
||||||
# save output
|
|
||||||
cat conftest.out >&AC_FD_CC
|
|
||||||
opal_cv_asm_file=""
|
|
||||||
AC_MSG_RESULT([failed])
|
|
||||||
AC_MSG_WARN([Could not build atomic operations assembly file.])
|
|
||||||
AC_MSG_WARN([There will be no atomic operations for this build.])
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
AC_MSG_WARN([Could not find prebuilt atomic operations file and could not])
|
# save output
|
||||||
AC_MSG_WARN([find perl to attempt to generate a custom assembly file.])
|
cat conftest.out >&AC_FD_CC
|
||||||
|
opal_cv_asm_file=""
|
||||||
|
AC_MSG_RESULT([failed])
|
||||||
|
AC_MSG_WARN([Could not build atomic operations assembly file.])
|
||||||
AC_MSG_WARN([There will be no atomic operations for this build.])
|
AC_MSG_WARN([There will be no atomic operations for this build.])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user