impi: allow echo as compiler for mpitool
This commit is contained in:
parent
ba13d37694
commit
f20ef93c56
@ -5,7 +5,7 @@
|
||||
case "${compiler_short_name}" in
|
||||
icc) $dir/mpiicc -cc=$compiler_name "$@" ;;
|
||||
- cc|*gcc*) $dir/mpigcc -cc=$compiler_name "$@" ;;
|
||||
+ cc|*gcc*|mcc|clang) $dir/mpigcc -cc=$compiler_name "$@" ;;
|
||||
+ cc|*gcc*|mcc|clang|echo) $dir/mpigcc -cc=$compiler_name "$@" ;;
|
||||
mpicc) $dir/mpigcc "$@" ;;
|
||||
*)
|
||||
echo "Error: unsupported compiler name '$compiler_name'."
|
||||
@ -14,7 +14,7 @@
|
||||
case "${compiler_short_name}" in
|
||||
icc) $dir/mpiicc -cc=$compiler_name "$@" $opt_args ;;
|
||||
- cc|*gcc*) $dir/mpigcc -cc=$compiler_name "$@" $opt_args ;;
|
||||
+ cc|*gcc*|mcc|clang) $dir/mpigcc -cc=$compiler_name "$@" $opt_args ;;
|
||||
+ cc|*gcc*|mcc|clang|echo) $dir/mpigcc -cc=$compiler_name "$@" $opt_args ;;
|
||||
mpicc) $dir/mpigcc "$@" $opt_args ;;
|
||||
*)
|
||||
echo "Error: unsupported compiler name '$compiler_name'."
|
||||
|
@ -8,7 +8,7 @@
|
||||
- *g++*) $dir/mpigxx -cxx=$compiler_name "$@" ;;
|
||||
- mpicxx) $dir/mpigxx "$@" ;;
|
||||
+ icc|icpc) $dir/mpiicpc -cxx=$compiler_name "$@" ;;
|
||||
+ *g++*|clang*++|mcxx) $dir/mpigxx -cxx=$compiler_name "$@" ;;
|
||||
+ *g++*|clang*++|mcxx|echo) $dir/mpigxx -cxx=$compiler_name "$@" ;;
|
||||
+ mpicxx) $dir/mpigxx "$@" ;;
|
||||
*)
|
||||
echo "Error: unsupported compiler name '$compiler_name'."
|
||||
@ -21,7 +21,7 @@
|
||||
- *g++*) $dir/mpigxx -cxx=$compiler_name "$@" $opt_args ;;
|
||||
- mpicxx) $dir/mpigxx "$@" $opt_args ;;
|
||||
+ icc|icpc) $dir/mpiicpc -cxx=$compiler_name "$@" $opt_args ;;
|
||||
+ *g++*|clang*++|mcxx) $dir/mpigxx -cxx=$compiler_name "$@" $opt_args ;;
|
||||
+ *g++*|clang*++|mcxx|echo) $dir/mpigxx -cxx=$compiler_name "$@" $opt_args ;;
|
||||
+ mpicxx) $dir/mpigxx "$@" $opt_args ;;
|
||||
*)
|
||||
echo "Error: unsupported compiler name '$compiler_name'."
|
||||
|
Loading…
Reference in New Issue
Block a user