git: 3eaffc7a30e7 - main - misc/pytorch: Broken on aarch64 and i386

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 05 Jan 2023 10:20:51 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3eaffc7a30e7eca9564a3383d3c61ddb70622d2c

commit 3eaffc7a30e7eca9564a3383d3c61ddb70622d2c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-05 07:48:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-05 10:20:48 +0000

    misc/pytorch: Broken on aarch64 and i386
    
    Reported by:    fallout
---
 misc/pytorch/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/misc/pytorch/Makefile b/misc/pytorch/Makefile
index 253304abf2de..c272cf18c65d 100644
--- a/misc/pytorch/Makefile
+++ b/misc/pytorch/Makefile
@@ -11,6 +11,9 @@ WWW=		https://pytorch.org/
 
 LICENSE=	BSD3CLAUSE
 
+BROKEN_aarch64=	configure fails: CMake Error at third_party/XNNPACK/CMakeLists.txt:94 (MESSAGE): Unrecognized CMAKE_SYSTEM_NAME = FreeBSD
+BROKEN_i386=	compilation fails: error: use of undeclared identifier 'AVX2'
+
 BUILD_DEPENDS=	gmake:devel/gmake \
 		${LOCALBASE}/include/fxdiv.h:devel/fxdiv
 LIB_DEPENDS=	libopenblas.so:math/openblas \