Skip to content

Commit c95fa2c

Browse files
committed
opal_check_cuda.m4: Add AC_ARG_WITH for libdir option
Without this, using --with-cuda-libdir will output a warning as follows that does not impact functionality but is misleading. configure: WARNING: unrecognized options: --with-cuda-libdir Signed-off-by: William Zhang <wilzhang@amazon.com>
1 parent b55e183 commit c95fa2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/opal_check_cuda.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ AC_ARG_WITH([cuda],
5050
[AS_HELP_STRING([--with-cuda(=DIR)],
5151
[Build cuda support, optionally adding DIR/include])])
5252
AC_MSG_CHECKING([if --with-cuda is set])
53+
AC_ARG_WITH([cuda-libdir],
54+
[AS_HELP_STRING([--with-cuda-libdir=DIR],
55+
[Search for CUDA libraries in DIR])])
5356
5457
# Note that CUDA support is off by default. To turn it on, the user has to
5558
# request it. The user can just ask for --with-cuda and it that case we

0 commit comments

Comments
 (0)