Skip to content
Snippets Groups Projects
Commit 5d95c0ac authored by jacob's avatar jacob
Browse files

b=6279

r=adilger

require CONFIG_STACK_SIZE_16KB on i386 + x86_64 non-UML
parent 87d92f4a
No related branches found
No related tags found
No related merge requests found
...@@ -282,6 +282,27 @@ $3 ...@@ -282,6 +282,27 @@ $3
AC_DEFUN([LB_LINUX_TRY_MAKE], AC_DEFUN([LB_LINUX_TRY_MAKE],
[LB_LINUX_COMPILE_IFELSE([AC_LANG_PROGRAM([[$1]], [[$2]])], [$3], [$4], [$5], [$6])]) [LB_LINUX_COMPILE_IFELSE([AC_LANG_PROGRAM([[$1]], [[$2]])], [$3], [$4], [$5], [$6])])
#
# LB_LINUX_CONFIG_BIG_STACK
#
# check for big stack patch
#
AC_DEFUN([LB_LINUX_CONFIG_BIG_STACK],
[if test "x$ARCH_UM" = "x" -a "x$linux25" = "xno" ; then
case $target_cpu in
i?86 | x86_64)
LB_LINUX_CONFIG([STACK_SIZE_16KB],[],[
LB_LINUX_CONFIG([STACK_SIZE_32KB],[],[
LB_LINUX_CONFIG([STACK_SIZE_64KB],[],[
AC_MSG_ERROR([Lustre requires that Linux is configured with at least a 16KB stack.])
])
])
])
;;
esac
fi
])
# #
# LB_PROG_LINUX # LB_PROG_LINUX
# #
...@@ -306,6 +327,8 @@ if test "x$ARCH_UM" = "x" ; then ...@@ -306,6 +327,8 @@ if test "x$ARCH_UM" = "x" ; then
fi fi
]) ])
LB_LINUX_CONFIG_BIG_STACK
# Portals tests # Portals tests
LP_PROG_LINUX LP_PROG_LINUX
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment