* add a #define for Galen as to whether or not any memory component was
built. This commit was SVN r8928.
Этот коммит содержится в:
родитель
ec7b60d501
Коммит
e3ded6f8cf
@ -19,3 +19,13 @@ dnl
|
||||
|
||||
dnl we only want one :)
|
||||
m4_define(MCA_memory_CONFIGURE_MODE, STOP_AT_FIRST)
|
||||
|
||||
AC_DEFUN([MCA_memory_CONFIG],[
|
||||
memory_base_found=0
|
||||
|
||||
# first, compile all the components
|
||||
MCA_CONFIGURE_FRAMEWORK($1, $2)
|
||||
|
||||
AC_DEFINE_UNQUOTED([OMPI_MEMORY_HAVE_COMPONENT], [$memory_base_found],
|
||||
[Whether any opal memory mca components were found])
|
||||
])
|
||||
|
@ -68,5 +68,6 @@ AC_DEFUN([MCA_memory_darwin_CONFIG],[
|
||||
[# Yes, we really do want to screw with LDFLAGS here...
|
||||
LDFLAGS="$LDFLAGS -Wl,-u,_munmap -Wl,-multiply_defined,suppress"
|
||||
memory_darwin_WRAPPER_EXTRA_LDFLAGS="-Wl,-u,_munmap -Wl,-multiply_defined,suppress"
|
||||
memory_base_found=1
|
||||
$1], [$2])
|
||||
])
|
||||
|
@ -85,5 +85,6 @@ AC_DEFUN([MCA_memory_malloc_hooks_CONFIG],[
|
||||
AC_SUBST(memory_malloc_hooks_LIBS)
|
||||
|
||||
AS_IF([test "$memory_malloc_hooks_happy" = "yes"],
|
||||
[$1], [$2])
|
||||
[memory_base_found=1
|
||||
$1], [$2])
|
||||
])
|
||||
|
@ -121,5 +121,6 @@ AC_DEFUN([MCA_memory_ptmalloc2_CONFIG],[
|
||||
AC_SUBST([memory_ptmalloc2_LIBS])
|
||||
|
||||
AS_IF([test "$memory_ptmalloc2_happy" = "yes"],
|
||||
[$1], [$2])
|
||||
[memory_base_found=1
|
||||
$1], [$2])
|
||||
])
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user