Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/architecture.mk
4 include /usr/share/mpi-default-dev/debian_defaults
5
6 OS_IDscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/OS_ID. := $(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. grep -E "^ID" /etc/os-release | sed "s/^ID=//")
7
8 DEB_SOURCE_PACKAGEscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_SOURCE_PACKAGE. := $(stripscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/strip. $(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. egrep '^Source: ' debian/control | cut -f 2 -d ':'))
9 # Get DEBIAN_VERSION via /usr/share/dpkg/default.mk
10 include /usr/share/dpkg/default.mk
11 DEB_NOEPOCH_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_NOEPOCH_VERSION. := $(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $(DEB_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_VERSION.) | cut -d: -f2-)
12 DEB_UPSTREAM_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_UPSTREAM_VERSION. := $(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $(DEB_NOEPOCH_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_NOEPOCH_VERSION.) | sed 's/-[^-]*$$//')
13 DEB_STRIPPED_UPSTREAM_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_STRIPPED_UPSTREAM_VERSION. = $(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $(DEB_UPSTREAM_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_UPSTREAM_VERSION.) | sed -e 's/\+dfsg.*$$//p')
14
15 DEBIAN_VERSION_IDscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEBIAN_VERSION_ID. := $(OS_IDscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/OS_ID.)_$(DEB_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_VERSION.)
16
17 FENICS_RELEASE_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_RELEASE_VERSION.=$(DEB_STRIPPED_UPSTREAM_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_STRIPPED_UPSTREAM_VERSION.)
18 FENICS_MAJOR_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_MAJOR_VERSION.=$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $(FENICS_RELEASE_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_RELEASE_VERSION.) | sed "s/^\([^.]*\)\..*$$/\1/")
19 FENICS_MINOR_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_MINOR_VERSION.=$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $(FENICS_RELEASE_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_RELEASE_VERSION.) | sed "s/^\([^.]*\)\.\([^.]*\)\..*$$/\2/")
20 FENICS_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_VERSION.=$(FENICS_MAJOR_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_MAJOR_VERSION.).$(FENICS_MINOR_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_MINOR_VERSION.)
21 FENICS_NEXT_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_NEXT_VERSION.=$(FENICS_MAJOR_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_MAJOR_VERSION.).$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $$(( $(FENICS_MINOR_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_MINOR_VERSION.) + 1 )) )
22
23 # dolfin depends on the pybind11 version it was built against,
24 # if pybind11.h will be used in C++ code fragments in python scripts.
25 # But pybind11 follows semantic versioning, so should have backwards compatibility
26 # with minor and patch version updates.
27 # Extract pybind11 version from pybind11-dev
28 PYBIND11_DEB_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYBIND11_DEB_VERSION.=$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. dpkg -s pybind11-dev | awk '/Version:/ {print $$2}')
29 # extract the current pybind11 version X.Y.Z (drop epoch and debian package version)
30 PYBIND11_UPSTREAM_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYBIND11_UPSTREAM_VERSION.=$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $(PYBIND11_DEB_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYBIND11_DEB_VERSION.) | sed "s/^.[^:]*://; s/-[^-]*$$//")
31 PYBIND11_X_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYBIND11_X_VERSION.=$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $(PYBIND11_UPSTREAM_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYBIND11_UPSTREAM_VERSION.) | sed "s/^\([^.]*\).*/\1/")
32 PYBIND11_X_Y_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYBIND11_X_Y_VERSION.=$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $(PYBIND11_UPSTREAM_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYBIND11_UPSTREAM_VERSION.) | sed "s/^\(.*\)\.\([^.]*\)$$/\1/")
33 PYBIND11_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYBIND11_VERSION.=$(PYBIND11_X_Y_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYBIND11_X_Y_VERSION.)
34 PYBIND11_NEXT_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYBIND11_NEXT_VERSION.=$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $$(( $(PYBIND11_X_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYBIND11_X_VERSION.) + 1 )) )
35
36 # Allow test programs that use OpenMPI to run
37 export PRTE_MCA_plm_ssh_agentscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PRTE_MCA_plm_ssh_agent.=/bin/false
38 export PRTE_MCA_rmaps_default_mapping_policyscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PRTE_MCA_rmaps_default_mapping_policy.=:oversubscribescip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/oversubscribe().
39 export OMPI_MCA_btl_base_warn_component_unusedscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/OMPI_MCA_btl_base_warn_component_unused.=0
40
41 include /usr/share/mpi-default-dev/debian_defaults
42 ENABLE_MPIscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ENABLE_MPI.=ON
43 ifeq ($(findstringscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/findstring. $(DEB_BUILD_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_BUILD_ARCH.),$(OPENMPI_ARCHITECTURESscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/OPENMPI_ARCHITECTURES.)),)
44 MPIEXEC_PARAMSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/MPIEXEC_PARAMS.=
45 else
46 MPIEXEC_PARAMSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/MPIEXEC_PARAMS.=--oversubscribe
47 endif
48
49 DOLFIN_HOMEscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DOLFIN_HOME. = $(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/$(DEB_SRCDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_SRCDIR.)
50 USCAN_DESTDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/USCAN_DESTDIR. := $(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)
51 PY3VERSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PY3VERS. := $(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. py3versions --requested debian/control | tac -s' ')
52 PYVERSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYVERS. = $(PY3VERSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PY3VERS.)
53
54 BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR. = obj-$(DEB_HOST_GNU_TYPEscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_GNU_TYPE.)
55 BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR_64. = obj-$(DEB_HOST_GNU_TYPEscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_GNU_TYPE.)-64
56 TESTDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/TESTDIR. = build-tests
57 TESTDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/TESTDIR_64. = build-tests-64
58
59 NPROCscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/NPROC. := $(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. nproc)
60 PARALLELscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PARALLEL. = $(substscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/subst. parallel=,,$(filterscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/filter. parallel=%,$(DEB_BUILD_OPTIONSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_BUILD_OPTIONS.)))
61 N_CPUscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_CPU. = $(orscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/or. $(PARALLELscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PARALLEL.),$(NPROCscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/NPROC.),1)
62 # MPI tests are set up to run on 3 processes. Spread them leanly over the available processors (don't have more than 2 tests using one processor).
63 # e.g. run 1 MPI test at a time over 1-3 processors, or 2 tests at a time over 4-6 processors, or 3 tests over 7-9 processors, etc.
64 N_MPIscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_MPI. := 3
65 N_MPI_TESTSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_MPI_TESTS. = $(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $$(( ($(N_CPUscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_CPU.)+$(N_MPIscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_MPI.)-1)/$(N_MPIscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_MPI.) )) )
66
67 # some tests run slow (> 1000 sec) on all arches
68 ARCH_ALL_SKIP_SERIAL_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_ALL_SKIP_SERIAL_TEST. = demo_hyperelasticity_serial demo_cahn-hilliard_serial
69
70 # hyperelasticity fails (diverges) on all arches (pivot factors too large, not enough memory assigned)
71 # elastodynamics passes with dpkg-buildpackage but fails with pdebuild (on amd64). Unreliable, so skip.
72 ARCH_ALL_SKIP_MPI_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_ALL_SKIP_MPI_TEST. = demo_hyperelasticity_mpi demo_elastodynamics_mpi demo_mixed-poisson_mpi
73
74 # Some arches fail the same MPI tests
75 # e.g. cahn-hilliard, navier-stokes, elasticity, fails or exceeds allowed time
76 # So skip these tests on the failing arches
77 ARCH_SKIP_MPI_TEST_LISTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_MPI_TEST_LIST. = i386 mipsel ppc64el ia64
78 ARCH_SKIP_MPI_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_MPI_TEST. = demo_cahn-hilliard_mpi demo_navier-stokes_mpi demo_elasticity_mpi
79
80 # skip more MPI tests for some specific arches
81 ifeq (arm64, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
82 ARCH_SPECIFIC_SKIP_MPI_TEST = demo_navier-stokes_mpi
83 else ifeq (mips, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
84 ARCH_SPECIFIC_SKIP_MPI_TEST = demo_cahn-hilliard_mpi demo_stokes-iterative_mpi demo_ale_mpi demo_poisson-disc_mpi
85 else ifeq (mipsel, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
86 ARCH_SPECIFIC_SKIP_MPI_TEST = demo_stokes-iterative_mpi demo_ale_mpi demo_poisson-disc_mpi
87 else ifeq (ppc64el, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
88 ARCH_SPECIFIC_SKIP_MPI_TEST = demo_poisson_mpi demo_singular-poisson_mpi demo_sym-dirichlet-bc_mpi
89 else ifeq (ia64, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
90 ARCH_SPECIFIC_SKIP_MPI_TEST = demo_bcs_mpi demo_biharmonic_mpi demo_built-in-meshes_mpi demo_eigenvalue_mpi
91 else ifeq (sparc64, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
92 ARCH_SPECIFIC_SKIP_MPI_TEST = demo_contact-vi-snes_mpi
93 else
94 ARCH_SPECIFIC_SKIP_MPI_TEST =
95 endif
96
97 # ppc64el,m68k,mips,hppa,sparc64 need some help to pass serial tests
98 ifeq (m68k, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
99 ARCH_SPECIFIC_SKIP_SERIAL_TEST = demo_auto-adaptive-poisson_serial demo_elasticity_serial
100 else ifeq (mips, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
101 ARCH_SPECIFIC_SKIP_SERIAL_TEST = demo_cahn-hilliard_serial demo_hyperelasticity_serial
102 else ifeq (mipsel, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
103 ARCH_SPECIFIC_SKIP_SERIAL_TEST = demo_elastodynamics_serial demo_sym-dirichlet-bc_serial
104 else ifeq (ppc64el, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
105 ARCH_SPECIFIC_SKIP_SERIAL_TEST = demo_waveguide_serial demo_elasticity_serial demo_singular-poisson_serial
106 else ifeq (hppa, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
107 ARCH_SPECIFIC_SKIP_SERIAL_TEST = demo_mixed-poisson_serial demo_stokes-taylor-hood_serial demo_auto-adaptive-navier-stokes_serial demo_contact-vi-snes_serial demo_multimesh-stokes_serial
108 else ifeq (sparc64, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
109 ARCH_SPECIFIC_SKIP_SERIAL_TEST = demo_contact-vi-snes_serial
110 else
111 ARCH_SPECIFIC_SKIP_SERIAL_TEST =
112 endif
113
114
115 # skip slow tests (> 500-1000 sec to complete)
116 ifeq (armel, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
117 ARCH_SKIP_SLOW_TEST = demo_stokes-iterative_serial demo_auto-adaptive-navier-stokes_serial demo_elastodynamics_serial demo_sym-dirichlet-bc_serial demo_hyperelasticity_serial demo_cahn-hilliard_serial
118 else ifeq (armhf, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
119 ARCH_SKIP_SLOW_TEST = demo_elastodynamics_serial demo_sym-dirichlet-bc_serial demo_hyperelasticity_serial
120 else ifeq (mips, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
121 ARCH_SKIP_SLOW_TEST = demo_eigenvalue_serial demo_navier-stokes_serial demo_auto-adaptive-poisson_serial demo_stokes-taylor-hood_serial demo_auto-adaptive-navier-stokes_serial demo_curl-curl_serial demo_elasticity_serial demo_stokes-iterative_serial demo_eval_serial demo_sym-dirichlet-bc_serial demo_elastodynamics_serial demo_eigenvalue_mpi demo_navier-stokes_mpi demo_curl-curl_mpi demo_elasticity_mpi demo_elastodynamics_mpi demo_sym-dirichlet-bc_mpi
122 else ifeq (mipsel, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
123 ARCH_SKIP_SLOW_TEST = demo_cahn-hilliard_serial demo_hyperelasticity_serial
124 else ifeq (alpha, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
125 ARCH_SKIP_SLOW_TEST = demo_elastodynamics_serial demo_sym-dirichlet-bc_serial demo_hyperelasticity_serial
126 else ifeq (hppa, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
127 ARCH_SKIP_SLOW_TEST = demo_cahn-hilliard_serial demo_hyperelasticity_serial
128 else ifeq (m68k, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
129 ARCH_SKIP_SLOW_TEST = demo_cahn-hilliard_serial demo_hyperelasticity_serial
130 else ifeq (riscv64, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
131 ARCH_SKIP_SLOW_TEST = demo_elastodynamics_serial demo_sym-dirichlet-bc_serial demo_cahn-hilliard_serial demo_hyperelasticity_serial demo_cahn-hilliard_mpi demo_elastodynamics_mpi
132 else ifeq (sparc64, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
133 ARCH_SKIP_SLOW_TEST = demo_cahn-hilliard_serial demo_hyperelasticity_serial demo_stokes-iterative_serial demo_cahn-hilliard_mpi demo_elastodynamics_mpi
134 else
135 ARCH_SKIP_SLOW_TEST =
136 endif
137
138 emptyscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/empty. :=
139 spacescip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/space. := $(emptyscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/empty.)$(emptyscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/empty.)
140
141 ARCH32_LISTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH32_LIST. = armel armhf i386 mipsel powerpc x32
142
143 ARCH_SPECIFIC_SKIP_SERIAL_TEST_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SPECIFIC_SKIP_SERIAL_TEST_64. = $(ARCH_SPECIFIC_SKIP_SERIAL_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SPECIFIC_SKIP_SERIAL_TEST.) demo_stokes-iterative_serial demo_curl-curl_serial
144 ARCH_SPECIFIC_SKIP_MPI_TEST_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SPECIFIC_SKIP_MPI_TEST_64. = $(ARCH_SPECIFIC_SKIP_MPI_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SPECIFIC_SKIP_MPI_TEST.)
145
146 ifneq (,$(findstringscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/findstring. $(spacescip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/space.)$(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.)$(spacescip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/space.), $(spacescip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/space.)$(ARCH32_LISTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH32_LIST.)$(spacescip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/space.)))
147 # these 4 tests fail in 64-bit build tests on 32-bit arches
148 ARCH_SPECIFIC_SKIP_SERIAL_TEST_64 += demo_mixed-poisson_serial demo_stokes-taylor-hood_serial demo_auto-adaptive-navier-stokes_serial demo_multimesh-stokes_serial
149 endif
150 ifeq (armel, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
151 ARCH_SPECIFIC_SKIP_SERIAL_TEST_64 += demo_contact-vi-snes_serial
152 else ifeq (armhf, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
153 ARCH_SPECIFIC_SKIP_SERIAL_TEST_64 += demo_contact-vi-snes_serial
154 else ifeq (mipsel, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
155 ARCH_SPECIFIC_SKIP_SERIAL_TEST_64 += demo_contact-vi-snes_serial demo_sym-dirichlet-bc_serial
156 else ifeq (hurd-amd64, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
157 ARCH_SPECIFIC_SKIP_MPI_TEST_64 += demo_bcs_mpi demo_biharmonic_mpi demo_cahn-hilliard_mpi demo_neumann-poisson_mpi demo_nonlinear-poisson_mpi \
158 demo_periodic_mpi demo_poisson_mpi demo_stokes-iterative_mpi demo_stokes-taylor-hood_mpi demo_advection-diffusion_mpi
159 endif
160
161 # other arches fail or time out on too many tests, so skip all their MPI tests
162 ARCH_SKIP_ALL_MPI_TESTS_LISTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_ALL_MPI_TESTS_LIST.=armel armhf i386 hppa m68k powerpc
163
164 # some arches just aren't keeping up at all, and fail non-MPI tests
165 ARCH_SKIP_ALL_TESTS_LISTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_ALL_TESTS_LIST. = mips64el hurd-i386 m68k sh4
166
167 # extract PETSc version from petsc-dev
168 PETSC_DEB_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_DEB_VERSION.=$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. dpkg -s petsc-dev | awk '/Version:/ {print $2}')
169 # extract the current PETSc version
170 PETSC_UPSTREAM_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_UPSTREAM_VERSION.=$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. pkg-config --modversion PETSc)
171 # "Major" version is the first number in the upstream version (major.minor.release)
172 PETSC_MAJOR_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_MAJOR_VERSION.=$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $(PETSC_UPSTREAM_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_UPSTREAM_VERSION.) | sed "s/^\([^.]*\)\..*$$/\1/")
173 # "Minor" version is the second number in the upstream version (major.minor.release)
174 PETSC_MINOR_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_MINOR_VERSION.=$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $(PETSC_UPSTREAM_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_UPSTREAM_VERSION.) | sed "s/^\([^.]*\)\.\([^.]*\)\..*$$/\2/")
175 PETSC_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_VERSION.=$(PETSC_MAJOR_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_MAJOR_VERSION.).$(PETSC_MINOR_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_MINOR_VERSION.)
176 PETSC_VERSION_NEXTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_VERSION_NEXT.=$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. echo $(PETSC_MAJOR_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_MAJOR_VERSION.).$$(($(PETSC_MINOR_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_MINOR_VERSION.)+1)))
177
178 SLEPC_UPSTREAM_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_UPSTREAM_VERSION.=$(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. pkg-config --modversion SLEPc)
179 # SLEPc version must match PETSc
180 SLEPC_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_VERSION.=$(PETSC_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_VERSION.)
181 SLEPC_VERSION_NEXTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_VERSION_NEXT.=$(PETSC_VERSION_NEXTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_VERSION_NEXT.)
182
183 PETSC_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_DIR.=/usr/lib/petscdir/petsc$(PETSC_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_VERSION.)/$(DEB_HOST_MULTIARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_MULTIARCH.)-real
184 SLEPC_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_DIR.=/usr/lib/slepcdir/slepc$(SLEPC_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_VERSION.)/$(DEB_HOST_MULTIARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_MULTIARCH.)-real
185
186 PETSC64_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC64_DIR.=/usr/lib/petscdir/petsc64-$(PETSC_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_VERSION.)/$(DEB_HOST_MULTIARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_MULTIARCH.)-real
187 SLEPC64_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC64_DIR.=/usr/lib/slepcdir/slepc64-$(SLEPC_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_VERSION.)/$(DEB_HOST_MULTIARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_MULTIARCH.)-real
188
189
190 DEB_CXXFLAGSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_CXXFLAGS. := $(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. dpkg-buildflags --get CXXFLAGS) $(shellscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/shell. dpkg-buildflags --get CPPFLAGS)
191
192 ifeq (mips64el, $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.))
193 DEB_CXXFLAGS += -flto-partition=none
194 endif
195
196 CMAKE_OPTSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CMAKE_OPTS. := \
197 -D CMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
198 -D BUILD_SHARED_LIBS:BOOL=ON \
199 -D CMAKE_SKIP_RPATH:BOOL=ON \
200 -D CMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=OFF \
201 -D DOLFIN_ENABLE_TRILINOS:BOOL=OFF \
202 -D DOLFIN_ENABLE_HDF5:BOOL=ON \
203 -D HDF5_NO_FIND_PACKAGE_CONFIG_FILE:BOOL=ON \
204 -D HDF5_ROOT=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/$(ARCH_DEFAULT_MPI_IMPL) \
205 -D DOLFIN_ENABLE_PARMETIS:BOOL=OFF \
206 -D DOLFIN_ENABLE_SCOTCH:BOOL=ON \
207 -D DOLFIN_ENABLE_DOCS:BOOL=OFF \
208 -D DOLFIN_ENABLE_MPI:BOOL=$(ENABLE_MPI) \
209 -D MPIEXEC_PARAMS:STRING="$(MPIEXEC_PARAMS)" \
210 -D CMAKE_CXX_FLAGS:STRING="-fpermissive" \
211 -D DOLFIN_EXTRA_CXX_FLAGS:STRING="$(DEB_CXXFLAGS)" \
212 -D DEBIAN_VERSION_ID=$(DEBIAN_VERSION_ID) \
213 $(DOLFIN_HOME)
214
215 # make a separate copy of the build directory while testing, or else local flags (-I$(DOLFIN_HOME)) get written into dolfin.pc
216 INSTALLATION_BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/INSTALLATION_BUILDDIR. = installation-build
217 INSTALLATION_BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/INSTALLATION_BUILDDIR_64. = installation-build-64
218
219 %scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/`%`().:
220 dh $@ --buildsystem=cmake --with python3,sphinxdoc
221
222 override_dh_compressscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/override_dh_compress().:
223 dh_compressscip-debian debian debhelper . dh_compress(). -X.py -X.cpp -X.h -X.pdf -X.ufl
224
225 execute_after_dh_cleanscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/execute_after_dh_clean().:
226 rm -f bench/fem/convergence/cpp/Poisson*.cpp
227 rm -rf doc/html doc/latex
228 rm -rf python/build*
229 rm -rf python/doc/build
230 rm -rf python/doc/source/_autogenerated
231 rm -rf python/doc/source/demos python/doc/source/__pycache__
232 rm -rf python/fenics_dolfin.egg-info
233 rm -rf utils/pylit/__pycache__
234 find bench -wholename */cpp/CMakeLists.txt -delete
235 find bench -wholename */cpp/*.h -not -name forms.h -delete
236 find demo -name CMakeLists.txt -not -wholename demo/CMakeLists.txt -delete
237 find demo -name *.h -delete
238 find test/unit/cpp -name *.h -delete
239 find python/demo/documented -name *.py -not -name *stokes-mini* -not -name *navier-stokes* -not -name *stokes-taylor-hood* \
240 -not -path *tensor-weighted* -not -name *demo_periodic* -not -name *demo_subdomains* -delete
241 for f in auto-adaptive-poisson/cpp/AdaptivePoisson.ufl auto-adaptive-poisson/cpp/main.cpp \
242 biharmonic/cpp/Biharmonic.ufl biharmonic/cpp/main.cpp built-in-meshes/cpp/main.cpp \
243 cahn-hilliard/cpp/CahnHilliard2D.cpp cahn-hilliard/cpp/CahnHilliard3D.cpp \
244 eigenvalue/cpp/StiffnessMatrix.ufl eigenvalue/cpp/main.cpp \
245 hyperelasticity/cpp/HyperElasticity.ufl hyperelasticity/cpp/main.cpp \
246 mixed-poisson/cpp/MixedPoisson.ufl mixed-poisson/cpp/main.cpp \
247 nonmatching-interpolation/cpp/P1.ufl nonmatching-interpolation/cpp/P3.ufl nonmatching-interpolation/cpp/main.cpp \
248 poisson/cpp/Poisson.ufl poisson/cpp/main.cpp; do \
249 rm -f demo/documented/$$f; \
250 done
251
252 execute_after_dh_auto_cleanscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/execute_after_dh_auto_clean().:
253 rm -rf $(BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR_64.)
254 rm -rf $(INSTALLATION_BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/INSTALLATION_BUILDDIR.) $(TESTDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/TESTDIR.)
255 rm -rf $(INSTALLATION_BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/INSTALLATION_BUILDDIR_64.) $(TESTDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/TESTDIR_64.)
256 rm -rf debian/tmp64
257
258 override_dh_auto_configurescip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/override_dh_auto_configure().:
259 PETSC_DIR=$(PETSC_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_DIR.) SLEPC_DIR=$(SLEPC_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_DIR.) dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). --builddir=$(BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR.) -- $(CMAKE_OPTSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CMAKE_OPTS.)
260 PETSC_DIR=$(PETSC64_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC64_DIR.) SLEPC_DIR=$(SLEPC64_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC64_DIR.) dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). --builddir=$(BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR_64.) -- $(CMAKE_OPTSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CMAKE_OPTS.) -DLIB_NAME_EXT="64"
261
262 override_dh_auto_buildscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/override_dh_auto_build().:
263 PETSC_DIR=$(PETSC_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_DIR.) SLEPC_DIR=$(SLEPC_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_DIR.) dh_auto_buildscip-debian debian debhelper . dh_auto_build(). --builddir=$(BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR.)
264 PETSC_DIR=$(PETSC64_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC64_DIR.) SLEPC_DIR=$(SLEPC64_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC64_DIR.) dh_auto_buildscip-debian debian debhelper . dh_auto_build(). --builddir=$(BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR_64.)
265
266 override_dh_auto_installscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/override_dh_auto_install().:
267 dh_auto_installscip-debian debian debhelper . dh_auto_install(). --builddir=$(BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR.) --destdir=debian/tmp
268 dh_auto_installscip-debian debian debhelper . dh_auto_install(). --builddir=$(BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR_64.) --destdir=debian/tmp64
269 dh_numpy3scip-debian debian debhelper . dh_numpy3(). -A
270 for v in $(PYVERSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYVERS.); do \
271 cd python; \
272 PETSC_DIR=$(PETSC_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_DIR.) SLEPC_DIR=$(SLEPC_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_DIR.) \
273 PATH=$(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp/usr/bin:$$PATH \
274 CXXFLAGS="$(DEB_CXXFLAGSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_CXXFLAGS.) -isystem $(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp/usr/include" VERBOSE=1 \
275 $$v setup.py build --build-base=build install --root=$(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp --install-layout=deb; \
276 PETSC_DIR=$(PETSC64_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC64_DIR.) SLEPC_DIR=$(SLEPC64_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC64_DIR.) \
277 PATH=$(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp64/usr/bin:$$PATH \
278 CXXFLAGS="$(DEB_CXXFLAGSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_CXXFLAGS.) -isystem $(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp64/usr/include" VERBOSE=1 \
279 $$v setup.py build --build-base=build-64 install --root=$(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp64 --install-layout=deb; \
280 done;
281 chrpath -d $(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp/usr/lib/python*/dist-packages/dolfin/*.so
282 chrpath -d $(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp64/usr/lib/python*/dist-packages/dolfin/*.so
283 sed -i "s/-D_FORTIFY_SOURCE=2//g" $(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp/usr/lib/$(DEB_BUILD_MULTIARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_BUILD_MULTIARCH.)/pkgconfig/dolfin.pc
284 sed -i "s|-DNDEBUG||g" $(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp/usr/lib/$(DEB_BUILD_MULTIARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_BUILD_MULTIARCH.)/pkgconfig/dolfin.pc
285 sed -i "s/-D_FORTIFY_SOURCE=2//g" $(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp64/usr/lib/$(DEB_BUILD_MULTIARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_BUILD_MULTIARCH.)/pkgconfig/dolfin64.pc
286 sed -i "s|-DNDEBUG||g" $(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp64/usr/lib/$(DEB_BUILD_MULTIARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_BUILD_MULTIARCH.)/pkgconfig/dolfin64.pc
287
288 execute_after_dh_auto_install-indepscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/execute_after_dh_auto_install-indep().:
289 (cd doc; doxygen)
290 (cd python/doc; LD_LIBRARY_PATH=$(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp/usr/lib/$(DEB_BUILD_MULTIARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_BUILD_MULTIARCH.):$${LD_LIBRARY_PATH} \
291 PKG_CONFIG_PATH=$(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp/usr/lib/$(DEB_BUILD_MULTIARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_BUILD_MULTIARCH.)/pkgconfig:$${PKG_CONFIG_PATH} \
292 PYTHONPATH=$(CURDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/CURDIR.)/debian/tmp/usr/lib/python3/dist-packages \
293 make html )
294 dh_numpy3scip-debian debian debhelper . dh_numpy3(). -i
295
296 override_dh_auto_test-archscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/override_dh_auto_test-arch().:
297 case " $(ARCH_SKIP_ALL_TESTS_LISTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_ALL_TESTS_LIST.) " in \
298 *\ $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.)\ *) echo "ALL tests have been disabled on $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.)";; \
299 *) set -e; \
300 cp -ra $(BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR.) $(INSTALLATION_BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/INSTALLATION_BUILDDIR.); \
301 cd $(BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR.); \
302 make -j$(N_CPUscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_CPU.) unittests VERBOSE=1; \
303 make -j$(N_CPUscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_CPU.) demos VERBOSE=1; \
304 case " $(ARCH_SKIP_MPI_TEST_LISTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_MPI_TEST_LIST.) " in \
305 *\ $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.)\ *) IGNORE_MPI_TESTS="$(ARCH_ALL_SKIP_MPI_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_ALL_SKIP_MPI_TEST.) $(ARCH_SKIP_MPI_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_MPI_TEST.) $(ARCH_SPECIFIC_SKIP_MPI_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SPECIFIC_SKIP_MPI_TEST.)";; \
306 *) IGNORE_MPI_TESTS="$(ARCH_ALL_SKIP_MPI_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_ALL_SKIP_MPI_TEST.) $(ARCH_SPECIFIC_SKIP_MPI_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SPECIFIC_SKIP_MPI_TEST.)";; \
307 esac; \
308 echo "set(CTEST_CUSTOM_TESTS_IGNORE $${IGNORE_MPI_TESTS} $(ARCH_ALL_SKIP_SERIAL_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_ALL_SKIP_SERIAL_TEST.) $(ARCH_SPECIFIC_SKIP_SERIAL_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SPECIFIC_SKIP_SERIAL_TEST.) $(ARCH_SKIP_SLOW_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_SLOW_TEST.) )" >> CTestCustom.cmake; \
309 echo "Run C++ unit tests (serial)"; \
310 LD_LIBRARY_PATH=$(DOLFIN_HOMEscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DOLFIN_HOME.)/$(BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR.)/dolfin:$${LD_LIBRARY_PATH} ctest --output-on-failure -R unittests; \
311 echo "Run C++ regressions tests (serial)"; \
312 LD_LIBRARY_PATH=$(DOLFIN_HOMEscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DOLFIN_HOME.)/$(BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR.)/dolfin:$${LD_LIBRARY_PATH} ctest --output-on-failure -j$(N_CPUscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_CPU.) -R demo -R serial; \
313 echo "Run C++ regression tests (MPI)"; \
314 case " $(ARCH_SKIP_ALL_MPI_TESTS_LISTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_ALL_MPI_TESTS_LIST.) " in \
315 *\ $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.)\ *) echo "MPI tests have been disabled on $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.)";; \
316 *) LD_LIBRARY_PATH=$(DOLFIN_HOMEscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DOLFIN_HOME.)/$(BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR.)/dolfin:$${LD_LIBRARY_PATH} ctest --output-on-failure -j$(N_MPI_TESTSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_MPI_TESTS.) -R demo -R mpi;; \
317 esac; \
318 cd ..; \
319 mv $(BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR.) $(TESTDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/TESTDIR.); \
320 mv $(INSTALLATION_BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/INSTALLATION_BUILDDIR.) $(BUILDDIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR.);; \
321 esac
322 case " $(ARCH_SKIP_ALL_TESTS_LISTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_ALL_TESTS_LIST.) " in \
323 *\ $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.)\ *) echo "ALL 64-bit tests have been disabled on $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.)";; \
324 *) set -e; \
325 cp -ra $(BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR_64.) $(INSTALLATION_BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/INSTALLATION_BUILDDIR_64.); \
326 cd $(BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR_64.); \
327 make -j$(N_CPUscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_CPU.) unittests VERBOSE=1; \
328 make -j$(N_CPUscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_CPU.) demos VERBOSE=1; \
329 case " $(ARCH_SKIP_MPI_TEST_LISTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_MPI_TEST_LIST.) " in \
330 *\ $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.)\ *) IGNORE_MPI_TESTS="$(ARCH_ALL_SKIP_MPI_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_ALL_SKIP_MPI_TEST.) $(ARCH_SKIP_MPI_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_MPI_TEST.) $(ARCH_SPECIFIC_SKIP_MPI_TEST_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SPECIFIC_SKIP_MPI_TEST_64.)";; \
331 *) IGNORE_MPI_TESTS="$(ARCH_ALL_SKIP_MPI_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_ALL_SKIP_MPI_TEST.) $(ARCH_SPECIFIC_SKIP_MPI_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SPECIFIC_SKIP_MPI_TEST.)";; \
332 esac; \
333 echo "set(CTEST_CUSTOM_TESTS_IGNORE $${IGNORE_MPI_TESTS} $(ARCH_ALL_SKIP_SERIAL_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_ALL_SKIP_SERIAL_TEST.) $(ARCH_SPECIFIC_SKIP_SERIAL_TEST_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SPECIFIC_SKIP_SERIAL_TEST_64.) $(ARCH_SKIP_SLOW_TESTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_SLOW_TEST.) )" >> CTestCustom.cmake; \
334 echo "Run C++ 64-bit unit tests (serial)"; \
335 LD_LIBRARY_PATH=$(DOLFIN_HOMEscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DOLFIN_HOME.)/$(BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR_64.)/dolfin:$${LD_LIBRARY_PATH} ctest --output-on-failure -R unittests; \
336 echo "Run C++ 64-bit regressions tests (serial)"; \
337 LD_LIBRARY_PATH=$(DOLFIN_HOMEscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DOLFIN_HOME.)/$(BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR_64.)/dolfin:$${LD_LIBRARY_PATH} ctest --output-on-failure -j$(N_CPUscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_CPU.) -R demo -R serial; \
338 echo "Run C++ 64-bit regression tests (MPI)"; \
339 case " $(ARCH_SKIP_ALL_MPI_TESTS_LISTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/ARCH_SKIP_ALL_MPI_TESTS_LIST.) " in \
340 *\ $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.)\ *) echo "MPI 64-bit tests have been disabled on $(DEB_HOST_ARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_ARCH.)";; \
341 *) LD_LIBRARY_PATH=$(DOLFIN_HOMEscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DOLFIN_HOME.)/$(BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR_64.)/dolfin:$${LD_LIBRARY_PATH} ctest --output-on-failure -j$(N_MPI_TESTSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/N_MPI_TESTS.) -R demo -R mpi || /bin/true;; \
342 esac; \
343 cd ..; \
344 mv $(BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR_64.) $(TESTDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/TESTDIR_64.); \
345 mv $(INSTALLATION_BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/INSTALLATION_BUILDDIR_64.) $(BUILDDIR_64scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/BUILDDIR_64.);; \
346 esac
347
348 override_dh_auto_test-indepscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/override_dh_auto_test-indep().:
349
350 execute_before_dh_install-indepscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/execute_before_dh_install-indep().:
351 cd python/demo; \
352 python3 generate-demo-files.py
353
354 execute_after_dh_install-archscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/execute_after_dh_install-arch().:
355 sed "s/set(CMAKE_IMPORT_FILE_VERSION 1)/set(CMAKE_IMPORT_FILE_VERSION 1)\n\nif(PETSC_INT_SIZE EQUAL 8)\n set(LIB_NAME_EXT \"64\")\nelse()\n set(LIB_NAME_EXT \$${DOLFIN_LIB_NAME_EXT})\nendif()/; \
356 s/libdolfin.so/libdolfin\$${LIB_NAME_EXT}.so/g" \
357 -i debian/libdolfin-dev/usr/lib/$(DEB_HOST_MULTIARCHscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/DEB_HOST_MULTIARCH.)/cmake/dolfin/DOLFINTargets-relwithdebinfo.cmake
358
359 override_dh_python3-archscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/override_dh_python3-arch().:
360 dh_python3scip-debian debian debhelper . dh_python3(). -a
361 dh_numpy3scip-debian debian debhelper . dh_numpy3(). -a
362 mkdir -p debian/python3-dolfin-real/$(PETSC_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_DIR.)/lib/
363 mv debian/python3-dolfin-real/usr/lib/python3 debian/python3-dolfin-real/$(PETSC_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_DIR.)/lib
364 mkdir -p debian/python3-dolfin64-real/$(PETSC64_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC64_DIR.)/lib/
365 mv debian/python3-dolfin64-real/usr/lib/python3 debian/python3-dolfin64-real/$(PETSC64_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC64_DIR.)/lib
366 rm -rf debian/python3-dolfin64-real/$(PETSC64_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC64_DIR.)/lib/dist-packages/dolfinx_utils
367 rm -rf debian/python3-dolfin64-real/$(PETSC64_DIRscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC64_DIR.)/lib/dist-packages/fenics*
368
369 override_dh_fixperms-indepscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/override_dh_fixperms-indep().:
370 dh_fixpermsscip-debian debian debhelper . dh_fixperms(). -i
371 chmod a-x debian/dolfin-doc/usr/share/dolfin/demo-python/*/*/*.py
372
373 # set petsc:Depends to something like "libpetsc-real3.8-dev, libslepc-real3.8-dev, python-petsc4py (>= 3.8), python-petsc4py (<< 3.9), python-slepc4py (>= 3.8), python-slepc4py (<< 3.9)"
374 PETSC_DEV_DEPENDSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_DEV_DEPENDS.="libpetsc-real$(PETSC_VERSION)-dev | libpetsc$(PETSC_UPSTREAM_VERSION)-dev, libslepc-real$(SLEPC_VERSION)-dev | libslepc$(SLEPC_UPSTREAM_VERSION)-dev"
375 PETSC64_DEV_DEPENDSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC64_DEV_DEPENDS.="libpetsc64-real$(PETSC_VERSION)-dev | libpetsc64-$(PETSC_UPSTREAM_VERSION)-dev, libslepc64-real$(SLEPC_VERSION)-dev | libslepc64-$(SLEPC_UPSTREAM_VERSION)-dev"
376 # slepc4py version must match petsc4py (using the PETSc minor version, not the patch release)
377 PETSC4PY_DEPENDS_PY3scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC4PY_DEPENDS_PY3.=python3-petsc4py (>= $(PETSC_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_VERSION.)), python3-petsc4py (<< $(PETSC_VERSION_NEXTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_VERSION_NEXT.)), python3-slepc4py (>= $(SLEPC_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_VERSION.)), python3-slepc4py (<< $(SLEPC_VERSION_NEXTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_VERSION_NEXT.))
378 PETSC4PY_REAL_DEPENDS_PY3scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC4PY_REAL_DEPENDS_PY3.=python3-petsc4py-real (>= $(PETSC_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_VERSION.)), python3-petsc4py-real (<< $(PETSC_VERSION_NEXTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_VERSION_NEXT.)), python3-slepc4py-real (>= $(SLEPC_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_VERSION.)), python3-slepc4py-real (<< $(SLEPC_VERSION_NEXTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_VERSION_NEXT.))
379 PETSC4PY_64_REAL_DEPENDS_PY3scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC4PY_64_REAL_DEPENDS_PY3.=python3-petsc4py-64-real (>= $(PETSC_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_VERSION.)), python3-petsc4py-64-real (<< $(PETSC_VERSION_NEXTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_VERSION_NEXT.)), python3-slepc4py-64-real (>= $(SLEPC_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_VERSION.)), python3-slepc4py-64-real (<< $(SLEPC_VERSION_NEXTscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/SLEPC_VERSION_NEXT.))
380 override_dh_gencontrolscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/override_dh_gencontrol().:
381 echo "python3-petsc4py:Depends=$(PETSC4PY_DEPENDS_PY3scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC4PY_DEPENDS_PY3.)" >> debian/python3-dolfin.substvars
382 echo "python3-petsc4py-real:Depends=$(PETSC4PY_REAL_DEPENDS_PY3scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC4PY_REAL_DEPENDS_PY3.)" >> debian/python3-dolfin-real.substvars
383 echo "python3-petsc4py-64-real:Depends=$(PETSC4PY_64_REAL_DEPENDS_PY3scip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC4PY_64_REAL_DEPENDS_PY3.)" >> debian/python3-dolfin64-real.substvars
384 dh_gencontrolscip-debian debian debhelper . dh_gencontrol(). -- -Vpetsc:Depends=$(PETSC_DEV_DEPENDSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC_DEV_DEPENDS.) -Vpetsc64:Depends=$(PETSC64_DEV_DEPENDSscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PETSC64_DEV_DEPENDS.) \
385 -Vfenics:Upstream-Version=$(FENICS_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_VERSION.) -Vfenics:Next-Upstream-Version=$(FENICS_NEXT_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_NEXT_VERSION.)~ \
386 -Vpybind11:Upstream-Version=$(PYBIND11_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYBIND11_VERSION.) -Vpybind11:Next-Upstream-Version=$(PYBIND11_NEXT_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/PYBIND11_NEXT_VERSION.)
387
388 # dbgsym-migration was introduced for dolfin 2017.2 (don't update the version to a later version)
389 override_dh_stripscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/override_dh_strip().:
390 dh_stripscip-debian debian debhelper . dh_strip(). --package=libdolfin$(FENICS_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_VERSION.)t64 -Xpython
391 dh_stripscip-debian debian debhelper . dh_strip(). --package=python3-dolfin-real -Xpython2
392 dh_stripscip-debian debian debhelper . dh_strip(). --package=libdolfin64-$(FENICS_VERSIONscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/FENICS_VERSION.)t64 -Xpython
393 dh_stripscip-debian debian debhelper . dh_strip(). --package=python3-dolfin64-real
394
395 # python module so files are already stripped by setup.py (setuptools)
396 override_dh_dwzscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/override_dh_dwz().:
397 dh_dwzscip-debian debian debhelper . dh_dwz(). -Xcpp.cpython
398
399 # https://stackoverflow.com/a/18793112/353337
400 override_dh_shlibdepsscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/override_dh_shlibdeps().:
401 dh_shlibdepsscip-debian debian debhelper . dh_shlibdeps(). --dpkg-shlibdeps-params=--ignore-missing-info
402
403
404 .PHONYscip-debian debian dolfin 2019.2.0~legacy20240219.1c52e83-30 dolfin/rules/`.PHONY`().: override_dh_strip