File: rules

package info (click to toggle)
intel-graphics-compiler 1.0.5353.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 50,748 kB
  • sloc: cpp: 554,603; lisp: 173,031; ansic: 30,973; python: 2,784; yacc: 1,639; lex: 1,059; makefile: 22
file content (30 lines) | stat: -rwxr-xr-x 684 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
29
30
#!/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=11.0.0 \
		-DIGC_BUILD__VC_ENABLED=FALSE \
		-Wno-dev

override_dh_install:
	dh_install
	rm -f debian/tmp/usr/lib/*/igc/NOTICES.txt

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 .