Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/1] meson: Don't build docs when cross-compiling
@ 2018-02-23 11:10 Petri Latvala
  2018-02-23 12:20 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/1] " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Petri Latvala @ 2018-02-23 11:10 UTC (permalink / raw)
  To: igt-dev

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@intel.com>
Cc: Eric Anholt <eric@anholt.net>
---
 meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 509ae5de..0d496718 100644
--- a/meson.build
+++ b/meson.build
@@ -147,4 +147,7 @@ if libdrm_intel.found()
 	endif
 endif
 subdir('man')
-subdir('docs')
+# has_exe_wrapper() is undefined if building natively
+if not meson.is_cross_build() or not meson.has_exe_wrapper()
+	subdir('docs')
+endif
-- 
2.14.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/1] meson: Don't build docs when cross-compiling
  2018-02-23 11:10 [igt-dev] [PATCH i-g-t 1/1] meson: Don't build docs when cross-compiling Petri Latvala
@ 2018-02-23 12:20 ` Patchwork
  2018-02-23 14:51 ` [igt-dev] [PATCH i-g-t 1/1] " Eric Anholt
  2018-02-23 15:31 ` [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/1] " Patchwork
  2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2018-02-23 12:20 UTC (permalink / raw)
  To: Petri Latvala; +Cc: igt-dev

== Series Details ==

Series: series starting with [i-g-t,1/1] meson: Don't build docs when cross-compiling
URL   : https://patchwork.freedesktop.org/series/38852/
State : success

== Summary ==

IGT patchset tested on top of latest successful build
f9b6fd624be9692e9a892c0976fa72cedefc9fed meson: Make cairo mandatory

with latest DRM-Tip kernel build CI_DRM_3828
562dc33a969d drm-tip: 2018y-02m-23d-09h-04m-20s UTC integration manifest

No testlist changes.

fi-bdw-5557u     total:288  pass:267  dwarn:0   dfail:0   fail:0   skip:21  time:415s
fi-bdw-gvtdvm    total:288  pass:264  dwarn:0   dfail:0   fail:0   skip:24  time:437s
fi-blb-e6850     total:288  pass:223  dwarn:1   dfail:0   fail:0   skip:64  time:375s
fi-bsw-n3050     total:288  pass:242  dwarn:0   dfail:0   fail:0   skip:46  time:484s
fi-bwr-2160      total:288  pass:183  dwarn:0   dfail:0   fail:0   skip:105 time:285s
fi-bxt-dsi       total:288  pass:258  dwarn:0   dfail:0   fail:0   skip:30  time:476s
fi-bxt-j4205     total:288  pass:259  dwarn:0   dfail:0   fail:0   skip:29  time:483s
fi-byt-j1900     total:288  pass:253  dwarn:0   dfail:0   fail:0   skip:35  time:470s
fi-byt-n2820     total:288  pass:249  dwarn:0   dfail:0   fail:0   skip:39  time:460s
fi-cfl-8700k     total:288  pass:260  dwarn:0   dfail:0   fail:0   skip:28  time:394s
fi-cfl-s2        total:288  pass:262  dwarn:0   dfail:0   fail:0   skip:26  time:570s
fi-elk-e7500     total:288  pass:229  dwarn:0   dfail:0   fail:0   skip:59  time:414s
fi-gdg-551       total:288  pass:179  dwarn:0   dfail:0   fail:1   skip:108 time:285s
fi-glk-1         total:288  pass:260  dwarn:0   dfail:0   fail:0   skip:28  time:505s
fi-hsw-4770      total:288  pass:261  dwarn:0   dfail:0   fail:0   skip:27  time:387s
fi-ilk-650       total:288  pass:228  dwarn:0   dfail:0   fail:0   skip:60  time:415s
fi-ivb-3520m     total:288  pass:259  dwarn:0   dfail:0   fail:0   skip:29  time:463s
fi-kbl-7500u     total:288  pass:263  dwarn:1   dfail:0   fail:0   skip:24  time:451s
fi-kbl-7560u     total:288  pass:269  dwarn:0   dfail:0   fail:0   skip:19  time:493s
fi-kbl-7567u     total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:449s
fi-kbl-r         total:288  pass:261  dwarn:0   dfail:0   fail:0   skip:27  time:491s
fi-pnv-d510      total:288  pass:222  dwarn:1   dfail:0   fail:0   skip:65  time:586s
fi-skl-6260u     total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:425s
fi-skl-6600u     total:288  pass:261  dwarn:0   dfail:0   fail:0   skip:27  time:503s
fi-skl-6700hq    total:288  pass:262  dwarn:0   dfail:0   fail:0   skip:26  time:520s
fi-skl-6700k2    total:288  pass:264  dwarn:0   dfail:0   fail:0   skip:24  time:485s
fi-skl-6770hq    total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:470s
fi-skl-guc       total:288  pass:260  dwarn:0   dfail:0   fail:0   skip:28  time:409s
fi-skl-gvtdvm    total:288  pass:265  dwarn:0   dfail:0   fail:0   skip:23  time:435s
fi-snb-2520m     total:288  pass:248  dwarn:0   dfail:0   fail:0   skip:40  time:521s
fi-snb-2600      total:288  pass:248  dwarn:0   dfail:0   fail:0   skip:40  time:403s

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_995/issues.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [igt-dev] [PATCH i-g-t 1/1] meson: Don't build docs when cross-compiling
  2018-02-23 11:10 [igt-dev] [PATCH i-g-t 1/1] meson: Don't build docs when cross-compiling Petri Latvala
  2018-02-23 12:20 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/1] " Patchwork
@ 2018-02-23 14:51 ` Eric Anholt
  2018-03-06 14:58   ` Daniel Vetter
  2018-02-23 15:31 ` [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/1] " Patchwork
  2 siblings, 1 reply; 5+ messages in thread
