diff options
Diffstat (limited to 'libraries/pytorch/pytorch.SlackBuild')
-rw-r--r-- | libraries/pytorch/pytorch.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/pytorch/pytorch.SlackBuild b/libraries/pytorch/pytorch.SlackBuild index 4e39d77ef4..4a75253f3d 100644 --- a/libraries/pytorch/pytorch.SlackBuild +++ b/libraries/pytorch/pytorch.SlackBuild @@ -25,9 +25,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pytorch -VERSION=${VERSION:-2.3.0} +VERSION=${VERSION:-2.3.1} VERSION_SIX=1.11.0 -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,9 +86,9 @@ sed -i c10/CMakeLists.txt \ # Make Vulkan Warnings not to make the build fail sed -i "/Werror=return-type/d" CMakeLists.txt -# When compiled with icecream, building dnnl-mkl outputs errors like "unspellable token PRAGMA_EOL". -# This seems harmless as these get recompiled again locally, but it slows down the building process. -# See https://github.com/icecc/icecream/issues/336 +# Fix compilation with nvidia-cuda-toolkit-12.4.0 +# https://github.com/pytorch/pytorch/issues/122169 +patch -p0 < $CWD/boxing.patch cd build unshare -n cmake \ |