Cleanup static build requirements by adding the wrapper flags back to the component configure.m4's. Minor cleanup of the lsf configure logic.
Этот коммит содержится в:
родитель
0f94be1268
Коммит
32bf0e7b7e
@ -117,10 +117,6 @@ AC_DEFUN([ORTE_CHECK_LSF],[
|
|||||||
LDFLAGS="$orte_check_lsf_$1_save_LDFLAGS"
|
LDFLAGS="$orte_check_lsf_$1_save_LDFLAGS"
|
||||||
LIBS="$orte_check_lsf_$1_save_LIBS"
|
LIBS="$orte_check_lsf_$1_save_LIBS"
|
||||||
|
|
||||||
# add the LSF libraries to static builds as they are required
|
|
||||||
$1_WRAPPER_EXTRA_LDFLAGS=[$]$1_LDFLAGS
|
|
||||||
$1_WRAPPER_EXTRA_LIBS=[$]$1_LIBS
|
|
||||||
|
|
||||||
# Reset for the next time we're called
|
# Reset for the next time we're called
|
||||||
orte_check_lsf_dir=
|
orte_check_lsf_dir=
|
||||||
orte_check_lsf_libdir=
|
orte_check_lsf_libdir=
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
# Copyright (c) 2007-2014 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2007-2014 Cisco Systems, Inc. All rights reserved.
|
||||||
# Copyright (c) 2011 Los Alamos National Security, LLC.
|
# Copyright (c) 2011 Los Alamos National Security, LLC.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
# Copyright (c) 2014 Intel, Inc. All rights reserved
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -30,12 +31,11 @@ AC_DEFUN([MCA_orte_ess_lsf_CONFIG],[
|
|||||||
# if check worked, set wrapper flags if so.
|
# if check worked, set wrapper flags if so.
|
||||||
# Evaluate succeed / fail
|
# Evaluate succeed / fail
|
||||||
AS_IF([test "$ess_lsf_good" = "1"],
|
AS_IF([test "$ess_lsf_good" = "1"],
|
||||||
[$1],
|
[$1
|
||||||
|
ess_lsf_WRAPPER_EXTRA_LDFLAGS="$ess_lsf_LDFLAGS"
|
||||||
|
ess_lsf_WRAPPER_EXTRA_LIBS="$ess_lsf_LIBS"],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
$1_WRAPPER_EXTRA_LDFLAGS=[$]$1_LDFLAGS
|
|
||||||
$1_WRAPPER_EXTRA_LIBS=[$]$1_LIBS
|
|
||||||
|
|
||||||
# set build flags to use in makefile
|
# set build flags to use in makefile
|
||||||
AC_SUBST([ess_lsf_CPPFLAGS])
|
AC_SUBST([ess_lsf_CPPFLAGS])
|
||||||
AC_SUBST([ess_lsf_LDFLAGS])
|
AC_SUBST([ess_lsf_LDFLAGS])
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
||||||
# Copyright (c) 2011 Los Alamos National Security, LLC.
|
# Copyright (c) 2011 Los Alamos National Security, LLC.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
# Copyright (c) 2014 Intel, Inc. All rights reserved
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -30,7 +31,9 @@ AC_DEFUN([MCA_orte_ess_slurm_CONFIG],[
|
|||||||
# if check worked, set wrapper flags if so.
|
# if check worked, set wrapper flags if so.
|
||||||
# Evaluate succeed / fail
|
# Evaluate succeed / fail
|
||||||
AS_IF([test "$ess_slurm_good" = "1"],
|
AS_IF([test "$ess_slurm_good" = "1"],
|
||||||
[$1],
|
[$1
|
||||||
|
ess_slurm_WRAPPER_EXTRA_LDFLAGS="$ess_slurm_LDFLAGS"
|
||||||
|
ess_slurm_WRAPPER_EXTRA_LIBS="$ess_slurm_LIBS"],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
# set build flags to use in makefile
|
# set build flags to use in makefile
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
||||||
# Copyright (c) 2011 Los Alamos National Security, LLC.
|
# Copyright (c) 2011 Los Alamos National Security, LLC.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
# Copyright (c) 2014 Intel, Inc. All rights reserved
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -30,7 +31,9 @@ AC_DEFUN([MCA_orte_ess_tm_CONFIG],[
|
|||||||
# if check worked, set wrapper flags if so.
|
# if check worked, set wrapper flags if so.
|
||||||
# Evaluate succeed / fail
|
# Evaluate succeed / fail
|
||||||
AS_IF([test "$ess_tm_good" = "1"],
|
AS_IF([test "$ess_tm_good" = "1"],
|
||||||
[$1],
|
[$1
|
||||||
|
ess_tm_WRAPPER_EXTRA_LDFLAGS="$ess_tm_LDFLAGS"
|
||||||
|
ess_tm_WRAPPER_EXTRA_LIBS="$ess_tm_LIBS"],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
# set build flags to use in makefile
|
# set build flags to use in makefile
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
# Copyright (c) 2009-2014 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2009-2014 Cisco Systems, Inc. All rights reserved.
|
||||||
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
# Copyright (c) 2014 Intel, Inc. All rights reserved
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -30,12 +31,11 @@ AC_DEFUN([MCA_orte_plm_lsf_CONFIG],[
|
|||||||
# if check worked, set wrapper flags if so.
|
# if check worked, set wrapper flags if so.
|
||||||
# Evaluate succeed / fail
|
# Evaluate succeed / fail
|
||||||
AS_IF([test "$plm_lsf_good" = "1"],
|
AS_IF([test "$plm_lsf_good" = "1"],
|
||||||
[$1],
|
[$1
|
||||||
|
plm_lsf_WRAPPER_EXTRA_LDFLAGS="$plm_lsf_LDFLAGS"
|
||||||
|
plm_lsf_WRAPPER_EXTRA_LIBS="$plm_lsf_LIBS"],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
$1_WRAPPER_EXTRA_LDFLAGS=[$]$1_LDFLAGS
|
|
||||||
$1_WRAPPER_EXTRA_LIBS=[$]$1_LIBS
|
|
||||||
|
|
||||||
# set build flags to use in makefile
|
# set build flags to use in makefile
|
||||||
AC_SUBST([plm_lsf_CPPFLAGS])
|
AC_SUBST([plm_lsf_CPPFLAGS])
|
||||||
AC_SUBST([plm_lsf_LDFLAGS])
|
AC_SUBST([plm_lsf_LDFLAGS])
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
||||||
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
# Copyright (c) 2014 Intel, Inc. All rights reserved
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -30,7 +31,9 @@ AC_DEFUN([MCA_orte_plm_slurm_CONFIG],[
|
|||||||
# if check worked, set wrapper flags if so.
|
# if check worked, set wrapper flags if so.
|
||||||
# Evaluate succeed / fail
|
# Evaluate succeed / fail
|
||||||
AS_IF([test "$plm_slurm_good" = "1"],
|
AS_IF([test "$plm_slurm_good" = "1"],
|
||||||
[$1],
|
[$1
|
||||||
|
plm_slurm_WRAPPER_EXTRA_LDFLAGS="$plm_slurm_LDFLAGS"
|
||||||
|
plm_slurm_WRAPPER_EXTRA_LIBS="$plm_slurm_LIBS"],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
# set build flags to use in makefile
|
# set build flags to use in makefile
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
||||||
|
# Copyright (c) 2014 Intel, Inc. All rights reserved
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -30,7 +31,9 @@ AC_DEFUN([MCA_orte_plm_tm_CONFIG],[
|
|||||||
# if check worked, set wrapper flags if so.
|
# if check worked, set wrapper flags if so.
|
||||||
# Evaluate succeed / fail
|
# Evaluate succeed / fail
|
||||||
AS_IF([test "$plm_tm_good" = "1"],
|
AS_IF([test "$plm_tm_good" = "1"],
|
||||||
[$1],
|
[$1
|
||||||
|
plm_tm_WRAPPER_EXTRA_LDFLAGS="$plm_tm_LDFLAGS"
|
||||||
|
plm_tm_WRAPPER_EXTRA_LIBS="$plm_tm_LIBS"],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
# set build flags to use in makefile
|
# set build flags to use in makefile
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
# Copyright (c) 2009-2014 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2009-2014 Cisco Systems, Inc. All rights reserved.
|
||||||
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
# Copyright (c) 2014 Intel, Inc. All rights reserved
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -30,11 +31,11 @@ AC_DEFUN([MCA_orte_ras_lsf_CONFIG],[
|
|||||||
# if check worked, set wrapper flags if so.
|
# if check worked, set wrapper flags if so.
|
||||||
# Evaluate succeed / fail
|
# Evaluate succeed / fail
|
||||||
AS_IF([test "$ras_lsf_good" = "1"],
|
AS_IF([test "$ras_lsf_good" = "1"],
|
||||||
[$1],
|
[$1
|
||||||
|
ras_lsf_WRAPPER_EXTRA_LDFLAGS="$ras_lsf_LDFLAGS"
|
||||||
|
ras_lsf_WRAPPER_EXTRA_LIBS="$ras_lsf_LIBS"],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
$1_WRAPPER_EXTRA_LDFLAGS=[$]$1_LDFLAGS
|
|
||||||
$1_WRAPPER_EXTRA_LIBS=[$]$1_LIBS
|
|
||||||
|
|
||||||
# set build flags to use in makefile
|
# set build flags to use in makefile
|
||||||
AC_SUBST([ras_lsf_CPPFLAGS])
|
AC_SUBST([ras_lsf_CPPFLAGS])
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
||||||
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
# Copyright (c) 2014 Intel, Inc. All rights reserved
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -30,7 +31,9 @@ AC_DEFUN([MCA_orte_ras_slurm_CONFIG],[
|
|||||||
# if check worked, set wrapper flags if so.
|
# if check worked, set wrapper flags if so.
|
||||||
# Evaluate succeed / fail
|
# Evaluate succeed / fail
|
||||||
AS_IF([test "$ras_slurm_good" = "1"],
|
AS_IF([test "$ras_slurm_good" = "1"],
|
||||||
[$1],
|
[$1
|
||||||
|
ras_slurm_WRAPPER_EXTRA_LDFLAGS="$ras_slurm_LDFLAGS"
|
||||||
|
ras_slurm_WRAPPER_EXTRA_LIBS="$ras_slurm_LIBS"],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
# set build flags to use in makefile
|
# set build flags to use in makefile
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
||||||
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
# Copyright (c) 2014 Intel, Inc. All rights reserved
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -30,7 +31,9 @@ AC_DEFUN([MCA_orte_ras_tm_CONFIG],[
|
|||||||
# if check worked, set wrapper flags if so.
|
# if check worked, set wrapper flags if so.
|
||||||
# Evaluate succeed / fail
|
# Evaluate succeed / fail
|
||||||
AS_IF([test "$ras_tm_good" = "1"],
|
AS_IF([test "$ras_tm_good" = "1"],
|
||||||
[$1],
|
[$1
|
||||||
|
ras_tm_WRAPPER_EXTRA_LDFLAGS="$ras_tm_LDFLAGS"
|
||||||
|
ras_tm_WRAPPER_EXTRA_LIBS="$ras_tm_LIBS"],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
# set build flags to use in makefile
|
# set build flags to use in makefile
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user