Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2020 18:44:08 +0100
From:      Piotr Kubaj <pkubaj@anongoth.pl>
To:        Yuri <yuri@rawbw.com>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r522472 - head/science/vipster
Message-ID:  <20200109174408.GA91304@KGPE-D16>
In-Reply-To: <055d2014-7317-7cd5-59a5-63ae92b1c0cb@rawbw.com>
References:  <202001090757.0097vhau096251@repo.freebsd.org> <20200109084723.GA51658@talos> <055d2014-7317-7cd5-59a5-63ae92b1c0cb@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

It is needed, because by default it uses base GCC 4.2, which doesn't suppor=
t C++17.

There are a couple of different possible arguments for USE_GCC:
USE_GCC=3Dany will use any version available (including the base GCC), if n=
o GCC is installed, the default version (9 currently will be used),
USE_GCC=3Dyes will use any version available (excluding the base GCC), if n=
o GCC is installed, the default version (9 currently will be used),
USE_GCC=3D8 will use only GCC8 (you can also put other number there to make=
 it use other version), you usually shouldn't use it,
USE_GCC=3D8+ will use GCC8 by default or any newer installed version.

Usually 99% of time we want to set USE_GCC=3Dyes, to make it use the ports =
version. USE_GCC=3Dany only makes sense in the case where there are two bas=
e compilers installed (clang and gcc) and clang is the default compiler, bu=
t we want to for some reason use the base GCC (because it's enough, we don'=
t need anything newer). Here we need C++17 compiler, that's why USE_GCC=3Dy=
es is necessary.

On 20-01-09 09:08:12, Yuri wrote:
> On 2020-01-09 00:47, Piotr Kubaj wrote:
> > .else
> > USE_GCC=3D=C2=A0=C2=A0=C2=A0 yes
>=20
>=20
> This shouldn't be needed though? Because on non-clang architectures it us=
es
> gcc anyway.
>=20
>=20
> Yuri
>=20
>=20

--=20

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAl4XZmgACgkQelmbhSCD
nJ3SyA//W36qdeqssPIZIhnbXFV6BwnttjgJC+MrymYRvwWaC7Z+zvk/+HMqlzCZ
QQHdInJhoO1W8KL4fUWQQMbmYsmQdQ9jrdJ3ObEuxJUlP8aeXO9SOItfYRdhZZzL
FgqMfuJxw5ukQz8MY8dkx6UJHlPJWq/iIRvwzNcFUM3uKgrhvjbkXhV68YrVDCsz
MawtPf/Lc4PpukFvrzZkIVrihSWTIHCYWTpWFxZbUjT18bGzupsnBIZtiwM+Wl0S
nTcl1pOJOdW2vgIlahJoCk+6gDmbVBRBNZaV8UU+xRCjxOIVVACSg0dvT/GHaf/Q
kdPYA9tRF+V8qRxeKJlC2IQ0eqGFOOOTdFz9bW3IjuYfdk5Wspg3MFc98zqpVKK1
dwWj4+zNt3EBjqqZTsBgkpKWXNdO/VFrHU1vpHU4I0X9snlxbXzvLQ5EVAsGLoLR
8wsTGqAesrAYljDd1pI3QQ0PPfwF4/nEOrm7jF4skh8QmogQmfIPw4Y/ATWSkYQG
rVyqy63qVzmvgJwNxkdA6kWZ9RRZMjWo9oB2aTSW4lGpJoxJ6Xs+Qa16+7mdGxoh
OzkJB8UYtQq4zodn2aotFkEi53/Q8iKWCdAqw5IbvDYmcOoy66y8IwlndBmrswG+
m21Nht3cC+kCk/YE/q5JL3/NFxI6FQ7Z5IW/qRECniaehJNPGVg=
=eYZl
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200109174408.GA91304>