<html><head></head><body>That file can live anywhere and can be referenced by absolute path.<br><br><div class="gmail_quote">On November 17, 2018 9:15:20 AM PST, "Kai Wasserbäch" <kai@dev.carbon-project.org> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hey Dylan,<br>Dylan Baker wrote on 17.11.18 05:04:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Quoting Dylan Baker (2018-09-17 09:44:07)<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> I feel like for !windows meson is in good enough shape at this point that we<br> can start having the discussion about deleting the autotools build. So, is there<br> anything left that autotools can do that meson cannot (that we actually want to<br> implement)? And, what is a reasonable time-table to remove the autotools build?<br> I think we could reasonably remove it as soon as 18.3 if others felt confident<br> that it would work for them.<br><br> Dylan<br></blockquote><br>Okay, time for an update on things and a chance to talk about what else we need.<br><br>Support for llvm-config (and any binary, actually) overriding has landed in<br>meson, and will be present in the 0.49.0 release, which is due out December 9th.<br>support for ICC has improved a great deal already, and I have a series here:<br><a href="https://github.com/mesonbuild/meson/pull/4359">https://github.com/mesonbuild/meson/pull/4359</a> (which may unfortunately not<br>land until after 0.49) which should get ICC into pretty good shape on Linux and<br>Mac, including actually checking that arguments are understood (which should<br>allow us to drop the prefix test from SWR). I have some ideas on how we might<br>remove auto options, some of them can already use meson's "feature"<br><a href="https://mesonbuild.com/Build-options.html#features">https://mesonbuild.com/Build-options.html#features</a> option (which should make<br>distro packagers happy too), for arch and OS specific options I have some ideas<br>and I'll continue following up with those upstream.<br><br>For those interested in llvm-config overriding, with meson out of git you can<br>add a files like:<br><br>$ cat ~/.local/share/meson/native/llvm-6.0<br>[binaries]<br>llvm-conifg = '/usr/local/lib/llvm-6/bin/llvm-config'<br><br>and invoke meson with:<br>meson builddir --native-file llvm-6.0<br><br>which will configure with the specified llvm-config, and remember the<br>llvm-config used on subsequent reconfigurations. You can override all binaries<br>from a native file as well, so if you want to use a specific python3 or<br>compiler you can do that, and you can load multiple native files in a single<br>invocation.<br></blockquote><br>do I understand that correctly as "there is no way to set this on the command<br>line"? Ie. something like<br>  meson --override-native="llvm-config=/usr/local/lib/llvm-6/bin/llvm-config"<br>or something similar? I need to have a file in $XDG_DATA_HOME/meson/native? That<br>would be really ugly for (automatic) package build environments IMHO, especially<br>if you want to have reproducible builds. Could these files at least be put in<br>eg. the debian directory of a source package and then I could pass some option<br>to meson to look there for these overrides?<br><br>Cheers,<br>Kai<br><br></pre></blockquote></div></body></html>