DEFAULT_VERSIONS=gcc=8 results in gfortran7
Anton Shterenlikht
as at cmplx.uk
Wed Aug 8 13:25:06 UTC 2018
I'm building with synth.
jrmarino says this should work,
i.e. the problem is not in synth.
I have DEFAULT_VERSIONS=gcc=8 in synth make.conf:
# cat /usr/local/etc/synth/LiveSystem-make.conf
DEVELOPER=yes
FFLAGS+= -O2 -pipe -march=bdver2 -mtune=bdver2
FFLAGS+= -funroll-loops --param max-unroll-times=4 -ftree-vectorize
FFLAGS+= -g
DEFAULT_VERSIONS=gcc=8
However, when building net/mpich, gfortran7 is used:
--------------------------------------------------
-- CONFIGURE_ENV
--------------------------------------------------
PKG_CONFIG=pkgconf
F77="gfortran7"
FC="gfortran7"
Here's the full log:
https://seis.bristol.ac.uk/%7Emexas/net___mpich.log
Should setting DEFAULT_VERSIONS=gcc=8 in make.conf
be sufficient to force the use of gfortran8?
Looking at /usr/ports/Mk/Uses/fortran.mk, my answer is yes.
Please help
Anton
More information about the freebsd-fortran
mailing list