On 6/10/26 02:18, Richard Henderson wrote:
On 6/9/26 14:47, Pierrick Bouvier wrote:
+++ b/tests/tcg/aarch64/meson.build
@@ -0,0 +1,213 @@
+cc = find_program('aarch64-linux-gnu-gcc', required : false)
+
+if not cc.found()
+  subdir_done()
+endif

The primary thing we lose here is the ability to use containers for the cross-compile.

We detect cross-compilers in configure.  We currently write them to build/tests/tcg/${target}/config-target.mak.  It's not very meson to parse a file like that, but I imagine we could use scripts or meson variables somehow.

That's not a problem, we can write them in [binaries] and find_program() will pick it up automatically. I'm a bit more worried about having to reinvent cross compilation altogether, I'll reply elsewhere.

Paolo


Reply via email to