From owner-svn-ports-head@freebsd.org Tue Sep 24 18:13:52 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 935FC12D667; Tue, 24 Sep 2019 18:13:52 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from erza.lautre.net (erza.lautre.net [80.67.160.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "lautre.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46d8TC4dWzz3KTl; Tue, 24 Sep 2019 18:13:51 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from graf.pompo.net (graf.pompo.net [78.225.128.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by erza.lautre.net (Postfix) with ESMTPSA id 4187EE6334; Tue, 24 Sep 2019 20:13:48 +0200 (CEST) Received: by graf.pompo.net (Postfix, from userid 1001) id 815471AAAE0; Tue, 24 Sep 2019 20:13:47 +0200 (CEST) Date: Tue, 24 Sep 2019 20:13:47 +0200 From: Thierry Thomas To: Piotr Kubaj Cc: Jan Beich , 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> Mail-Followup-To: Piotr Kubaj , Jan Beich , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <201909221249.x8MCnoxJ014032@repo.freebsd.org> <20190924155630.GD56546@graf.pompo.net> <20190924160426.GC94178@KGPE-D16> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <20190924160426.GC94178@KGPE-D16> X-Operating-System: FreeBSD 12.0-STABLE amd64 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: X-PGP: 0xF1C516B3C8359753 User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 46d8TC4dWzz3KTl X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of thierry@pompo.net has no SPF policy when checking 80.67.160.89) smtp.mailfrom=thierry@pompo.net X-Spamd-Result: default: False [-5.08 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(-2.18)[ip: (-8.97), ipnet: 80.67.160.0/19(-1.08), asn: 20766(-0.86), country: FR(-0.00)]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[5]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[89.160.67.80.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[thierry@freebsd.org,thierry@pompo.net]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20766, ipnet:80.67.160.0/19, country:FR]; FROM_NEQ_ENVFROM(0.00)[thierry@freebsd.org,thierry@pompo.net]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2019 18:13:52 -0000 --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 =E9crivait=A0: > On 19-09-24 17:56:30, Thierry Thomas wrote: > > Le mar. 24 sept. 19 =E0 16:51:27 +0200, Jan Beich > > =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 >=20 > .if ${CHOSEN_COMPILER_TYPE} =3D=3D gcc > USE_GCC=3D yes > .endif >=20 > .include >=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--