DEFAULT_VERSIONS=gcc=8 results in gfortran7
Anton Shterenlikht
as at cmplx.uk
Fri Aug 17 10:24:57 UTC 2018
I got no replies from fortran@, reposting here.
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:
http://cmplx.uk/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-ports
mailing list