Date: Tue, 9 Jul 2024 10:35:23 +0000 From: Alexey Dokuchaev <danfe@freebsd.org> To: Piotr Kubaj <pkubaj@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 4a72fdf13706 - main - misc/pytorch: fix build on arm64 Message-ID: <Zo0SawN5CoA3Hl17@FreeBSD.org> In-Reply-To: <202407091004.469A4q1M005462@gitrepo.freebsd.org>
index | next in thread | previous in thread | raw e-mail
On Tue, Jul 09, 2024 at 10:04:52AM +0000, Piotr Kubaj wrote: > commit 4a72fdf137062c477b25bf1602d57745b569a352 > > misc/pytorch: fix build on arm64 > ... > + # Enable conditional FP16 arithmetic intrinsics > +-if(CPU_AARCH64 AND LINUX) > ++if(CPU_AARCH64 AND CMAKE_SYSTEM_NAME MATCHES "FreeBSD") Looks like in its current form the patch isn't quite upstreamable. Did you try to raise this issue with developers to come up with more generic solution? Ad-hoc patches might fix some problem in the moment but often become extra burden for ports' maintainers with future updates. ./danfehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Zo0SawN5CoA3Hl17>
