pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-torch
Module Name: pkgsrc
Committed By: wiz
Date: Wed Feb 26 09:40:19 UTC 2025
Modified Files:
pkgsrc/math/py-torch: Makefile
Log Message:
py-torch: pass Python executable name to cmake to fix build with non-default Python
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/py-torch/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/py-torch/Makefile
diff -u pkgsrc/math/py-torch/Makefile:1.5 pkgsrc/math/py-torch/Makefile:1.6
--- pkgsrc/math/py-torch/Makefile:1.5 Thu Feb 6 22:44:51 2025
+++ pkgsrc/math/py-torch/Makefile Wed Feb 26 09:40:19 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2025/02/06 22:44:51 mef Exp $
+# $NetBSD: Makefile,v 1.6 2025/02/26 09:40:19 wiz Exp $
DISTNAME= pytorch-v2.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S,pytorch-v,torch-,}
@@ -62,6 +62,7 @@ CMAKE_CONFIGURE_ARGS+= -DUSE_ROCM=OFF
CMAKE_CONFIGURE_ARGS+= -DUSE_MKLDNN=OFF
CMAKE_CONFIGURE_ARGS+= -DUSE_SYSTEM_PYBIND11=ON
CMAKE_CONFIGURE_ARGS+= -Dpybind11_INCLUDE_DIR=${BUILDLINK_DIR}/${PYSITELIB}/pybind11/include
+CMAKE_CONFIGURE_ARGS+= -DPython_EXECUTABLE=${PYTHONBIN}
MAKE_ENV+= USE_MKLDNN=0
MAKE_ENV+= BUILD_TEST=0
Home |
Main Index |
Thread Index |
Old Index