aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorKacper Kowalik (Xarthisius) <xarthisius@gentoo.org>2011-06-12 16:52:31 +0200
committerKacper Kowalik (Xarthisius) <xarthisius@gentoo.org>2011-06-12 16:52:31 +0200
commitafd3a20a660de240595b9e0102b5ca044cc40c40 (patch)
tree8add6379822d01b5cca9d6e68eb9084a56370ab5 /eclass
parentAlso export F90=$FC (diff)
downloadsci-afd3a20a660de240595b9e0102b5ca044cc40c40.tar.gz
sci-afd3a20a660de240595b9e0102b5ca044cc40c40.tar.bz2
sci-afd3a20a660de240595b9e0102b5ca044cc40c40.zip
[fortran-2.eclass] add pathscale compiler to get_fcomp, fix tabs
Diffstat (limited to 'eclass')
-rw-r--r--eclass/fortran-2.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
index 263ffb93c..de0967976 100644
--- a/eclass/fortran-2.eclass
+++ b/eclass/fortran-2.eclass
@@ -87,12 +87,14 @@ get_fcomp() {
echo "gfortran" ;;
ifort )
echo "ifc" ;;
+ pathf*)
+ echo "pathcc" ;;
mpi*)
local _fcomp=$($(tc-getFC) -show | awk '{print $1}')
echo "$(FC=${_fcomp} get_fcomp)";;
- * )
+ * )
echo $(tc-getFC) ;;
- esac
+ esac
}
# @FUNCTION: fortran-2_pkg_setup