diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-04-24 21:20:33 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-04-24 21:25:48 +0000 |
commit | fe3c71c53ce493d33cf35829db0c41f113464256 (patch) | |
tree | d3558b6cafd4619190b481a9c2081072a215efea /misc/pytorch/Makefile | |
parent | 66d40884274a376f73f2b5ef00d421cd929bc5eb (diff) | |
download | ports-fe3c71c53ce493d33cf35829db0c41f113464256.tar.gz ports-fe3c71c53ce493d33cf35829db0c41f113464256.zip |
misc/pytorch: update 2.2.1 → 2.2.2
Diffstat (limited to 'misc/pytorch/Makefile')
-rw-r--r-- | misc/pytorch/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/pytorch/Makefile b/misc/pytorch/Makefile index 6954c1d2872c..780bdba53a62 100644 --- a/misc/pytorch/Makefile +++ b/misc/pytorch/Makefile @@ -1,6 +1,6 @@ PORTNAME= pytorch DISTVERSIONPREFIX= v -DISTVERSION= 2.2.1 +DISTVERSION= 2.2.2 CATEGORIES= misc # machine-learning MASTER_SITES= https://github.com/pytorch/pytorch/releases/download/v${DISTVERSION}/ DIST_SUBDIR= ${PORTNAME} @@ -66,6 +66,8 @@ post-patch: @cd ${WRKSRC} && for f in $$(${GREP} -rl "include <malloc\.h>" * | ${GREP} -E "\.(c|cpp|h|hpp)$$"); do \ ${REINPLACE_CMD} -i'' -E "s|include <malloc\.h>|include <stdlib.h>|" $$f; \ done + # remove bundled fmt + @${RM} -r ${WRKSRC}/third_party/fmt post-install: # functorch.so is installed back into the source directory, see https://github.com/pytorch/pytorch/issues/91524 |