Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1249370
| From | Helmut Grohne <helmut@subdivi.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1107485: ampliconnoise FTCBFS: misses mpi flags |
| Date | 2025-06-08 11:00 +0200 |
| Message-ID | <KVk2J-95cv-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Source: ampliconnoise Version: 1.29-15 Tags: patch User: debian-cross@lists.debian.org Usertags: ftcbfs 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? Helmut
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#1107485: ampliconnoise FTCBFS: misses mpi flags Helmut Grohne <helmut@subdivi.de> - 2025-06-08 11:00 +0200
csiph-web