Date: Thu, 2 Nov 2023 18:34:24 +0100 From: Thierry Thomas <thierry@freebsd.org> To: Max Brazhnikov <makc@freebsd.org> 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: <ZUPdoMG3OzedbvXZ@graf.pompo.net> In-Reply-To: <84949204.0ko45tJjV3@mercury> References: <202311021603.3A2G3Y76076446@gitrepo.freebsd.org> <84949204.0ko45tJjV3@mercury>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <makc@freebsd.org> =E9crivait=A0: > Hi Thierry, Hello Max, > > +.include <bsd.port.pre.mk> > > + > > +.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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZUPdoMG3OzedbvXZ>