Date: Fri, 17 Aug 2018 10:24:53 +0000 From: Anton Shterenlikht <as@cmplx.uk> To: freebsd-ports@freebsd.org Subject: DEFAULT_VERSIONS=gcc=8 results in gfortran7 Message-ID: <20180817102453.GA28396@jail0199.vps.exonetric.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180817102453.GA28396>