[lua-torch-torch7] 07/07: rules: grooming
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Sat May 20 10:07:57 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-torch7.
commit 262f0596b44eb200179e49ab59b03971ae21795c
Author: Zhou Mo <cdluminate at gmail.com>
Date: Sat May 20 10:06:48 2017 +0000
rules: grooming
---
debian/changelog | 1 +
debian/rules | 16 +++-------------
2 files changed, 4 insertions(+), 13 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 79ba634..dc43eb7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ lua-torch-torch7 (0~20170511-gae1a805-1) UNRELEASED; urgency=medium
Now upstream is confident about the dispatcher which will select
the best function according to runtime cpu capability detection.
So these Debian specific patches are not needed anymore.
+ * Rules: reduce compiler warning output and do grooming.
-- Zhou Mo <cdluminate at gmail.com> Sat, 20 May 2017 09:10:10 +0000
diff --git a/debian/rules b/debian/rules
index 11e8397..f1d965f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_BUILD_OPTIONS = nocheck
-export DEB_CFLAGS_MAINT_APPEND = -Wall #-pedantic
+export DEB_CFLAGS_MAINT_APPEND =
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
DEB_HOST_MULTIARCH=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
@@ -26,18 +26,8 @@ TORCH_FLAGS_5_1= \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_BLAS=generic
-ifeq (amd64,$(DEB_HOST_ARCH))
-ISA_FLAGS= -DDEBIAN_AMD64=ON
-endif
-ifeq (i386,$(DEB_HOST_ARCH))
-ISA_FLAGS= -DDEBIAN_I386=ON
-endif
-ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),arm64 armel armhf))
-ISA_FLAGS= -DDEBIAN_ARM=ON
-endif
-
%:
- dh $@ --buildsystem=lua --with lua --parallel
+ dh $@ --buildsystem=lua --with=lua
override_dh_auto_configure:
ln -s . torch
@@ -98,7 +88,7 @@ override_dh_shlibdeps:
dh_shlibdeps -Llibtorch-th -Llibtorch-luat
override_dh_auto_clean:
- -$(RM) -rf TH.build/ luaT.build/ torch
+ -$(RM) -rf TH.build/ luaT.build/ torch .pc/
-$(RM) -rf 5.1-torch-torch7/ 5.2-torch-torch7/
-$(RM) libtorch.c random.c TensorMath.c torch.h
-$(RM) -rf deb.test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lua-torch-torch7.git
More information about the debian-science-commits
mailing list