Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 TARGET_BUILD=build
8 include /usr/share/dpkg/architecture.mk
9 include /usr/share/dpkg/buildflags.mk
10 ADDITIONAL_CXX_FLAGS=""
11
12 ifneq (,$(filter $(DEB_BUILD_ARCH),mips64el))
13 CXXFLAGS += -mxgot
14 endif
15
16 ifneq (,$(filter $(DEB_HOST_ARCH), armel))
17 export DEB_LDFLAGS_MAINT_APPEND = -latomic
18 endif
19
20 %:
21 dh $@ --buildsystem=cmake --builddirectory=$(TARGET_BUILD)
22
23
24 override_dh_auto_configure:
25 dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DLLVM_PATH=/usr/lib/llvm-22/ -DCMAKE_PREFIX_PATH=/usr/lib/llvm-22/ -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE
26
27 execute_after_dh_auto_install:
28 cd debian/iwyu/usr/bin && mv fix_includes.py fix_include # no 's'
29 cd debian/iwyu/usr/bin && mv iwyu_tool.py iwyu_tool
30
31 override_dh_auto_test:
32 # Do not fail the build if a test is failing.
33 # It isn't tested upstream besides i386 & amd64
34 -dh_auto_test
35
36 override_dh_auto_clean:
37 rm -rf $(TARGET_BUILD)