[Dune-devel] Dune packaging
Simon Praetorius
simon.praetorius at tu-dresden.de
Thu May 7 11:09:11 CEST 2026
Hi everyone,
during the last years, there have been several attempts and solutions to
bring Dune into various package managers:
- Debian (Markus)
- OpenSuse (Christoph)
- PyPi (Andreas)
- spack (Dominic, https://gitlab.dune-project.org/spack/dune-spack,
version 2.7, 2.8)
- easybuild (myself,
https://gitlab.math.tu-dresden.de/spraetor/dune-easybuild, version 2.6)
- vcpkg (myself,
https://gitlab.dune-project.org/simon.praetorius/vcpkg-ports. version 2.11)
All these package managers are different, but also share some common
grounds. Dependencies must be properly specified, features/variants must
be selected, somehow the configure and build commands need to be
invoked. There are naming and versioning questions, and how to structure
the package for the various dune modules.
My point is: we cannot restrict ourself to just one package manager,
since they all have different scopes (linux distributions, HPC vs
desktop, python vs c++,...), but currently everyone who works on a
package management essentially does invent the wheel again. Can we
combine the efforts?
My suggestion is:
- A central gitlab group for package management recipes, e.g.,
gitlab.dune-project.org/packaging/ or gitlab.dune-project.org/pkg/
- People involved in these recipes could discuss some common patterns, e.g.,
* package naming,
* package versioning,
* separation into individual modules or a meta-module with variants,
* how to include python bindings into c++ packages
- It would be nice to have easily accessible update-scripts
- Maybe we even find a way to create/update all different recipes at once
- In the future, we might want to think about the CPS (Common package
specification)
- packaging should be integrated into the release pipeline
- packaging could be part of the system tests
What do you think?
Best, Simon
--
Dr. Simon Praetorius
[er/ihm; he/him]
Wissenschaftlicher Mitarbeiter
Technische Universität Dresden
Fakultät Mathematik
Institut für Wissenschaftliches Rechnen
Tel: TUD-34432
Web: tu-dresden.de/Members/simon.praetorius
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4855 bytes
Desc: Kryptografische S/MIME-Signatur
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20260507/31ab214f/attachment.bin>
More information about the Dune-devel
mailing list