File: rules

package info (click to toggle)
tasmanian 8.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,852 kB
  • sloc: cpp: 34,523; python: 7,039; f90: 5,080; makefile: 224; sh: 64; ansic: 8
file content (21 lines) | stat: -rwxr-xr-x 743 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_SKIP_INSTALL_RPATH=TRUE \
		-DTasmanian_ENABLE_BLAS=ON \
		-DBLA_VENDOR=Generic -DBLA_PREFER_PKGCONFIG=TRUE \
		-DTasmanian_ENABLE_OPENMP=ON \
		-DTasmanian_TESTS_OMP_NUM_THREADS=4 \
		-DTasmanian_MATLAB_WORK_FOLDER=/tmp \
		-DTasmanian_ENABLE_FORTRAN=ON \
		-DTasmanian_ENABLE_PYTHON=ON

execute_before_dh_install-arch:
	# Do not leave a .mod in /usr/include (it is arch- and compiler-dependent)
	# dh_fortran_mod will put it in the right place (see libtasmanian-dev.fortran-mod)
	# This rule is made arch-dependent because otherwise arch:all builds fail at dh_missing (see #1095755)
	mv debian/tmp/usr/include/*.mod debian/tmp/