summaryrefslogtreecommitdiff
path: root/misc/py-pytorch/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-05-10 04:15:26 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-05-10 04:21:00 +0000
commit85aebbb57bed45347a7c13009a2cf10abff229ec (patch)
tree240ec522890ff1efa34772e328af9f35f7137382 /misc/py-pytorch/Makefile
parent167ba266d99226410632fb4d895cc0fc44ca9c65 (diff)
Diffstat (limited to 'misc/py-pytorch/Makefile')
-rw-r--r--misc/py-pytorch/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/py-pytorch/Makefile b/misc/py-pytorch/Makefile
index a71d2a5ebb29..e9f1fc05ffdd 100644
--- a/misc/py-pytorch/Makefile
+++ b/misc/py-pytorch/Makefile
@@ -1,6 +1,7 @@
PORTNAME= pytorch
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.0
+PORTREVISION= 1
CATEGORIES= misc # machine-learning
MASTER_SITES= https://github.com/pytorch/pytorch/releases/download/v${DISTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -39,6 +40,8 @@ USE_PYTHON= distutils autoplist
MAKE_ENV= USE_NINJA=no # ninja breaks for some reason
MAKE_ENV+= BUILD_TEST=0 # ninja breaks for some reason
+MAKE_ENV+= USE_MKLDNN=0 # disable MKLDNN that doesn't exist, see https://github.com/pytorch/pytorch/issues/100957
+MAKE_ENV+= USE_CUDNN=0
LDFLAGS+= -lexecinfo
BINARY_ALIAS= make=${GMAKE}