File: rules

package info (click to toggle)
vowpal-wabbit 6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 20,200 kB
  • sloc: cpp: 6,724; perl: 449; makefile: 71; sh: 57
file content (23 lines) | stat: -rwxr-xr-x 691 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh  $@

override_dh_auto_install:
	# do nothing -- make install is using ~/bin

override_dh_auto_build:
	# provide custom FLAGS to build taking into account CFLAGS in the
	# environment, which are set for noopt now in dpkg-buildpackage.
	# See #544844 for more information on C*FLAGS-ignorance of dh
	make FLAGS="-ffast-math -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 $(CFLAGS)" \
		 BOOST_INCLUDE=/usr/include BOOST_LIBRARY=/usr/lib all vw.1

override_dh_auto_test:
	: # I: run tests providing options for verbose output on failures
	cd test && ./RunTests -c -d -f

override_dh_auto_clean:
	dh_auto_clean
	-rm -f test/*.predict test/*.tmp depend