File: rules

package info (click to toggle)
intel-graphics-compiler 1.0.3151-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 45,940 kB
  • sloc: cpp: 502,006; lisp: 170,510; ansic: 31,442; yacc: 1,554; lex: 1,125; python: 884; sh: 179; makefile: 20
file content (28 lines) | stat: -rwxr-xr-x 605 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
24
25
26
27
28
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --builddir build/

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_BUILD_TYPE=Release \
		-DIGC_PREFERRED_LLVM_VERSION=9.0.0 \
		-Wno-dev

override_dh_install:
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_clean:
	dh_clean
	rm -f IGC/GenISAIntrinsics/Intrinsic_definitions.pyc
	rm -rf IGC/GenISAIntrinsics/__pycache__/

gentarball:
	tar --transform 's,^,$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM)/,' \
		--exclude 'debian' --exclude-vcs \
		-cJf ../$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.xz .