Use an ordered dict for the compiler dictionary and sort it according to a priority order: fortran, c, c++, etc. This also ensures that builds are reproducible because it would be a toss-up whether a C or a C++ compiler would be used based on the order in which compilers.items() would return items. Closes https://github.com/mesonbuild/meson/issues/1370pull/1505/head
parent
ff4b32741a
commit
14d0f38158
3 changed files with 25 additions and 17 deletions
Loading…
Reference in new issue