svn commit: r522472 - head/science/vipster

Piotr Kubaj pkubaj at anongoth.pl
Thu Jan 9 17:44:13 UTC 2020


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

There are a couple of different possible arguments for USE_GCC:
USE_GCC=any will use any version available (including the base GCC), if no GCC is installed, the default version (9 currently will be used),
USE_GCC=yes will use any version available (excluding the base GCC), if no GCC is installed, the default version (9 currently will be used),
USE_GCC=8 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=8+ will use GCC8 by default or any newer installed version.

Usually 99% of time we want to set USE_GCC=yes, to make it use the ports version. USE_GCC=any only makes sense in the case where there are two base compilers installed (clang and gcc) and clang is the default compiler, but 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=yes is necessary.

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

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20200109/6360d065/attachment.sig>


More information about the svn-ports-all mailing list