summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step9/MathFunctions
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2021-09-17 14:11:58 (GMT)
committerTimo Röhling <roehling@debian.org>2021-09-17 16:55:02 (GMT)
commit0723b2c93590b45a9f551c2ece2d2b80a2a2ae1d (patch)
treeac31c72bb8c7acb7889b510be9d1f401cd8cf11f /Help/guide/tutorial/Step9/MathFunctions
parent69c0a5daf98958ba6ad4311781ec72fe8b9bfb0a (diff)
downloadCMake-0723b2c93590b45a9f551c2ece2d2b80a2a2ae1d.zip
CMake-0723b2c93590b45a9f551c2ece2d2b80a2a2ae1d.tar.gz
CMake-0723b2c93590b45a9f551c2ece2d2b80a2a2ae1d.tar.bz2
MPI: Add fallback detection code for MPI when cross compiling
The MPI libraries use a compiler wrapper to automatically inject required flags and libraries into the compiler argument list. However, the wrapper does not support cross-compiling: the wrapper will try to invoke the native compiler which cannot handle the cross architecture MPI libraries and fail. This MR adds some fallback code for this case, which tries to bypass the faulty wrapper and determine the necessary flags and libraries directly from the MPI pkg-config files. The patch tries to be as unintrusive as possible and should not break any existing use-cases. Fixes: #22650
Diffstat (limited to 'Help/guide/tutorial/Step9/MathFunctions')
0 files changed, 0 insertions, 0 deletions