File tree Expand file tree Collapse file tree 6 files changed +66
-22
lines changed Expand file tree Collapse file tree 6 files changed +66
-22
lines changed Original file line number Diff line number Diff line change @@ -263,5 +263,9 @@ AC_ARG_ENABLE([mpi-io],
263263 the ompio component and a specially modified version of ROMIO
264264 that fits inside the romio314 component])])
265265
266+ AC_ARG_ENABLE([io-ompio],
267+ [AC_HELP_STRING([--disable-io-ompio],
268+ [Disable the ompio ROM-IO component])])
269+
266270])dnl
267271
Original file line number Diff line number Diff line change 1515AC_DEFUN([MCA_ompi_common_ompio_CONFIG],[
1616 AC_CONFIG_FILES([ompi/mca/common/ompio/Makefile])
1717
18- AS_IF([test " $enable_mpi_io " != " no" ],
18+ AS_IF([test " $enable_mpi_io " != " no" &&
19+ test " $enable_io_ompio " != " no" ],
1920 [$1 ],
2021 [$2 ])
2122])dnl
Original file line number Diff line number Diff line change 11# -*- shell-script -*-
22#
3- # Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
3+ # Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
4+ # Copyright (c) 2016 Research Organization for Information Science
5+ # and Technology (RIST). All rights reserved.
46#
57# $COPYRIGHT$
68#
1315# -------------------------------------------
1416AC_DEFUN([MCA_ompi_fbtl_CONFIG],
1517[
16- # An AC-ARG-ENABLE for mpi-io was set in ompi/mca/io/configure.m4.
17- # If it's no, we shouldn't bother building anything in fcoll.
18- AS_IF([test " $enable_mpi_io " != " no" ],
19- [want_mpi_io= 1],
20- [want_mpi_io= 0])
21- MCA_CONFIGURE_FRAMEWORK([$1 ], [$2 ], [$want_mpi_io ])
18+ OPAL_VAR_SCOPE_PUSH([want_io_ompio])
19+
20+ AS_IF([test " $enable_mpi_io " != " no" &&
21+ test " $enable_io_ompio " != " no" ],
22+ [want_io_ompio= 1],
23+ [want_io_ompio= 0])
24+
25+ MCA_CONFIGURE_FRAMEWORK([$1 ], [$2 ], [$want_io_ompio ])
26+
27+ OPAL_VAR_SCOPE_POP
2228])
Original file line number Diff line number Diff line change 11# -*- shell-script -*-
22#
3- # Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
3+ # Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
4+ # Copyright (c) 2016 Research Organization for Information Science
5+ # and Technology (RIST). All rights reserved.
46#
57# $COPYRIGHT$
68#
1315# -------------------------------------------
1416AC_DEFUN([MCA_ompi_fcoll_CONFIG],
1517[
16- # An AC-ARG-ENABLE for mpi-io was set in ompi/mca/io/configure.m4.
17- # If it's no, we shouldn't bother building anything in fcoll.
18- AS_IF([test " $enable_mpi_io " != " no" ],
19- [want_mpi_io= 1],
20- [want_mpi_io= 0])
21- MCA_CONFIGURE_FRAMEWORK([$1 ], [$2 ], [$want_mpi_io ])
18+ OPAL_VAR_SCOPE_PUSH([want_io_ompio])
19+
20+ AS_IF([test " $enable_mpi_io " != " no" &&
21+ test " $enable_io_ompio " != " no" ],
22+ [want_io_ompio= 1],
23+ [want_io_ompio= 0])
24+
25+ MCA_CONFIGURE_FRAMEWORK([$1 ], [$2 ], [$want_io_ompio ])
26+
27+ OPAL_VAR_SCOPE_POP
2228])
Original file line number Diff line number Diff line change 1+ # -*- shell-script -*-
2+ #
3+ # Copyright (c) 2016 Research Organization for Information Science
4+ # and Technology (RIST). All rights reserved.
5+ # $COPYRIGHT$
6+ #
7+ # Additional copyrights may follow
8+ #
9+ # $HEADER$
10+ #
11+
12+ # MCA_ompi_io_ompio_CONFIG([action-if-can-compile],
13+ # [action-if-cant-compile])
14+ # ------------------------------------------------
15+ AC_DEFUN([MCA_ompi_io_ompio_CONFIG],[
16+ AC_CONFIG_FILES([ompi/mca/io/ompio/Makefile])
17+
18+ AS_IF([test " $enable_io_ompio " != " no" ],
19+ [$1 ],
20+ [$2 ])
21+ ])dnl
Original file line number Diff line number Diff line change 11# -*- shell-script -*-
22#
3- # Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
3+ # Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
4+ # Copyright (c) 2016 Research Organization for Information Science
5+ # and Technology (RIST). All rights reserved.
46#
57# $COPYRIGHT$
68#
1315# -------------------------------------------
1416AC_DEFUN([MCA_ompi_sharedfp_CONFIG],
1517[
16- # An AC-ARG-ENABLE for mpi-io was set in ompi/mca/io/configure.m4.
17- # If it's no, we shouldn't bother building anything in fcoll.
18- AS_IF([test " $enable_mpi_io " != " no" ],
19- [want_mpi_io= 1],
20- [want_mpi_io= 0])
21- MCA_CONFIGURE_FRAMEWORK([$1 ], [$2 ], [$want_mpi_io ])
18+ OPAL_VAR_SCOPE_PUSH([want_io_ompio])
19+
20+ AS_IF([test " $enable_mpi_io " != " no" &&
21+ test " $enable_io_ompio " != " no" ],
22+ [want_io_ompio= 1],
23+ [want_io_ompio= 0])
24+
25+ MCA_CONFIGURE_FRAMEWORK([$1 ], [$2 ], [$want_io_ompio ])
26+
27+ OPAL_VAR_SCOPE_POP
2228])
You can’t perform that action at this time.
0 commit comments