a991d883c1
frameworks, and components without configure scripts instead of hard-coded shell variables (for projects and frameworks) and shell variable building (for components). * Add 3rd category of component configuration (in addition to configure scripts and no-configured components): configure.m4 components. These components can only be built as part of OMPI (like no-configure), but can provide an m4 file that is run as part of the main configure script. These macros can set whether the component should be built, along with just about any other configuration wanted. More care must be taken compared to configure components, as doing things like setting variables or calling AC_MSG_ERROR now affects the top-level configure script (so calling AC_MSG_ERROR if your component can't configure probably isn't what you want) * Added support to autogen.sh for the configure.m4-style components, as well as building up the m4_define lists ompi_mca.m4 now expects * Updated a number of macros to be more config.cache friendly (both so that config.cache can be used and so the test can be quickly run multiple times in the same configrue script): - ompi_config_asm - c_weak_symbols - c_get_alignment * Added new macros to be shared when configuring components: - ompi_objc.m4 (this actually provides AC_PROG_OBJC - don't ask...) - ompi_check_xgrid - ompi_check_tm - ompi_check_bproc * Updated a number of components to use configure.m4 instead of configure.stub - btl portals - io romio - tm ras and pls - bjs, lsf_bproc ras and bproc_seed pls - xgrid ras and pls - null iof (used by tm) This commit was SVN r6412.
96 строки
3.2 KiB
Bash
96 строки
3.2 KiB
Bash
dnl -*- shell-script -*-
|
|
dnl
|
|
dnl Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
dnl All rights reserved.
|
|
dnl Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
dnl All rights reserved.
|
|
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
dnl University of Stuttgart. All rights reserved.
|
|
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
|
dnl All rights reserved.
|
|
dnl $COPYRIGHT$
|
|
dnl
|
|
dnl Additional copyrights may follow
|
|
dnl
|
|
dnl $HEADER$
|
|
dnl
|
|
|
|
|
|
#
|
|
# Open MPI-specific tests
|
|
#
|
|
|
|
sinclude(config/c_get_alignment.m4)
|
|
sinclude(config/c_weak_symbols.m4)
|
|
|
|
sinclude(config/cxx_find_template_parameters.m4)
|
|
sinclude(config/cxx_find_template_repository.m4)
|
|
sinclude(config/cxx_have_exceptions.m4)
|
|
sinclude(config/cxx_find_exception_flags.m4)
|
|
|
|
sinclude(config/f77_check.m4)
|
|
sinclude(config/f77_check_type.m4)
|
|
sinclude(config/f77_find_ext_symbol_convention.m4)
|
|
sinclude(config/f77_get_alignment.m4)
|
|
sinclude(config/f77_get_fortran_handle_max.m4)
|
|
sinclude(config/f77_get_sizeof.m4)
|
|
sinclude(config/f77_purge_unsupported_kind.m4)
|
|
|
|
sinclude(config/f90_check_type.m4)
|
|
sinclude(config/f90_find_module_include_flag.m4)
|
|
sinclude(config/f90_get_alignment.m4)
|
|
sinclude(config/f90_get_precision.m4)
|
|
sinclude(config/f90_get_range.m4)
|
|
sinclude(config/f90_get_sizeof.m4)
|
|
|
|
m4_sinclude(config/ompi_objc.m4)
|
|
|
|
sinclude(config/ompi_try_assemble.m4)
|
|
sinclude(config/ompi_config_asm.m4)
|
|
|
|
sinclude(config/ompi_case_sensitive_fs_setup.m4)
|
|
sinclude(config/ompi_check_broken_qsort.m4)
|
|
sinclude(config/ompi_check_optflags.m4)
|
|
sinclude(config/ompi_check_icc.m4)
|
|
sinclude(config/ompi_check_bproc.m4)
|
|
sinclude(config/ompi_check_tm.m4)
|
|
sinclude(config/ompi_check_xgrid.m4)
|
|
sinclude(config/ompi_config_subdir.m4)
|
|
sinclude(config/ompi_config_subdir_args.m4)
|
|
sinclude(config/ompi_configure_options.m4)
|
|
sinclude(config/ompi_find_type.m4)
|
|
sinclude(config/ompi_functions.m4)
|
|
sinclude(config/ompi_get_version.m4)
|
|
sinclude(config/ompi_get_libtool_linker_flags.m4)
|
|
sinclude(config/ompi_mca.m4)
|
|
sinclude(config/ompi_setup_cc.m4)
|
|
sinclude(config/ompi_setup_cxx.m4)
|
|
sinclude(config/ompi_setup_f77.m4)
|
|
sinclude(config/ompi_setup_f90.m4)
|
|
sinclude(config/ompi_setup_libevent.m4)
|
|
|
|
sinclude(config/ompi_check_pthread_pids.m4)
|
|
sinclude(config/ompi_config_pthreads.m4)
|
|
sinclude(config/ompi_config_solaris_threads.m4)
|
|
sinclude(config/ompi_config_threads.m4)
|
|
|
|
#
|
|
# The config/mca_no_configure_components.m4 file is generated by
|
|
# autogen.sh
|
|
#
|
|
sinclude(config/mca_no_configure_components.m4)
|
|
|
|
#
|
|
# mca_m4_config_include.m4 is generated by autogen.sh. It includes
|
|
# the list of all component configure.m4 macros.
|
|
#
|
|
# Some explination... There doesn't seem to be a good way to have
|
|
# this include file live in config/, because autoheader does it's
|
|
# analysis without taking into account the directory in which the .m4
|
|
# file calling sinclude is in, while autoconf does take the directory
|
|
# into account. So you end up with a situation where you need two
|
|
# directories listed in the single sinclude. If anyone knows a way
|
|
# to move mca_m4_config_include.m4 into config/, I'd appreciate it.
|
|
#
|
|
m4_sinclude(mca_m4_config_include.m4)
|