[igt-dev] [PATCH i-g-t 1/1] meson: Don't build docs when cross-compiling
Daniel Vetter
daniel at ffwll.ch
Tue Mar 6 14:58:41 UTC 2018
On Fri, Feb 23, 2018 at 06:51:58AM -0800, Eric Anholt wrote:
> Petri Latvala <petri.latvala at intel.com> writes:
>
> > Building documentation requires executing all test binaries to produce
> > their respective description texts. This can be a very time-consuming
> > process, if viable at all, when the target arch differs from the
> > host.
> >
> > Don't process the doc directory at all when an exe wrapper is
> > setup. This avoids the runtime penalty when the target binaries are
> > executed through qemu, but leaves everything as-is when the target
> > binaries can be directly executed, like when cross-compiling to x86
> > from x86_64 host.
> >
> > Signed-off-by: Petri Latvala <petri.latvala at intel.com>
> > Cc: Eric Anholt <eric at anholt.net>
>
> Reviewed-by: Eric Anholt <eric at anholt.net>
Reasonable duct-tape for now, I'm working on a proper fix (but that also
needs some upstream meson fixes).
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the igt-dev
mailing list