From: Eric Anholt @ 2018-02-23 14:51 UTC (permalink / raw)
  To: Petri Latvala, igt-dev


[-- Attachment #1.1: Type: text/plain, Size: 712 bytes --]

Petri Latvala <petri.latvala@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@intel.com>
> Cc: Eric Anholt <eric@anholt.net>

Reviewed-by: Eric Anholt <eric@anholt.net>

Thanks!

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/1] meson: Don't build docs when cross-compiling
  2018-02-23 11:10 [igt-dev] [PATCH i-g-t 1/1] meson: Don't build docs when cross-compiling Petri Latvala
  2018-02-23 12:20 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/1] " Patchwork
  2018-02-23 14:51 ` [igt-dev] [PATCH i-g-t 1/1] " Eric Anholt
@ 2018-02-23 15:31 ` Patchwork
  2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2018-02-23 15:31 UTC (permalink / raw)
  To: Petri Latvala; +Cc: igt-dev

== Series Details ==

Series: series starting with [i-g-t,1/1] meson: Don't build docs when cross-compiling
URL   : https://patchwork.freedesktop.org/series/38852/
State : success

== Summary ==

Test kms_flip:
        Subgroup modeset-vs-vblank-race:
                pass       -> FAIL       (shard-apl) fdo#103060 +2
Test kms_rotation_crc:
        Subgroup sprite-rotation-180:
                fail       -> PASS       (shard-snb) fdo#103925
Test kms_cursor_crc:
        Subgroup cursor-64x64-suspend:
                incomplete -> PASS       (shard-hsw) fdo#103540
Test gem_eio:
        Subgroup in-flight-external:
                pass       -> INCOMPLETE (shard-apl) fdo#104945
Test kms_sysfs_edid_timing:
                warn       -> PASS       (shard-apl) fdo#100047
Test kms_atomic_transition:
        Subgroup 1x-modeset-transitions-nonblocking:
                pass       -> FAIL       (shard-apl) fdo#103207

fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
fdo#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925
fdo#103540 https://bugs.freedesktop.org/show_bug.cgi?id=103540
fdo#104945 https://bugs.freedesktop.org/show_bug.cgi?id=104945
fdo#100047 https://bugs.freedesktop.org/show_bug.cgi?id=100047
fdo#103207 https://bugs.freedesktop.org/show_bug.cgi?id=103207

shard-apl        total:3401 pass:1786 dwarn:1   dfail:0   fail:14  skip:1599 time:12060s
shard-hsw        total:3465 pass:1768 dwarn:1   dfail:0   fail:2   skip:1693 time:11558s
shard-snb        total:3465 pass:1358 dwarn:1   dfail:0   fail:2   skip:2104 time:6643s
Blacklisted hosts:
shard-kbl        total:3465 pass:1961 dwarn:1   dfail:0   fail:14  skip:1489 time:9544s

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_995/shards.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [igt-dev] [PATCH i-g-t 1/1] meson: Don't build docs when cross-compiling
  2018-02-23 14:51 ` [igt-dev] [PATCH i-g-t 1/1] " Eric Anholt
@ 2018-03-06 14:58   ` Daniel Vetter
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel Vetter @ 2018-03-06 14:58 UTC (permalink / raw)
  To: Eric Anholt; +Cc: igt-dev

On Fri, Feb 23, 2018 at 06:51:58AM -0800, Eric Anholt wrote:
> Petri Latvala <petri.latvala@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@intel.com>
> > Cc: Eric Anholt <eric@anholt.net>
> 
> Reviewed-by: Eric Anholt <eric@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
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-06 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-23 11:10 [igt-dev] [PATCH i-g-t 1/1] meson: Don't build docs when cross-compiling Petri Latvala
2018-02-23 12:20 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/1] " Patchwork
2018-02-23 14:51 ` [igt-dev] [PATCH i-g-t 1/1] " Eric Anholt
2018-03-06 14:58   ` Daniel Vetter
2018-02-23 15:31 ` [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/1] " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox