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.

A horrible hack would be to select one architecture (probably amd64) that is responsible for building the database, and declare a build dependency for all other architectures if not using the nocheck profile.

This will probably do the right thing on the autobuilders, but doesn't adequately describe what is going on: this is a build dependency for arch-specific builds, but not arch:all or arch:any, because those builds can supply the necessary data.

Does anyone have any better ideas?

   Simon

Attachment: OpenPGP_0xEBF67A846AABE354.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to