[arch-commits] Commit in python-pytorch/trunk (2334.patch PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Dec 6 04:54:48 UTC 2017
Date: Wednesday, December 6, 2017 @ 04:54:46
Author: svenstaro
Revision: 272391
Clean up package
Modified:
python-pytorch/trunk/PKGBUILD
Deleted:
python-pytorch/trunk/2334.patch
------------+
2334.patch | 21 ---------------------
PKGBUILD | 17 ++---------------
2 files changed, 2 insertions(+), 36 deletions(-)
Deleted: 2334.patch
===================================================================
--- 2334.patch 2017-12-06 04:53:43 UTC (rev 272390)
+++ 2334.patch 2017-12-06 04:54:46 UTC (rev 272391)
@@ -1,21 +0,0 @@
-From 5e2b1b975bf758b67a190444a1d4a6f18c997095 Mon Sep 17 00:00:00 2001
-From: Mo Zhou <cdluminate at gmail.com>
-Date: Tue, 8 Aug 2017 09:58:23 +0000
-Subject: [PATCH] THD: add a missing header to fix build failure
-
----
- torch/lib/THD/base/ChannelUtils.hpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/torch/lib/THD/base/ChannelUtils.hpp b/torch/lib/THD/base/ChannelUtils.hpp
-index 563e68297e..e03e8bd132 100644
---- a/torch/lib/THD/base/ChannelUtils.hpp
-+++ b/torch/lib/THD/base/ChannelUtils.hpp
-@@ -5,6 +5,7 @@
- #include <sys/types.h>
- #include <cstdlib>
- #include <cstdint>
-+#include <functional>
- #include <limits>
- #include <string>
- #include <system_error>
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-06 04:53:43 UTC (rev 272390)
+++ PKGBUILD 2017-12-06 04:54:46 UTC (rev 272391)
@@ -16,15 +16,11 @@
source=("${_pkgname}-${pkgver}::git://github.com/pytorch/pytorch.git#tag=v${pkgver}"
"git://github.com/facebookincubator/gloo"
"git://github.com/pybind/pybind11"
- "git://github.com/nanopb/nanopb"
- "nccl.tar.gz::https://github.com/NVIDIA/nccl/archive/29a1a916dc14bb2c00feed3d4820d51fa85be1e6.tar.gz"
- 2334.patch)
+ "git://github.com/nanopb/nanopb")
sha256sums=('SKIP'
'SKIP'
'SKIP'
- 'SKIP'
- '6387030e37d14762f87eefbc86ee527293ec04745c66ccd820cf7fc0fdc23f92'
- '1933b0e73785cc3d24013815c79f36267380239f2cbf0561b7702e0d5af61daf')
+ 'SKIP')
prepare() {
cd "${_pkgname}-${pkgver}"
@@ -35,15 +31,6 @@
git config submodule."torch/lib/nanopb".url ${srcdir}/nanopb
git submodule update
- # sed -i -e '144icp -r nccl gloo/third-party/' torch/lib/build_all.sh
- # sed -i -e '470,475d' setup.py
-
- # Hack to build with new cuda 9
- # rm -r torch/lib/nccl/src
- # cp -r "${srcdir}"/nccl-*/* torch/lib/nccl
-
- # patch -Np1 < ${srcdir}/2334.patch
-
cd ..
cp -a "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-py2"
More information about the arch-commits
mailing list