On Fri, Dec 26, 2025, at 5:15 PM, Simon Richter wrote:
> Hi,
>
> I'm trying to improve the nextpnr packaging a bit.
>
> This package builds binaries and a database that has been pre-indexed 
> for faster runtime access. Currently, the database is built together 
> with the binaries, and packaged as arch-dependent, which is a bit 
> wasteful -- two copies (little/big endian) would be sufficient here, and 
> not building the database saves quite a bit of time.
>
> However, if I build the database as arch-indep, I can no longer run the 
> tests from dh_auto_test in arch-specific builds, as these depend on the 
> database, and the database is no longer built then.

you could move the tests to autopkgtests, since at that point you are no
longer testing while building, but testing what got built? ;)

Reply via email to