On 5/8/19 10:43 AM, Jeremie Courreges-Anglas wrote:
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?


gfortran is available on arm64 since the gcc-8 switch. But it failed to build R (see Peter's aarch64 build logs). It does, however, successfully build math/blas. I could try to get gfortran to build R on arm64 if that makes more sense for people.

~Brian

Reply via email to