b8442ba505
flags, and mca flags are kept seperate until the very end. The main configure wrapper flags should now be modified by using the OPAL_WRAPPER_FLAGS_ADD macro. MCA components should either let <framework>_<component>_{LIBS,LDFLAGS} be copied over OR set <framework>_<component>_WRAPPER_EXTRA_{LIBS,LDFLAGS}. The situations in which WRAPPER CPPFLAGS can be set by MCA components was made very small to match the one use case where it makes sense. This commit was SVN r27950.
31 строка
1.1 KiB
Plaintext
31 строка
1.1 KiB
Plaintext
# There can be multiple blocks of configuration data, chosen by
|
|
# compiler flags (using the compiler_args key to chose which block
|
|
# should be activated. This can be useful for multilib builds. See the
|
|
# multilib page at:
|
|
# https://svn.open-mpi.org/trac/ompi/wiki/compilerwrapper3264
|
|
# for more information.
|
|
|
|
project=Open MPI
|
|
project_short=OMPI
|
|
version=@OMPI_VERSION@
|
|
language=C
|
|
compiler_env=CC
|
|
compiler_flags_env=CFLAGS
|
|
compiler=@WRAPPER_CC@
|
|
extra_includes=@OMPI_WRAPPER_EXTRA_INCLUDES@
|
|
preprocessor_flags=@OMPI_WRAPPER_EXTRA_CPPFLAGS@
|
|
compiler_flags_prefix=@OMPI_WRAPPER_EXTRA_CFLAGS_PREFIX@
|
|
compiler_flags=@OMPI_WRAPPER_EXTRA_CFLAGS@
|
|
linker_flags=@OMPI_WRAPPER_EXTRA_LDFLAGS@
|
|
# Note that per https://svn.open-mpi.org/trac/ompi/ticket/3422, we
|
|
# intentionally only link in the MPI libraries (ORTE, OPAL, etc. are
|
|
# pulled in implicitly) because we intend MPI applications to only use
|
|
# the MPI API.
|
|
libs=-lmpi
|
|
libs_static=-lmpi -lopen-rte -lopen-pal @OMPI_WRAPPER_EXTRA_LIBS@
|
|
dyn_lib_file=libmpi.@OPAL_DYN_LIB_SUFFIX@
|
|
static_lib_file=libmpi.a
|
|
required_file=
|
|
includedir=${includedir}
|
|
libdir=${libdir}
|