fbeebdb9a0
Automake's Fortran compilation rules inexplicably use CPPFLAGS and
AM_CPPFLAGS. Unfortunately, this can cause problems in some cases
(e.g., picking up already-installed mpi.mod in a system-default
include search path).
So in relevant module-using Fortran compilation Makefile.am's, zero
out CPPFLAGS and AM_CPPFLAGS.
This has a side-effect of requiring that we compile the one .c file in
the F08 library in a new, separate subdirectory (with its own
Makefile.am that does _not_ have CPPFLAGS/AM_CPPFLAGS zeroed out).
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
(cherry picked from commit ab398f4b9a
)
62 строки
2.2 KiB
Bash
62 строки
2.2 KiB
Bash
# -*- shell-script -*-
|
|
#
|
|
# Copyright (c) 2009-2019 Cisco Systems, Inc. All rights reserved
|
|
# Copyright (c) 2017-2018 Research Organization for Information Science
|
|
# and Technology (RIST). All rights reserved.
|
|
# Copyright (c) 2018 Los Alamos National Security, LLC. All rights
|
|
# reserved.
|
|
# Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
AC_DEFUN([OMPI_CONFIG_FILES],[
|
|
AC_CONFIG_FILES([
|
|
ompi/Makefile
|
|
ompi/etc/Makefile
|
|
ompi/include/Makefile
|
|
ompi/include/mpif.h
|
|
ompi/include/mpif-config.h
|
|
|
|
ompi/datatype/Makefile
|
|
ompi/debuggers/Makefile
|
|
|
|
ompi/mpi/c/Makefile
|
|
ompi/mpi/c/profile/Makefile
|
|
ompi/mpi/cxx/Makefile
|
|
ompi/mpi/fortran/base/Makefile
|
|
ompi/mpi/fortran/mpif-h/Makefile
|
|
ompi/mpi/fortran/mpif-h/profile/Makefile
|
|
ompi/mpi/fortran/use-mpi-tkr/Makefile
|
|
ompi/mpi/fortran/use-mpi-tkr/fortran_sizes.h
|
|
ompi/mpi/fortran/use-mpi-tkr/fortran_kinds.sh
|
|
ompi/mpi/fortran/use-mpi-ignore-tkr/Makefile
|
|
ompi/mpi/fortran/use-mpi-ignore-tkr/mpi-ignore-tkr-interfaces.h
|
|
ompi/mpi/fortran/use-mpi-ignore-tkr/mpi-ignore-tkr-file-interfaces.h
|
|
ompi/mpi/fortran/use-mpi-ignore-tkr/mpi-ignore-tkr-removed-interfaces.h
|
|
ompi/mpi/fortran/use-mpi-f08/Makefile
|
|
ompi/mpi/fortran/use-mpi-f08/base/Makefile
|
|
ompi/mpi/fortran/use-mpi-f08/bindings/Makefile
|
|
ompi/mpi/fortran/use-mpi-f08/mod/Makefile
|
|
ompi/mpi/fortran/mpiext-use-mpi/Makefile
|
|
ompi/mpi/fortran/mpiext-use-mpi-f08/Makefile
|
|
ompi/mpi/tool/Makefile
|
|
ompi/mpi/tool/profile/Makefile
|
|
|
|
ompi/tools/ompi_info/Makefile
|
|
ompi/tools/wrappers/Makefile
|
|
ompi/tools/wrappers/mpicc-wrapper-data.txt
|
|
ompi/tools/wrappers/mpic++-wrapper-data.txt
|
|
ompi/tools/wrappers/mpifort-wrapper-data.txt
|
|
ompi/tools/wrappers/ompi.pc
|
|
ompi/tools/wrappers/ompi-c.pc
|
|
ompi/tools/wrappers/ompi-cxx.pc
|
|
ompi/tools/wrappers/ompi-fort.pc
|
|
ompi/tools/wrappers/mpijavac.pl
|
|
ompi/tools/mpisync/Makefile
|
|
])
|
|
])
|