diff options
author | Christian Pfeiffer <cpfeiffer@live.de> | 2017-12-07 14:55:02 (GMT) |
---|---|---|
committer | Christian Pfeiffer <cpfeiffer@live.de> | 2017-12-12 13:20:02 (GMT) |
commit | d1d8719f623fe570142c67bf8d54c43f31355262 (patch) | |
tree | 403cb7ef58a291132bfd280eb89a54168662ea39 /Help/guide/tutorial/Step10/MathFunctions/MakeTable.cxx | |
parent | afae027d6398462906e762da29f306f41d21c6ee (diff) | |
download | CMake-d1d8719f623fe570142c67bf8d54c43f31355262.zip CMake-d1d8719f623fe570142c67bf8d54c43f31355262.tar.gz CMake-d1d8719f623fe570142c67bf8d54c43f31355262.tar.bz2 |
FindMPI: Fix various legacy problems
This MR fixes a number of bugs stemming from legacy variable handling,
partially introduced by commit v3.10.0-rc1~103^2 (FindMPI: Add support
for FreeBSD and SLES, 2017-08-09).
* `MPI_COMPILE_OPTIONS` and `MPI_COMPILE_DEFINITIONS` legacy hints were not passed correctly.
* Legacy variables could be parsed after they were set by `FindMPI` cause erroneous hinting on subsequent runs.
* In the case of the compiler supporting MPI implicitly:
* not all consumption variables would be correctly reset.
* `MPI_<LANG>_HEADER_DIR` would be set unintentionally.
* `MPI_<LANG>_LIB_NAMES` appeared in cache despite being ignored.
* on subsequent passes, `MPI_<LANG>_COMPILER` could be corrupted.
* the C-to-CXX copy logic would take place even if `MPI_SKIP_GUESSING` was turned on
* if only some language compilers were given, inconsistent search behavior could be observed
Issue: #17538
Diffstat (limited to 'Help/guide/tutorial/Step10/MathFunctions/MakeTable.cxx')
0 files changed, 0 insertions, 0 deletions