A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
be a little more tricky and hopefully more portable
[simgrid.git]
/
src
/
smpi
/
smpif90.in
diff --git
a/src/smpi/smpif90.in
b/src/smpi/smpif90.in
index 99bd88801ad14643262a4e4eaac2ae60decbd53a..7c52fc57dae65396856ba7ae7f085c3df7088722 100644
(file)
--- a/
src/smpi/smpif90.in
+++ b/
src/smpi/smpif90.in
@@
-1,6
+1,6
@@
-#! /
bin/
bash
+#! /
usr/bin/env
bash
-CC=gfortran
+F90=@GFORTRAN_EXE@
INCLUDEARGS="@includeflag@"
CMAKE_LINKARGS="-L@libdir@"
INCLUDEARGS="@includeflag@"
CMAKE_LINKARGS="-L@libdir@"
@@
-36,7
+36,7
@@
while [ -n "$1" ]; do
esac
done
esac
done
-CMDLINE="${
CC
} ${FFLAGS} ${CMDLINE} ${INCLUDEARGS} ${CMAKE_LINKARGS} ${LINKARGS}"
+CMDLINE="${
F90
} ${FFLAGS} ${CMDLINE} ${INCLUDEARGS} ${CMAKE_LINKARGS} ${LINKARGS}"
#echo "${CMDLINE}"
${CMDLINE}
#echo "${CMDLINE}"
${CMDLINE}