Date: Tue, 24 Sep 2019 18:04:26 +0200 From: Piotr Kubaj <pkubaj@anongoth.pl> To: 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: <20190924160426.GC94178@KGPE-D16> In-Reply-To: <20190924155630.GD56546@graf.pompo.net> References: <201909221249.x8MCnoxJ014032@repo.freebsd.org> <tv91-693k-wny@FreeBSD.org> <20190924155630.GD56546@graf.pompo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--dkEUBIird37B8yKS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Do you mean compiler supporting C++11 and openmp? There's no such USES. Usually we use a hack like this: USES=3D compiler:c++11-lang =2Einclude <bsd.port.pre.mk> =2Eif ${CHOSEN_COMPILER_TYPE} =3D=3D gcc USE_GCC=3D yes =2Eendif =2Einclude <bsd.port.post.mk> This way, when on GCC platforms, we can have both C++11 and OpenMP (GCC sup= ports OpenMP). On 19-09-24 17:56:30, Thierry Thomas wrote: > Le mar. 24 sept. 19 =C3=A0 16:51:27 +0200, Jan Beich <jbeich@FreeBSD.org> > =C3=A9crivait=C2=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? > --=20 > Th. Thomas. --dkEUBIird37B8yKS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAl2KPooACgkQelmbhSCD nJ19qRAAmUIF4BdxQXFpWZZbTpaKYxUuxl1B0viwcJzFtZhga+uaEjbV1SlMV3yq lgzXulmsKrmkkNcwfMkby+cYsD9e4FbIHHAq0q9eL4ZpGmcJwQm2/H+qF1MpD6zA qErhKmdSlEhvBS79v8KBTFrrhzIOPIKfQBF5KBHYH/uvLsJcDQhk8Knle2DCDWCT WzmgUGnR5qHDBmkokTI1tj8EIHCNakJWYPWTOVulexlXQ5YLxHX/fQZRpANrvAzd IQX0eDFIWkY24TIUCC0/IdmaYsAIelhvZNi1iTqw4wlNkGvs0vSl7YfXmlKP6Xcu Si4cDGv6xUHM38FzPQSgjIbLC4o/iqPvWPMOf/JErn+YOgOi5SkN9rOqw1MRwg0m fT0rqxGCwovS2+mgq2obLZkyCMs3vRfbt9AC51Vzyp8rDD7ve+HHgzrUnab8Wl+D Gq+GlFte2zSEIxKo23NWDUdI9h2BCCmHAU00kSHItB0iwMFUGSDhWq5LdctP4SQq X7I2HDY0o6sgpb0CXVgmUKGOxCkXSWxHnJN5nXcScbolkG/KSnOQEKVqLBUpmYV0 M0U7NMnvuE1i34Y6QaKyAW2anhAKhZ+gXFaU19LvL4HxS1tr/uzOrft9DCQPpYiN Qban/UwCDcFlH/dXOvd0Po/9GmcMGkzMm2t4JJFiqBEEc7uXyxo= =/JVU -----END PGP SIGNATURE----- --dkEUBIird37B8yKS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190924160426.GC94178>