[arch-commits] Commit in python-pytorch/trunk (PKGBUILD fix_include_system.patch)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Dec 5 09:12:47 UTC 2020
Date: Saturday, December 5, 2020 @ 09:12:47
Author: svenstaro
Revision: 770491
Prepare to fix my version fuckup
Modified:
python-pytorch/trunk/PKGBUILD
python-pytorch/trunk/fix_include_system.patch
--------------------------+
PKGBUILD | 6 +++---
fix_include_system.patch | 20 +++++++++++---------
2 files changed, 14 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-05 04:18:15 UTC (rev 770490)
+++ PKGBUILD 2020-12-05 09:12:47 UTC (rev 770491)
@@ -4,8 +4,8 @@
pkgbase=python-pytorch
pkgname=("python-pytorch" "python-pytorch-opt" "python-pytorch-cuda" "python-pytorch-opt-cuda")
_pkgname="pytorch"
-pkgver=1.7.0rc2
-_pkgver=1.7.0-rc2
+pkgver=1.7.1rc2
+_pkgver=1.7.1-rc2
pkgrel=1
pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU acceleration"
arch=('x86_64')
@@ -22,7 +22,7 @@
nccl_version.patch
disable_non_x86_64.patch)
sha256sums=('SKIP'
- '147bdaeac8ec46ea46382e6146878bd8f8d51e05d5bd6f930dfd8e2b520859b9'
+ '83c81ec6a461110da6ae6182529f58100986b068c5182ca62cd53c648b4e4fb0'
'26b1dd596f1e21a011ee18cab939924483d6c6d4d98e543bf76f5a9312d54d67'
'7b65c3b209fc39f92ba58a58be6d3da40799f1922910b1171ccd9209eda1f9eb'
'e4a96887b41cbdfd4204ce5f16fcb16a23558d23126331794ab6aa30a66f2e0d'
Modified: fix_include_system.patch
===================================================================
--- fix_include_system.patch 2020-12-05 04:18:15 UTC (rev 770490)
+++ fix_include_system.patch 2020-12-05 09:12:47 UTC (rev 770491)
@@ -1,11 +1,13 @@
---- a/utils/cpp_extension.py 2019-12-29 12:59:36.083692770 -0300
-+++ b/utils/cpp_extension.py 2020-01-08 09:52:16.435316701 -0300
-@@ -1098,7 +1098,7 @@
- if BUILD_NAMEDTENSOR:
- common_cflags.append('-DBUILD_NAMEDTENSOR')
- common_cflags += ['-I{}'.format(include) for include in user_includes]
-- common_cflags += ['-isystem {}'.format(include) for include in system_includes]
-+ common_cflags += ['-I{}'.format(include) for include in system_includes]
+diff --git a/torch/utils/cpp_extension.py b/torch/utils/cpp_extension.py
+index 7692cad5cd..d6e4a82221 100644
+--- a/torch/utils/cpp_extension.py
++++ b/torch/utils/cpp_extension.py
+@@ -1614,7 +1614,7 @@ def _write_ninja_file_to_build_library(path,
+ common_cflags.append(f'-DPYBIND11_{pname}=\\"{pval}\\"')
+ common_cflags += [f'-I{include}' for include in user_includes]
+- common_cflags += [f'-isystem {include}' for include in system_includes]
++ common_cflags += [f'-I{include}' for include in system_includes]
common_cflags += ['-D_GLIBCXX_USE_CXX11_ABI=' + str(int(torch._C._GLIBCXX_USE_CXX11_ABI))]
-
+
+ if IS_WINDOWS:
More information about the arch-commits
mailing list