diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2025-08-20 06:15:31 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-08-20 06:17:38 -0700 |
commit | 7da484044dee4af6966fa0e9397e32bdcb256b82 (patch) | |
tree | 82bb1e390f8e0842cdb9651b65e53ca9883352c3 | |
parent | lang/perl5.42: silence Getopt::Long duplicateāspec warning in json_pp (diff) |
misc/py-pytorch: Add USE_LDCONFIG
... because it installs shared libraries into the Python module path
that users later link with.
-rw-r--r-- | misc/py-pytorch/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/py-pytorch/Makefile b/misc/py-pytorch/Makefile index a0661e8a4413..4713de8cc9e9 100644 --- a/misc/py-pytorch/Makefile +++ b/misc/py-pytorch/Makefile @@ -1,6 +1,7 @@ PORTNAME= pytorch DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 +PORTREVISION= 1 CATEGORIES= misc # machine-learning MASTER_SITES= https://github.com/pytorch/pytorch/releases/download/v${DISTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -49,6 +50,7 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}astunparse>0:devel/py-astunparse@${PY_FLAVO USES= compiler:c++17-lang localbase:ldflags python USE_PYTHON= distutils autoplist +USE_LDCONFIG= ${PYTHON_SITELIBDIR}/torch/lib USE_GITHUB= nodefault GH_TUPLE= pytorch:cpuinfo:1e83a2f:cpuinfo/cpuinfo-with-freebsd-support # https://github.com/pytorch/cpuinfo/pull/230/commits |