Commit f64f0da9 authored by Kevin Harms's avatar Kevin Harms

Add support for CC and MPICH_CC in compiler wrappers

git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@693 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 296e09a8
......@@ -117,7 +117,11 @@ print OUTPUT<<"EOF";
# Show is set to echo to cause the compilation command to be echoed instead
# of executed.
Show=
CC="$CC"
CC=${CC:-"$CC"}
if [ -n "$MPICH_CC" ] ; then
CC="$MPICH_CC"
fi
EOF
if ($xl_check == 1)
......
......@@ -117,7 +117,11 @@ print OUTPUT<<"EOF";
# Show is set to echo to cause the compilation command to be echoed instead
# of executed.
Show=
CXX="$CXX"
CXX=${CXX:-"$CXX"}
if [ -n "$MPICH_CC" ] ; then
CXX="$MPICH_CXX"
fi
EOF
if ($xl_check == 1)
......
......@@ -117,7 +117,11 @@ print OUTPUT<<"EOF";
# Show is set to echo to cause the compilation command to be echoed instead
# of executed.
Show=
FC="$FC"
FC=${F77:-"$FC"}
if [ -n "$MPICH_F77" ] ; then
FC="$MPICH_F77"
fi
EOF
if ($xl_check == 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment