Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438904 - fortran.eclass?: provide function for short fortran compiler name
Summary: fortran.eclass?: provide function for short fortran compiler name
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-19 09:47 UTC by Justin Lecher (RETIRED)
Modified: 2021-07-27 04:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
}