Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2019 20:13:47 +0200
From:      Thierry Thomas <thierry@freebsd.org>
To:        Piotr Kubaj <pkubaj@anongoth.pl>
Cc:        Jan Beich <jbeich@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r512582 - head/math/suitesparse
Message-ID:  <20190924181347.GC59717@graf.pompo.net>
In-Reply-To: <20190924160426.GC94178@KGPE-D16>
References:  <201909221249.x8MCnoxJ014032@repo.freebsd.org> <tv91-693k-wny@FreeBSD.org> <20190924155630.GD56546@graf.pompo.net> <20190924160426.GC94178@KGPE-D16>

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

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le mar. 24 sept. 19 =E0 18:04:26 +0200, Piotr Kubaj <pkubaj@anongoth.pl>
 =E9crivait=A0:

> On 19-09-24 17:56:30, Thierry Thomas wrote:
> > Le mar. 24 sept. 19 =E0 16:51:27 +0200, Jan Beich <jbeich@FreeBSD.org>
> >  =E9crivait=A0:
> >=20
> > > >  LIB_DEPENDS=3D	libmetis.so:math/metis \
> > > > +		libomp.so:devel/openmp \
> > >=20
> > > Breaks all platforms except amd64 and i386, even Clang-based ones like
> > > aarch64, armv6, armv7. See ONLY_FOR_ARCHS in devel/openmp.
> >=20
> > 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:
>=20
> USES=3D	compiler:c++11-lang
>=20
> .include <bsd.port.pre.mk>
>=20
> .if ${CHOSEN_COMPILER_TYPE} =3D=3D gcc
> USE_GCC=3D	yes
> .endif
>=20
> .include <bsd.port.post.mk>
>=20
> This way, when on GCC platforms, we can have both C++11 and OpenMP (GCC s=
upports OpenMP).

--=20
Th. Thomas.

--ew6BAiZeqk4r7MaW
Content-Type: application/pgp-signature; name="signature.asc"

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

iQJ8BAEBCgBmBQJdilzbXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFNTM2QkU4NTM4NTM5OUQwMEI2RkFBNzZG
MUM1MTZCM0M4MzU5NzUzAAoJEPHFFrPINZdTaaMP/iFlcHUU6PhE57+yb66v2/D6
4NHtqks44/RsRQF+jGIMMRush7M0RUdN6mSFA5N4gE1NouAhrhvIEepUrJug39Ml
gPz2JM/sjwIbx4+Sc19vM/OdLn2s9jaqyuvOEhPDIiIpq7VILrhFvO91Ihbb3E43
hZPsIBYefbUTEIn12SW7YwwBw6lpb+6LN6acXLZIJqNEQauUS10xHFwsq9Bxhe+r
LrkSzn0neelyq+6H+jZ3nd84ROmhYW+boIVJudY5/bfkCi/J1oXCg5ud2pdyc9Bd
2FmaazSDl0iojvnIFgAeR1qczOeETvNhi5RVHrp9bs0DN+xywFwHWc0/eMMia3pY
lDbcgt5TMQKWj2A3fYHPyl/rWfvsOQlRe/7iIE0mz5joLBf6NAnbqHyln+6In0lk
bzmaQOSz/lYDP7wkCw2tPoTx/vxc5mmPyQKpO+9Vo5bP1jM1J7bXwyVkSKnXdbVx
CgEi70uYxAslrwZB5iPDXzLaNfOcvU8kpLl9huaazQU4pPdzi87dxlXX+nUAtVU4
++NIuPuTv2tqmhY+L+vuYJqQR/uDmz3U18Zfz7vfw0HIP5QSFn2tVjNmso0SZCUt
HUByqOCAAPeMzETdu2spheNprxSBJXEBtztcaeD6yNSSuChzrFwa8s1Zi0NbrJh8
z6ESiNOlZgMMZVA8Y02U
=5YJn
-----END PGP SIGNATURE-----

--ew6BAiZeqk4r7MaW--



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