Merge topic 'FindMPI-Intel-5'
cfd23d3f FindMPI: Extend Intel-MPI 5+ workaround for recent GCCs
This commit is contained in:
commit
93bd154075
@ -204,7 +204,7 @@ function (_mpi_check_compiler compiler options cmdvar resvar)
|
|||||||
# Intel MPI 5.0.1 will return a zero return code even when the
|
# Intel MPI 5.0.1 will return a zero return code even when the
|
||||||
# argument to the MPI compiler wrapper is unknown. Attempt to
|
# argument to the MPI compiler wrapper is unknown. Attempt to
|
||||||
# catch this case.
|
# catch this case.
|
||||||
if("${cmdline}" MATCHES "undefined reference")
|
if(cmdline MATCHES "undefined reference" OR cmdline MATCHES "unrecognized")
|
||||||
set(success 255 )
|
set(success 255 )
|
||||||
endif()
|
endif()
|
||||||
set(${cmdvar} "${cmdline}" PARENT_SCOPE)
|
set(${cmdvar} "${cmdline}" PARENT_SCOPE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user