On Wed, May 08 2019, Brian Callahan <call...@rpi.edu> wrote: > Hi ports -- > > Attached are two diffs. The first turns on flang support in the fortran > module. This has been brought up before but stalled. It is now necessary > for R to build on arm64. The second uses flang as the Fortran compiler > on arm64 when building R. This allows R to successfully build and > package and install. > > OK?
I didn't check too closely (I have no arm64 hw anyway) but... this puts the logic of selecting the appropriate fortran compiler into a leaf port. Since flang is the only usable choice on arm64, shouldn't this be put in infrastructure/mk/fortran.port.mk instead, so that the whole ports tree benefits from it? Or is this planned as a subsequent step? -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE