Bug#1061357: spglib: buildsystem could be switched to scikit-build-core

Andrius Merkys merkys at debian.org
Wed Jan 24 13:01:22 GMT 2024


Hi,

On 2024-01-23 09:32, Andrius Merkys wrote:
> I think both #1061263 and #1061357 could be solved by switching spglib's 
> buildsystem to one based on scikit-build-core, as its pyproject.toml 
> supports that.

I made an attempt to build spglib with scikit-build-core by specifying 
'--buildsystem pybuild' in debian/rules, adding the required build 
dependencies and patching pyproject.toml to run tests for Python. As 
expected, spglib is built for all supported Python versions. Shared 
libraries are built as well, but they are built for every supported 
Python version separately and are different (at least of same size). 
Fortran interface does not get built at all.

So the buildsystem could be switched, possibly resolving both #1061263 
and #1061357, but with the price of losing Fortran interface and strange 
issue with different shared libraries (maybe just an unreproducible build).

Best,
Andrius



More information about the debian-science-maintainers mailing list