File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -56,12 +56,17 @@ foreach mpiname [array names mpidb *,variant] {
56
56
unset mpiname
57
57
58
58
proc mpi.get_default_mpi_compiler {} {
59
+ global os.arch
59
60
# No MPI variant has been selected.
60
61
# Attempt to select the MPI port that is consistent with the compiler being used.
61
62
lassign [split [option configure.compiler] " -" ] ismacports type ver
62
63
if {${ismacports} ne " macports" } {
63
64
# system compiler is being used, so use {mpich,openmpi}-default
64
65
return {mp default}
66
+ } elseif {${os.arch} eq " powerpc" } {
67
+ # MPI never uses Xcode gcc and there is no clang.
68
+ # Avoid unnecessary zoo of mpich versions.
69
+ return {mp default}
65
70
} else {
66
71
# macports compiler is being used, so use the corresponding MPI port
67
72
set mpiver [join [split ${ver} " ." ] " " ]
You can’t perform that action at this time.
0 commit comments