Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 #export DH_VERBOSE = 1
3
4 # See FEATURE AREAS in dpkg-buildflags(1).
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6
7 # See ENVIRONMENT in dpkg-buildflags(1).
8 # Package maintainers to append CFLAGS.
9 export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
10 # Package maintainers to append LDFLAGS.
11 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
12
13 # workaround g++ running out of address space
14 ifeq ($(DEB_HOST_ARCH_BITS), 32)
15 export DEB_CXXFLAGS_MAINT_APPEND = -g1
16 endif
17
18 # build time reduction
19 ifneq (,$(filter $(DEB_HOST_ARCH), riscv64))
20 export DEB_CXXFLAGS_MAINT_APPEND += -g1
21 endif
22
23 %:
24 dh $@ --buildsystem=cmake
25
26 override_dh_auto_configure:
27 dh_auto_configure -- \
28 -DBUILD_SHARED_LIBS=ON \
29 -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE \
30 -DCMAKE_SKIP_RPATH=ON
31 # -DPYTHON_PACKAGE=ON \