Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 438904

Summary: fortran.eclass?: provide function for short fortran compiler name
Product: Gentoo Linux Reporter: Justin Lecher (RETIRED) <jlec>
Component: EclassesAssignee: Gentoo Science Related Packages <sci>
Status: CONFIRMED ---    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Justin Lecher (RETIRED) gentoo-dev 2012-10-19 09:47:40 UTC
Similar to

get_fcomp() {
   case $(tc-getFC) in
      *gfortran* )
         FCOMP="gfortran" ;;
      ifort )
         FCOMP="ifc" ;;
      * )
         FCOMP=$(tc-getFC) ;;
   esac
}