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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Sep 7 06:25:15 UTC 2020


    Date: Monday, September 7, 2020 @ 06:25:15
  Author: svenstaro
Revision: 699392

upgpkg: python-pytorch 1.6.0-4: Use system protobuf

Modified:
  python-pytorch/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-07 03:50:06 UTC (rev 699391)
+++ PKGBUILD	2020-09-07 06:25:15 UTC (rev 699392)
@@ -6,7 +6,7 @@
 _pkgname="pytorch"
 pkgver=1.6.0
 _pkgver=1.6.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU acceleration"
 arch=('x86_64')
 url="https://pytorch.org"
@@ -63,7 +63,7 @@
 
   # Check tools/setup_helpers/cmake.py, setup.py and CMakeLists.txt for a list of flags that can be set via env vars.
   export USE_MKLDNN=ON
-  # export BUILD_CUSTOM_PROTOBUF=OFF
+  export BUILD_CUSTOM_PROTOBUF=OFF
   # export BUILD_SHARED_LIBS=OFF
   export USE_FFMPEG=ON
   export USE_GFLAGS=ON
@@ -71,6 +71,7 @@
   export BUILD_BINARY=ON
   export USE_OPENCV=ON
   export USE_SYSTEM_NCCL=ON
+  # export USE_SYSTEM_LIBS=ON
   export NCCL_VERSION=$(pkg-config nccl --modversion)
   export NCCL_VER_CODE=$(sed -n 's/^#define NCCL_VERSION_CODE\s*\(.*\).*/\1/p' /usr/include/nccl.h)
   export CUDAHOSTCXX=g++-9



More information about the arch-commits mailing list