Skip to content

Commit ad8d2df

Browse files
committed
configury: fix --disable-io-romio option
do not build 3rd-party/romio321 if ROMIO is disabled Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent 5cbc19e commit ad8d2df

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

ompi/mca/io/romio321/configure.m4

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# Copyright (c) 2004-2005 The Regents of the University of California.
1212
# All rights reserved.
1313
# Copyright (c) 2008-2015 Cisco Systems, Inc. All rights reserved.
14-
# Copyright (c) 2015-2017 Research Organization for Information Science
15-
# and Technology (RIST). All rights reserved.
14+
# Copyright (c) 2015-2021 Research Organization for Information Science
15+
# and Technology (RIST). All rights reserved.
1616
# $COPYRIGHT$
1717
#
1818
# Additional copyrights may follow
@@ -30,9 +30,6 @@ AC_DEFUN([MCA_ompi_io_romio321_POST_CONFIG], [
3030
AC_DEFUN([MCA_ompi_io_romio321_CONFIG],[
3131
AC_CONFIG_FILES([ompi/mca/io/romio321/Makefile])
3232

33-
OPAL_3RDPARTY_SUBDIRS="$OPAL_3RDPARTY_SUBDIRS romio321"
34-
OPAL_3RDPARTY_DIST_SUBDIRS="$OPAL_3RDPARTY_DIST_SUBDIRS romio321"
35-
3633
OPAL_VAR_SCOPE_PUSH([io_romio321_flags io_romio321_flags_define io_romio321_happy io_romio321_save_LIBS])
3734
AC_ARG_ENABLE([io-romio],
3835
[AS_HELP_STRING([--disable-io-romio],
@@ -102,6 +99,8 @@ AC_DEFUN([MCA_ompi_io_romio321_CONFIG],[
10299
. 3rd-party/romio321/localdefs
103100
io_romio321_LIBS="$LIBS"
104101
LIBS="$io_romio321_save_LIBS"
102+
OPAL_3RDPARTY_SUBDIRS="$OPAL_3RDPARTY_SUBDIRS romio321"
103+
OPAL_3RDPARTY_DIST_SUBDIRS="$OPAL_3RDPARTY_DIST_SUBDIRS romio321"
105104

106105
echo "ROMIO distribution configured successfully"
107106
$1],

0 commit comments

Comments
 (0)