[Cmake-commits] CMake branch, next, updated. v2.8.4-1203-g515d45f

Brad King brad.king at kitware.com
Wed Mar 16 10:14:34 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  515d45fab3e74577a4cad82a2826e4f46094a844 (commit)
       via  a32a63322552c6987ad1d703ce61fa8718fa82aa (commit)
      from  6907232875b776c9a6fda67079188ea7d7419e81 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=515d45fab3e74577a4cad82a2826e4f46094a844
commit 515d45fab3e74577a4cad82a2826e4f46094a844
Merge: 6907232 a32a633
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Mar 16 10:14:32 2011 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Mar 16 10:14:32 2011 -0400

    Merge topic 'multilingual-FindMPI' into next
    
    a32a633 FindMPI: Fix documentation formatting


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a32a63322552c6987ad1d703ce61fa8718fa82aa
commit a32a63322552c6987ad1d703ce61fa8718fa82aa
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Mar 16 10:11:33 2011 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Wed Mar 16 10:11:33 2011 -0400

    FindMPI: Fix documentation formatting
    
    Adjust whitespace to make the output of "--help-module FindMPI" look
    good.  Also separate the comment containing the copyright and license
    notice so it does not appear in the documentation.

diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake
index e51b09f..a764d17 100644
--- a/Modules/FindMPI.cmake
+++ b/Modules/FindMPI.cmake
@@ -1,6 +1,4 @@
-# - Message Passing Interface (MPI) module.
-#
-#=============================================================================
+# - Find a Message Passing Interface (MPI) implementation
 # The Message Passing Interface (MPI) is a library used to write
 # high-performance distributed-memory parallel applications, and
 # is typically deployed on a cluster. MPI is a standard interface
@@ -9,43 +7,38 @@
 # libraries to link against, etc., and this module tries to smooth
 # out those differences.
 #
-#=== Variables ===============================================================
+# === Variables ===
+#
 # This module will set the following variables per language in your project,
 # where <lang> is one of C, CXX, or Fortran:
-#
 #   MPI_<lang>_FOUND           TRUE if FindMPI found MPI flags for <lang>
 #   MPI_<lang>_COMPILER        MPI Compiler wrapper for <lang>
 #   MPI_<lang>_COMPILE_FLAGS   Compilation flags for MPI programs
 #   MPI_<lang>_INCLUDE_PATH    Include path(s) for MPI header
 #   MPI_<lang>_LINK_FLAGS      Linking flags for MPI programs
 #   MPI_<lang>_LIBRARIES       All libraries to link MPI programs against
-#
 # Additionally, FindMPI sets the following variables for running MPI
 # programs from the command line:
-#
 #   MPIEXEC                    Executable for running MPI programs
-#   MPIEXEC_NUMPROC_FLAG       Flag to pass to MPIEXEC before giving it the
-#                              number of processors to run on
-#   MPIEXEC_PREFLAGS           Flags to pass to MPIEXEC directly before the
-#                              executable to run.
-#   MPIEXEC_POSTFLAGS          Flags to pass to MPIEXEC after other flags.
+#   MPIEXEC_NUMPROC_FLAG       Flag to pass to MPIEXEC before giving
+#                              it the number of processors to run on
+#   MPIEXEC_PREFLAGS           Flags to pass to MPIEXEC directly
+#                              before the executable to run.
+#   MPIEXEC_POSTFLAGS          Flags to pass to MPIEXEC after other flags
+# === Usage ===
 #
-#=== Usage ===================================================================
 # To use this module, simply call FindMPI from a CMakeLists.txt file, or
 # run find_package(MPI), then run CMake.  If you are happy with the auto-
 # detected configuration for your language, then you're done.  If not, you
 # have two options:
-#
 #   1. Set MPI_<lang>_COMPILER to the MPI wrapper (mpicc, etc.) of your
 #      choice and reconfigure.  FindMPI will attempt to determine all the
 #      necessary variables using THAT compiler's compile and link flags.
-#
 #   2. If this fails, or if your MPI implementation does not come with
 #      a compiler wrapper, then set both MPI_<lang>_LIBRARIES and
-#      MPI_<lang>_INCLUDE_PATH.  You may also set any other variables listed
-#      above, but these two are required.  This will circumvent
+#      MPI_<lang>_INCLUDE_PATH.  You may also set any other variables
+#      listed above, but these two are required.  This will circumvent
 #      autodetection entirely.
-#
 # When configuration is successful, MPI_<lang>_COMPILER will be set to the
 # compiler wrapper for <lang>, if it was found.  MPI_<lang>_FOUND and other
 # variables above will be set if any MPI implementation was found for <lang>,
@@ -53,22 +46,21 @@
 #
 # When using MPIEXEC to execute MPI applications, you should typically use
 # all of the MPIEXEC flags as follows:
-#   ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} PROCS ${MPIEXEC_PREFLAGS} EXECUTABLE
-#     ${MPIEXEC_POSTFLAGS} ARGS
+#   ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} PROCS
+#     ${MPIEXEC_PREFLAGS} EXECUTABLE ${MPIEXEC_POSTFLAGS} ARGS
 # where PROCS is the number of processors on which to execute the program,
 # EXECUTABLE is the MPI program, and ARGS are the arguments to pass to the
 # MPI program.
 #
-#=== Backward Compatibility ==================================================
+# === Backward Compatibility ===
+#
 # For backward compatibility with older versions of FindMPI, these
 # variables are set, but deprecated:
-#
 #   MPI_FOUND           MPI_COMPILER        MPI_LIBRARY
 #   MPI_COMPILE_FLAGS   MPI_INCLUDE_PATH    MPI_EXTRA_LIBRARY
 #   MPI_LINK_FLAGS      MPI_LIBRARIES
-#
 # In new projects, please use the MPI_<lang>_XXX equivalents.
-#
+
 #=============================================================================
 # Copyright 2001-2011 Kitware, Inc.
 # Copyright 2010-2011 Todd Gamblin tgamblin at llnl.gov

-----------------------------------------------------------------------

Summary of changes:
 Modules/FindMPI.cmake |   40 ++++++++++++++++------------------------
 1 files changed, 16 insertions(+), 24 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list