Date: Tuesday, May 31, 2022 @ 09:49:51
  Author: yan12125
Revision: 1217829

upgpkg: python-pytorch 1.11.0-8; cuda 11.7 rebuild

Modified:
  python-pytorch/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-05-31 08:43:39 UTC (rev 1217828)
+++ PKGBUILD    2022-05-31 09:49:51 UTC (rev 1217829)
@@ -6,7 +6,7 @@
 pkgname=("${pkgbase}" "${pkgbase}-cuda")
 pkgver=1.11.0
 _pkgver=1.11.0
-pkgrel=7
+pkgrel=8
 _pkgdesc='Tensors and Dynamic neural networks in Python with strong GPU 
acceleration'
 pkgdesc="${_pkgdesc}"
 arch=('x86_64')
@@ -16,7 +16,7 @@
          'python-numpy' 'protobuf' 'ffmpeg4.4' 'python-future' 'qt5-base' 
'onednn' 'intel-mkl'
          'python-typing_extensions')
 makedepends=('python' 'python-setuptools' 'python-yaml' 'python-numpy' 'cmake' 
'cuda'
-             'cudnn' 'git' 'magma' 'ninja' 'pkgconfig' 'doxygen')
+             'cudnn' 'git' 'magma' 'ninja' 'pkgconfig' 'doxygen' 'gcc11')
 
source=("${_pkgname}-${pkgver}::git+https://github.com/pytorch/pytorch.git#tag=v$_pkgver";
         # generated using parse-submodules
         # "${pkgname}::https://github.com/pytorch/pytorch#commit=7cc129e60c";
@@ -214,7 +214,9 @@
   # export BUILD_SPLIT_CUDA=ON  # modern preferred build, but splits libs and 
symbols, ABI break
   # export USE_FAST_NVCC=ON  # parallel build with nvcc, spawns too many 
processes
   export USE_CUPTI_SO=ON  # make sure cupti.so is used as shared lib
-  export CUDAHOSTCXX=/usr/bin/g++
+  export CC=/usr/bin/gcc-11
+  export CXX=/usr/bin/g++-11
+  export CUDAHOSTCXX=/usr/bin/g++-11
   export CUDA_HOST_COMPILER="${CUDAHOSTCXX}"
   export CUDA_HOME=/opt/cuda
   # hide buildt-time CUDA devices

Reply via email to