[arch-commits] Commit in python-pytorch/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Jun 23 23:28:27 UTC 2019


    Date: Sunday, June 23, 2019 @ 23:28:26
  Author: svenstaro
Revision: 483355

upgpkg: python-pytorch 1.1.0-6

Build using gcc8

Modified:
  python-pytorch/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-23 23:19:55 UTC (rev 483354)
+++ PKGBUILD	2019-06-23 23:28:26 UTC (rev 483355)
@@ -5,7 +5,7 @@
 pkgname=("python-pytorch" "python-pytorch-opt" "python-pytorch-cuda" "python-pytorch-opt-cuda")
 _pkgname="pytorch"
 pkgver=1.1.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU acceleration"
 arch=('x86_64')
 url="https://pytorch.org"
@@ -35,8 +35,8 @@
   cp -a "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-cuda"
   cp -a "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-opt-cuda"
 
-  export CC=gcc
-  export CXX=g++
+  export CC=gcc-8
+  export CXX=g++-8
   export VERBOSE=1
   export PYTORCH_BUILD_VERSION="${pkgver}"
   export PYTORCH_BUILD_NUMBER=1
@@ -51,7 +51,7 @@
   export BUILD_BINARY=ON
   export USE_OPENCV=ON
   export USE_SYSTEM_NCCL=ON
-  export CUDAHOSTCXX=g++
+  export CUDAHOSTCXX=g++-8
   export CUDA_HOME=/opt/cuda
   export CUDNN_LIB_DIR=/usr/lib
   export CUDNN_INCLUDE_DIR=/usr/include



More information about the arch-commits mailing list