From nobody Thu Nov 2 17:34:24 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SLrbb0TL5z4yw2X; Thu, 2 Nov 2023 17:34:35 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SLrbZ5P5lz3P3p; Thu, 2 Nov 2023 17:34:34 +0000 (UTC) (envelope-from thierry@pompo.net) Authentication-Results: mx1.freebsd.org; none Received: from graf.pompo.net (graf.pompo.net [82.66.0.218]) (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 BBBEDE96CE; Thu, 2 Nov 2023 18:34:25 +0100 (CET) Received: by graf.pompo.net (Postfix, from userid 1001) id 82CE668D3DE; Thu, 2 Nov 2023 18:34:24 +0100 (CET) Date: Thu, 2 Nov 2023 18:34:24 +0100 From: Thierry Thomas To: Max Brazhnikov Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 0c7a24c1125f - main - math/flexiblas: new port, FlexiBLAS - A BLAS and LAPACK wrapper library Message-ID: Mail-Followup-To: Max Brazhnikov , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org References: <202311021603.3A2G3Y76076446@gitrepo.freebsd.org> <84949204.0ko45tJjV3@mercury> List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="I401NuOnZeDefyhP" Content-Disposition: inline In-Reply-To: <84949204.0ko45tJjV3@mercury> X-Operating-System: FreeBSD 13.2-STABLE amd64 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc;y=\ipKMNm<1J>lv@PP~7Z<.tKjAnXLs: X-PGP: 0xF1C516B3C8359753 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20766, ipnet:80.67.160.0/19, country:FR] X-Rspamd-Queue-Id: 4SLrbZ5P5lz3P3p --I401NuOnZeDefyhP Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Le jeu. 2 nov. 23 =E0 18:23:27 +0100, Max Brazhnikov =E9crivait=A0: > Hi Thierry, Hello Max, > > +.include > > + > > +.if exists(${LOCALBASE}/lib/libatlas.so) > > +LIB_DEPENDS+=3D libatlas.so:math/atlas > > +PLIST_SUB+=3D OPENBLAS=3D"@comment " ATLAS=3D"" > > +.else > > +LIB_DEPENDS+=3D libcblas.so:math/cblas \ > > + libopenblas.so:math/openblas > > +PLIST_SUB+=3D OPENBLAS=3D"" ATLAS=3D"@comment " > > +.endif >=20 > Could this be governed not by fate but via options? I chose this method because ATLAS is a very special case: - it is not packageable; - it takes a very loooong time to build; - I suspect that is not very optimized for modern CPUs. Therefore I prefer not to use it as a direct dependency, but only for machines where it has already been installed. For the other ones, OpenBLAS is the default choice. --=20 Th. Thomas. --I401NuOnZeDefyhP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJlQ92fXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFNTM2QkU4NTM4NTM5OUQwMEI2RkFBNzZG MUM1MTZCM0M4MzU5NzUzAAoJEPHFFrPINZdTdBsP/R8a1gde+nlw8l3nsj1YGDO3 88Ro9crTMGaG7QIjyJS1vYn64dd39AYNGUO1bteeaO76f6lsZNwyAttkMZJD8zta mvQfTDlYjFiCapOCzs6EVOic1XzA8WiYg7DoPj680Kw1mAbvW43KSuvaEs+tNO7z sH2r6fAT8A5lvmHRmqDumx7j72rStZSOo9pl5QYQg35UnQSlY33RiUt0wJ6DpDri 8glCVwkna13cUDjOkgwpujXu8w8aqMB335i3jf3jaoEjiuF4JuWb68+J2brtAkc/ H+YMulT9tpGKBab6HMWvoCtmCtQaRgS0AOfJIkwh0SjDaOHhjfLhplACl+SWn04Z ORuyiHD1BveAZHUgvdACnA8iqv9hB7jZPMTMEoxxiAnlDL3nutVLYaD58vaaHAX+ JNibuRF1F3flQG4gURnBOkKvuhjlj8cTsFPKYOkQnUKEswNc2l+cR0oIUAZA55fl ZYPYrXjRjmz3b1/RliHV6sh6i+vS4uhPCjyyzT7Za1mZEaUPDbLZPf0WBEbAQZgY XbQ1k0XZ17/gLZ8EMN+Cx0zmemXNCH8/id8qbbJnkD9C7+t5EKRtd87odK2wYnnR 3v0BXH/6+bDysNQmdN1AW0Mx2v6ArT0HBivjWftrn55ona9IwkmUZcN4VsRW6jxn WbDhn1drJlEkWv3V6Ose =574Y -----END PGP SIGNATURE----- --I401NuOnZeDefyhP--