svn commit: r512582 - head/math/suitesparse

Thierry Thomas thierry at freebsd.org
Tue Sep 24 18:13:52 UTC 2019


Le mar. 24 sept. 19 à 18:04:26 +0200, Piotr Kubaj <pkubaj at anongoth.pl>
 écrivait :

> On 19-09-24 17:56:30, Thierry Thomas wrote:
> > Le mar. 24 sept. 19 à 16:51:27 +0200, Jan Beich <jbeich at FreeBSD.org>
> >  écrivait :
> > 
> > > >  LIB_DEPENDS=	libmetis.so:math/metis \
> > > > +		libomp.so:devel/openmp \
> > > 
> > > Breaks all platforms except amd64 and i386, even Clang-based ones like
> > > aarch64, armv6, armv7. See ONLY_FOR_ARCHS in devel/openmp.
> > 
> > Is there a way to request a compiler < C++11 and require openmp when not
> > in base?

> Do you mean compiler supporting C++11 and openmp?

No, the contrary: a compiler previous than C++11.

> There's no such USES. Usually we use a hack like this:
> 
> USES=	compiler:c++11-lang
> 
> .include <bsd.port.pre.mk>
> 
> .if ${CHOSEN_COMPILER_TYPE} == gcc
> USE_GCC=	yes
> .endif
> 
> .include <bsd.port.post.mk>
> 
> This way, when on GCC platforms, we can have both C++11 and OpenMP (GCC supports OpenMP).

-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20190924/3d141210/attachment.sig>


More information about the svn-ports-all mailing list