git: a09e215e18cc - main - misc/py-pytorch: Change from openmpi4 to openmpi
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Mar 2026 18:04:25 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a09e215e18cccfd546954fbeef660fb4c4ceb523
commit a09e215e18cccfd546954fbeef660fb4c4ceb523
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-03-15 18:03:38 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-03-15 18:04:20 +0000
misc/py-pytorch: Change from openmpi4 to openmpi
---
misc/py-pytorch/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/misc/py-pytorch/Makefile b/misc/py-pytorch/Makefile
index 1449d5f9bd8c..e82e34b3196d 100644
--- a/misc/py-pytorch/Makefile
+++ b/misc/py-pytorch/Makefile
@@ -1,6 +1,7 @@
PORTNAME= pytorch
DISTVERSIONPREFIX= v
DISTVERSION= 2.10.0
+PORTREVISION= 1
CATEGORIES= misc # machine-learning
MASTER_SITES= https://github.com/pytorch/pytorch/releases/download/v${DISTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -39,7 +40,6 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS= libabsl_base.so:devel/abseil \
libblis.so:math/blis \
- libmpi_cxx.so:net/openmpi4 \
libonnx.so:misc/onnx \
libopenblas.so:math/openblas \
libpthreadpool.so:devel/pthreadpool \
@@ -57,7 +57,7 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}astunparse>0:devel/py-astunparse@${PY_FLAVO
${PYTHON_PKGNAMEPREFIX}dill>0:devel/py-dill@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} # optional dependencies
-USES= compiler:c++17-lang localbase:ldflags python
+USES= compiler:c++17-lang localbase:ldflags mpi:openmpi python
USE_PYTHON= pep517 autoplist
USE_LDCONFIG= ${PYTHON_SITELIBDIR}/torch/lib