diff -Nru lua-torch-torch7-0~20170926-g89ede3b/debian/changelog lua-torch-torch7-0~20170926-g89ede3b/debian/changelog --- lua-torch-torch7-0~20170926-g89ede3b/debian/changelog 2018-04-21 03:56:49.000000000 +0000 +++ lua-torch-torch7-0~20170926-g89ede3b/debian/changelog 2018-05-10 07:51:55.000000000 +0000 @@ -1,3 +1,14 @@ +lua-torch-torch7 (0~20170926-g89ede3b-4) unstable; urgency=medium + + * README.Debian: Add instructions for MKL user. One needs to rebuild + this package to utilize MKL or the unit tests would fail. + (Closes: #897894) + * Disable Multi-Arch support for all packages. Multi-Arch installation + of packages produced by this source won't bring any advantage. + (Closes: #897339) + + -- Mo Zhou Thu, 10 May 2018 07:51:55 +0000 + lua-torch-torch7 (0~20170926-g89ede3b-3) unstable; urgency=medium * Add watch file to monitor upstream master branch. diff -Nru lua-torch-torch7-0~20170926-g89ede3b/debian/control lua-torch-torch7-0~20170926-g89ede3b/debian/control --- lua-torch-torch7-0~20170926-g89ede3b/debian/control 2018-04-21 03:50:58.000000000 +0000 +++ lua-torch-torch7-0~20170926-g89ede3b/debian/control 2018-05-10 07:44:28.000000000 +0000 @@ -24,7 +24,6 @@ Package: lua-torch-torch7 Architecture: amd64 i386 armel armhf ppc64el kfreebsd-amd64 -Multi-Arch: same # NOTE: users are expected to use luajit. # NOTE: even if upstream supports luajit, 5.1, 5.2 and 5.3 Depends: ${misc:Depends}, ${shlibs:Depends}, luajit | lua5.1 , @@ -41,7 +40,6 @@ Package: lua-torch-torch7-dev Architecture: amd64 i386 armel armhf ppc64el kfreebsd-amd64 Section: libdevel -Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends}, lua-torch-torch7 (= ${binary:Version}) XB-Lua-Versions: ${lua:Versions} @@ -56,7 +54,6 @@ Package: libtorch-th Architecture: amd64 i386 armel armhf ppc64el kfreebsd-amd64 Section: libs -Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends}, libblas3 | libblas.so.3, liblapack3 | liblapack.so.3, @@ -71,7 +68,6 @@ Package: libtorch-th-dev Architecture: amd64 i386 armel armhf ppc64el kfreebsd-amd64 Section: libdevel -Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends}, libtorch-th (= ${binary:Version}) Description: libTH.so of Torch Package for Torch Framework (dev) Torch is the main package in Torch7 where data structures for @@ -84,7 +80,6 @@ Package: libtorch-luat Architecture: amd64 i386 armel armhf ppc64el kfreebsd-amd64 Section: libs -Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends} Description: libluaT.so of Torch Package for Torch Framework Torch is the main package in Torch7 where data structures for @@ -97,7 +92,6 @@ Package: libtorch-luat-dev Architecture: amd64 i386 armel armhf ppc64el kfreebsd-amd64 Section: libdevel -Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends}, libtorch-luat (= ${binary:Version}) Description: libluaT.so of Torch Package for Torch Framework (dev) Torch is the main package in Torch7 where data structures for diff -Nru lua-torch-torch7-0~20170926-g89ede3b/debian/README.Debian lua-torch-torch7-0~20170926-g89ede3b/debian/README.Debian --- lua-torch-torch7-0~20170926-g89ede3b/debian/README.Debian 2017-10-25 11:39:28.000000000 +0000 +++ lua-torch-torch7-0~20170926-g89ede3b/debian/README.Debian 2018-05-10 07:43:02.000000000 +0000 @@ -12,3 +12,9 @@ Quite simple. It should work well if the above command doesn't complain. -- Zhou Mo Mon, 03 Oct 2016 08:57:01 +0000 + +You need to recompile this package if you want to use it with Intel's +MKL library. Please check the instructions in debian/rules. +(See #897894) + + -- Mo Zhou Thu, 10 May 2018 07:19:58 +0000 diff -Nru lua-torch-torch7-0~20170926-g89ede3b/debian/rules lua-torch-torch7-0~20170926-g89ede3b/debian/rules --- lua-torch-torch7-0~20170926-g89ede3b/debian/rules 2018-02-13 02:43:44.000000000 +0000 +++ lua-torch-torch7-0~20170926-g89ede3b/debian/rules 2018-05-10 07:51:40.000000000 +0000 @@ -9,6 +9,11 @@ LUAJIT=/usr/bin/luajit ROOTDIR=$(shell pwd) +# [Maintainer Note] +# According to lib/TH/cmake/FindBLAS.cmake, if you want to use this package +# with MKL, you need to recompile it after changing -DWITH_BLAS=generic to +# -DWITH_BLAS=mkl . (See #897894) + TORCH_FLAGS_5_1= \ -DLUA=/usr/bin/lua5.1 \ -DLUA_INCDIR=/usr/include/lua5.1 \