| 1 | #!/usr/bin/make -f |
| 2 | export PYBUILD_NAMEscip-makefile . . . PYBUILD_NAME.=adios4dolfinx |
| 3 | export PYBUILD_BEFORE_TESTscip-makefile . . . PYBUILD_BEFORE_TEST.=debian/run_test_in_testdir {build_dir} |
| 4 | export PYBUILD_AFTER_TESTscip-makefile . . . PYBUILD_AFTER_TEST.=rm -f {build_dir}/conftest.py |
| 5 | |
| 6 | # some tests access MPI |
| 7 | # so allow 2-process tests on single CPU systems |
| 8 | export PRTE_MCA_rmaps_default_mapping_policyscip-makefile . . . PRTE_MCA_rmaps_default_mapping_policy.=:oversubscribe |
| 9 | |
| 10 | export PYBUILD_TEST_ARGSscip-makefile . . . PYBUILD_TEST_ARGS. = -k "not test_original_checkpoint" |
| 11 | |
| 12 | %scip-makefile . . . `%`/: |
| 13 | dh $@scip-makefile . . . `@`. --with python3 --buildsystem=pybuild |