Hi Helmut, > ampliconnoise fails to cross build from source as it misses mpi compiler > flags. In theory, it uses mpicc, but cross builds override CC with a > non-mpi cross compiler and that's where flags go missing. Fundamentally, > mpicc and cross building are incompatible. For openmpi, the solution is > to use pkgconf, but mpich does not provide mpi-c anymore. I'm proposing > a compromise here: Attempt to use pkgconf to add the flags, but do not > fail when pkgconf doesn't work (e.g. on 32bit archs that use mpich). > Then native building will continue to work everywhere (as it continues > to use mpicc) while cross building will work for 64bit targets (where > openmpi is used). Cross builds to 32bit architectures remain broken for > now. What do you think?
I think that this is brillant and fair enough while lacking better options. I am in the process of integrating your patch. Thank you for your work on packages cross-buildability! Have a nice day, :) -- .''`. Étienne Mollier <[email protected]> : :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da `. `' sent from /dev/pts/2, please excuse my verbosity `- on air: Saga - The Human Condition
signature.asc
Description: PGP signature

