1
1

configury: remove deprecated --with-openib* configure options

These were deprecated in the v1.7/v1.8 series; they are being removed
for the v1.9 series.
Этот коммит содержится в:
Jeff Squyres 2014-10-29 06:02:33 -07:00
родитель 652ecdb888
Коммит 491830b7b5
2 изменённых файлов: 5 добавлений и 62 удалений

14
README
Просмотреть файл

@ -900,16 +900,10 @@ NETWORKING SUPPORT / OPTIONS
InfiniBand, usNIC, iWARP, and RoCE (aka "IBoIP"). InfiniBand, usNIC, iWARP, and RoCE (aka "IBoIP").
--with-verbs-libdir=<directory> --with-verbs-libdir=<directory>
Look in directory for the verbs libraries. By default, Open Look in directory for the verbs libraries. By default, Open MPI
MPI will look in <openib directory>/lib and <openib will look in <verbs_directory>/lib and <verbs_ directory>/lib64,
directory>/lib64, which covers most cases. This option is only which covers most cases. This option is only needed for special
needed for special configurations. configurations.
--with-openib=<directory>
DEPRECATED synonym for --with-verbs.
--with-openib-libdir=<directory>
DEPRECATED synonym for --with-verbs-libdir.
--with-portals4=<directory> --with-portals4=<directory>
Specify the directory where the Portals4 libraries and header files Specify the directory where the Portals4 libraries and header files

Просмотреть файл

@ -10,7 +10,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California. # Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2006-2012 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2006-2011 Los Alamos National Security, LLC. All rights # Copyright (c) 2006-2011 Los Alamos National Security, LLC. All rights
# reserved. # reserved.
# Copyright (c) 2006-2009 Mellanox Technologies. All rights reserved. # Copyright (c) 2006-2009 Mellanox Technologies. All rights reserved.
@ -53,8 +53,6 @@ AC_DEFUN([_OPAL_CHECK_VERBS_DIR],[
# "no" if --without-verbs was specified) # "no" if --without-verbs was specified)
# "optional" if neither --with-verbs* nor --without-verbs was specified # "optional" if neither --with-verbs* nor --without-verbs was specified
# #
# NOTE: --with-openib* are deprecated synonyms for --with-verbs*.
#
# 2. $opal_verbs_dir and $opal_verbs_libdir with either both be set or # 2. $opal_verbs_dir and $opal_verbs_libdir with either both be set or
# both be empty. # both be empty.
# #
@ -68,55 +66,6 @@ AC_DEFUN([OPAL_CHECK_VERBS_DIR],[
[AC_HELP_STRING([--with-verbs-libdir=DIR], [AC_HELP_STRING([--with-verbs-libdir=DIR],
[Search for verbs libraries in DIR])]) [Search for verbs libraries in DIR])])
# Add deprecated --with options
# JMS REMOVE THESE IN v1.9
AC_ARG_WITH([openib],
[AC_HELP_STRING([--with-openib(=DIR)],
[DEPRECATED synonym for --with-verbs])])
AC_ARG_WITH([openib-libdir],
[AC_HELP_STRING([--with-openib-libdir=DIR],
[DEPRECATED synonym for --with-verbs-libdir])])
# Did we specify both --with-openib* and --with-verbs*?
# JMS REMOVE THESE IN v1.9
AS_IF([test -n "$with_openib" -a -n "$with_verbs"],
[AC_MSG_WARN([Both --with-verbs and --with-openib specified.])
AC_MSG_WARN([--with-openib value ignored.])
with_openib=
])
AS_IF([test -n "$with_openib_libdir" -a -n "$with_verbs_libdir"],
[AC_MSG_WARN([Both --with-verbs-libdir and --with-openib-libdir specified.])
AC_MSG_WARN([--with-openib-libdir value ignored.])
with_openib_libdir=
])
# Did we specify --with-openib* and not --with-verbs*?
# JMS REMOVE THESE IN v1.9
AS_IF([test -n "$with_openib" -a -z "$with_verbs"],
[AC_MSG_WARN([**************************************************])
AC_MSG_WARN([The use of --with-openib is deprecated.])
AC_MSG_WARN([You should use --with-verbs instead.])
AC_MSG_WARN([Proceeding with the assumption you meant])
AC_MSG_WARN([--with-verbs=$with_openib])
AC_MSG_WARN([(sleeping to let you read this message)])
AC_MSG_WARN([**************************************************])
sleep 10
with_verbs=$with_openib
with_openib=
])
AS_IF([test -n "$with_openib_libdir" -a -z "$with_verbs_libdir"],
[AC_MSG_WARN([**************************************************])
AC_MSG_WARN([The use of --with-openib-libdir is deprecated.])
AC_MSG_WARN([You should use --with-verbs-libdir instead.])
AC_MSG_WARN([Proceeding with the assumption you meant])
AC_MSG_WARN([--with-verbs-libdir=$with_openib_libdir])
AC_MSG_WARN([(sleeping to let you read this message)])
AC_MSG_WARN([**************************************************])
sleep 10
with_verbs_libdir=$with_openib_libdir
with_openib_libdir=
])
# Sanity check the --with values # Sanity check the --with values
OPAL_CHECK_WITHDIR([verbs], [$with_verbs], OPAL_CHECK_WITHDIR([verbs], [$with_verbs],
[include/infiniband/verbs.h]) [include/infiniband/verbs.h])