File: rules

package info (click to toggle)
python-pycudwt 1.0.2-5
  • links: PTS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 504 kB
  • sloc: cpp: 6,173; python: 798; sh: 9; makefile: 5
file content (9 lines) | stat: -rwxr-xr-x 306 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/usr/bin/make -f

export PYBUILD_NAME=pycudwt

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:
	nvidia-detect | grep -q "No NVIDIA GPU detected." || for py in $$(py3versions -s) ; do PYTHONPATH=$$(pybuild --build -i python3 -s custom --build-args 'echo {build_dir}') $$py test/test_all.py ; done