[lua-torch-nn] 01/02: control: only build on archs supported by upstream

Zhou Mo cdluminate-guest at moszumanska.debian.org
Mon May 22 03:52:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

cdluminate-guest pushed a commit to branch master
in repository lua-torch-nn.

commit 9266a0c851706bc769ff8d596d466c4fd4f01f87
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Mon May 22 03:46:47 2017 +0000

    control: only build on archs supported by upstream
---
 debian/changelog | 2 ++
 debian/control   | 8 ++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fbca58a..17808a7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 lua-torch-nn (0~20170521-g84b4350+dfsg-1) UNRELEASED; urgency=medium
 
   * Import upstream snapshot.
+  * Only build on architectures supported by upstream.
+    Supported: amd64 arm64 armel armhf ppc64el kfreebsd-amd64
 
  -- Zhou Mo <cdluminate at gmail.com>  Mon, 22 May 2017 03:41:02 +0000
 
diff --git a/debian/control b/debian/control
index 9377f6f..26687d1 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,10 @@ Homepage: https://github.com/torch/nn
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/lua-torch-nn.git
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/lua-torch-nn.git
 
+# Architecture Note:
+# https://github.com/torch/torch7/issues/762#issuecomment-271497176
+# supported: amd64 arm64 armel armhf ppc64el kfreebsd-amd64
+
 Package: lua-torch-nn
 Architecture: all
 Depends: libtorch-thnn-dev (>= ${source:Version}),
@@ -58,7 +62,7 @@ Description: Neural Network Package for Torch Framework
  This package is a core part of the Torch Framework.
 
 Package: libtorch-thnn
-Architecture: any
+Architecture: amd64 arm64 armel armhf ppc64el kfreebsd-amd64
 Section: libs
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -69,7 +73,7 @@ Description: libTHNN.so of Neural Network Package for Torch Framework
  This package contains libTHNN.so , backend library for lua-torch-nn.
 
 Package: libtorch-thnn-dev
-Architecture: any
+Architecture: amd64 arm64 armel armhf ppc64el kfreebsd-amd64
 Section: libdevel
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}, libtorch-thnn (= ${binary:Version})

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lua-torch-nn.git



More information about the debian-science-commits mailing list