* [igt-dev] [PATCH i-g-t] build: rename Meson options
@ 2019-07-05 13:45 Simon Ser
2019-07-05 14:29 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Simon Ser @ 2019-07-05 13:45 UTC (permalink / raw)
To: igt-dev
Meson emits a warning because we use options beginning with "build_":
DEPRECATION: Option uses prefix "build_", which is reserved for Meson. This will become an error in the future.
Rename our options so that we don't use the Meson-reserved prefix.
While at it, also make other build options and descriptions more consistent.
Signed-off-by: Simon Ser <simon.ser@intel.com>
---
Suggestions to further improve our build options are welcome.
man/meson.build | 2 +-
meson.build | 12 ++++++------
meson_options.txt | 30 +++++++++++++++---------------
overlay/meson.build | 2 +-
runner/meson.build | 2 +-
5 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/man/meson.build b/man/meson.build
index 2c1396af2738..2187e8c505c1 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -1,4 +1,4 @@
-build_man = get_option('build_man')
+build_man = get_option('man')
manpages = [
'intel_aubdump',
diff --git a/meson.build b/meson.build
index f0cb2543ca64..5d32efd33933 100644
--- a/meson.build
+++ b/meson.build
@@ -77,10 +77,10 @@ foreach cc_arg : cc_args
endif
endforeach
-build_chamelium = get_option('build_chamelium')
-build_docs = get_option('build_docs')
-build_tests = not get_option('build_tests').disabled()
-with_libdrm = get_option('with_libdrm')
+build_chamelium = get_option('chamelium')
+build_docs = get_option('docs')
+build_tests = not get_option('tests').disabled()
+with_libdrm = get_option('libdrm_drivers')
build_info = ['Build type: ' + get_option('buildtype')]
@@ -118,13 +118,13 @@ pciaccess = dependency('pciaccess', version : '>=0.10')
libkmod = dependency('libkmod')
libprocps = dependency('libprocps', required : true)
-libunwind = dependency('libunwind', required : get_option('with_libunwind'))
+libunwind = dependency('libunwind', required : get_option('libunwind'))
build_info += 'With libunwind: @0@'.format(libunwind.found())
libdw = dependency('libdw', required : true)
pixman = dependency('pixman-1', required : true)
-valgrind = dependency('valgrind', required : get_option('with_valgrind'))
+valgrind = dependency('valgrind', required : get_option('valgrind'))
if valgrind.found()
config.set('HAVE_VALGRIND', 1)
endif
diff --git a/meson_options.txt b/meson_options.txt
index 9cca0c4f47eb..f980d3e005a6 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,6 +1,6 @@
-option('build_overlay',
+option('overlay',
type : 'feature',
- description : 'Build overlay')
+ description : 'Tools: overlay')
option('overlay_backends',
type : 'array',
@@ -8,39 +8,39 @@ option('overlay_backends',
choices : [ 'auto', 'x', 'xv' ],
description : 'Overlay backends to enable')
-option('build_chamelium',
+option('chamelium',
type : 'feature',
- description : 'Build chamelium test')
+ description : 'Tests: Chamelium')
-option('with_valgrind',
+option('valgrind',
type : 'feature',
description : 'Build with support for valgrind annotations')
-option('build_man',
+option('man',
type : 'feature',
- description : 'Build man pages')
+ description : 'Man pages')
-option('build_docs',
+option('docs',
type : 'feature',
- description : 'Build documentation')
+ description : 'Documentation')
-option('build_tests',
+option('tests',
type : 'feature',
- description : 'Build tests')
+ description : 'Tests')
-option('with_libdrm',
+option('libdrm_drivers',
type : 'array',
value : ['auto'],
choices : ['', 'auto', 'intel', 'nouveau', 'amdgpu'],
description : 'libdrm libraries to be used')
-option('with_libunwind',
+option('libunwind',
type : 'feature',
description : 'Use libunwind')
-option('build_runner',
+option('runner',
type : 'feature',
- description : 'Build test runner')
+ description : 'Test runner')
option('use_rpath',
type : 'boolean',
diff --git a/overlay/meson.build b/overlay/meson.build
index d2d2b16a8d1b..0a99076206c3 100644
--- a/overlay/meson.build
+++ b/overlay/meson.build
@@ -1,4 +1,4 @@
-build_overlay = get_option('build_overlay')
+build_overlay = get_option('overlay')
overlay_backends = get_option('overlay_backends')
gpu_overlay_src = [
diff --git a/runner/meson.build b/runner/meson.build
index 4eff193afa8d..86521f94d88a 100644
--- a/runner/meson.build
+++ b/runner/meson.build
@@ -1,4 +1,4 @@
-build_runner = get_option('build_runner')
+build_runner = get_option('runner')
runnerlib_sources = [ 'settings.c',
'job_list.c',
--
2.22.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 6+ messages in thread* [igt-dev] ✗ GitLab.Pipeline: warning for build: rename Meson options 2019-07-05 13:45 [igt-dev] [PATCH i-g-t] build: rename Meson options Simon Ser @ 2019-07-05 14:29 ` Patchwork 2019-07-05 14:31 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork ` (2 subsequent siblings) 3 siblings, 0 replies; 6+ messages in thread From: Patchwork @ 2019-07-05 14:29 UTC (permalink / raw) To: Simon Ser; +Cc: igt-dev == Series Details == Series: build: rename Meson options URL : https://patchwork.freedesktop.org/series/63280/ State : warning == Summary == Pipeline status: FAILED. See https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/46905 for more details. == Logs == For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/46905 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 6+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for build: rename Meson options 2019-07-05 13:45 [igt-dev] [PATCH i-g-t] build: rename Meson options Simon Ser 2019-07-05 14:29 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork @ 2019-07-05 14:31 ` Patchwork 2019-07-06 23:39 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 2019-07-08 7:03 ` [igt-dev] [PATCH i-g-t] " Arkadiusz Hiler 3 siblings, 0 replies; 6+ messages in thread From: Patchwork @ 2019-07-05 14:31 UTC (permalink / raw) To: Simon Ser; +Cc: igt-dev == Series Details == Series: build: rename Meson options URL : https://patchwork.freedesktop.org/series/63280/ State : success == Summary == CI Bug Log - changes from IGT_5088 -> IGTPW_3247 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://patchwork.freedesktop.org/api/1.0/series/63280/revisions/1/mbox/ Known issues ------------ Here are the changes found in IGTPW_3247 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_ctx_create@basic-files: - fi-icl-u3: [PASS][1] -> [INCOMPLETE][2] ([fdo#107713] / [fdo#109100]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/fi-icl-u3/igt@gem_ctx_create@basic-files.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/fi-icl-u3/igt@gem_ctx_create@basic-files.html * igt@i915_selftest@live_contexts: - fi-skl-iommu: [PASS][3] -> [INCOMPLETE][4] ([fdo#111050]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/fi-skl-iommu/igt@i915_selftest@live_contexts.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/fi-skl-iommu/igt@i915_selftest@live_contexts.html * igt@kms_chamelium@hdmi-hpd-fast: - fi-kbl-7500u: [PASS][5] -> [FAIL][6] ([fdo#109485]) [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html * igt@vgem_basic@dmabuf-fence-before: - fi-icl-dsi: [PASS][7] -> [INCOMPLETE][8] ([fdo#107713]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/fi-icl-dsi/igt@vgem_basic@dmabuf-fence-before.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/fi-icl-dsi/igt@vgem_basic@dmabuf-fence-before.html #### Possible fixes #### * igt@kms_frontbuffer_tracking@basic: - fi-icl-dsi: [FAIL][9] ([fdo#103167]) -> [PASS][10] [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/fi-icl-dsi/igt@kms_frontbuffer_tracking@basic.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/fi-icl-dsi/igt@kms_frontbuffer_tracking@basic.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167 [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713 [fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100 [fdo#109485]: https://bugs.freedesktop.org/show_bug.cgi?id=109485 [fdo#111050]: https://bugs.freedesktop.org/show_bug.cgi?id=111050 Participating hosts (55 -> 46) ------------------------------ Missing (9): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-j1900 fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus Build changes ------------- * IGT: IGT_5088 -> IGTPW_3247 CI_DRM_6425: 62149faa04e66d4d16166c89ba441977a0656119 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_3247: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/ IGT_5088: 3356087442806675438319578f1c964e51ee4965 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/ _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 6+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for build: rename Meson options 2019-07-05 13:45 [igt-dev] [PATCH i-g-t] build: rename Meson options Simon Ser 2019-07-05 14:29 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork 2019-07-05 14:31 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork @ 2019-07-06 23:39 ` Patchwork 2019-07-08 7:03 ` [igt-dev] [PATCH i-g-t] " Arkadiusz Hiler 3 siblings, 0 replies; 6+ messages in thread From: Patchwork @ 2019-07-06 23:39 UTC (permalink / raw) To: Simon Ser; +Cc: igt-dev == Series Details == Series: build: rename Meson options URL : https://patchwork.freedesktop.org/series/63280/ State : success == Summary == CI Bug Log - changes from IGT_5088_full -> IGTPW_3247_full ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://patchwork.freedesktop.org/api/1.0/series/63280/revisions/1/mbox/ Known issues ------------ Here are the changes found in IGTPW_3247_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_exec_balancer@smoke: - shard-iclb: [PASS][1] -> [SKIP][2] ([fdo#110854]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-iclb4/igt@gem_exec_balancer@smoke.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-iclb7/igt@gem_exec_balancer@smoke.html * igt@i915_pm_rpm@gem-execbuf-stress: - shard-iclb: [PASS][3] -> [INCOMPLETE][4] ([fdo#107713] / [fdo#108840]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-iclb6/igt@i915_pm_rpm@gem-execbuf-stress.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-iclb2/igt@i915_pm_rpm@gem-execbuf-stress.html * igt@i915_suspend@debugfs-reader: - shard-apl: [PASS][5] -> [DMESG-WARN][6] ([fdo#108566]) +2 similar issues [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-apl8/igt@i915_suspend@debugfs-reader.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-apl4/igt@i915_suspend@debugfs-reader.html * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-pwrite: - shard-glk: [PASS][7] -> [FAIL][8] ([fdo#103167]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-glk9/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-pwrite.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-glk3/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-pwrite.html * igt@kms_frontbuffer_tracking@fbc-badstride: - shard-iclb: [PASS][9] -> [FAIL][10] ([fdo#103167]) +6 similar issues [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-iclb8/igt@kms_frontbuffer_tracking@fbc-badstride.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-iclb1/igt@kms_frontbuffer_tracking@fbc-badstride.html * igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary: - shard-apl: [PASS][11] -> [FAIL][12] ([fdo#103167]) [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-apl8/igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-apl6/igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary.html - shard-kbl: [PASS][13] -> [FAIL][14] ([fdo#103167]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-kbl7/igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-kbl6/igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary.html * igt@kms_plane_lowres@pipe-a-tiling-x: - shard-iclb: [PASS][15] -> [FAIL][16] ([fdo#103166]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-iclb8/igt@kms_plane_lowres@pipe-a-tiling-x.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-iclb8/igt@kms_plane_lowres@pipe-a-tiling-x.html * igt@kms_psr@psr2_sprite_plane_move: - shard-iclb: [PASS][17] -> [SKIP][18] ([fdo#109441]) +3 similar issues [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-iclb7/igt@kms_psr@psr2_sprite_plane_move.html * igt@kms_setmode@basic: - shard-apl: [PASS][19] -> [FAIL][20] ([fdo#99912]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-apl7/igt@kms_setmode@basic.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-apl8/igt@kms_setmode@basic.html * igt@perf_pmu@rc6: - shard-kbl: [PASS][21] -> [SKIP][22] ([fdo#109271]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-kbl4/igt@perf_pmu@rc6.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-kbl2/igt@perf_pmu@rc6.html #### Possible fixes #### * igt@gem_eio@reset-stress: - shard-apl: [FAIL][23] -> [PASS][24] [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-apl8/igt@gem_eio@reset-stress.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-apl6/igt@gem_eio@reset-stress.html * igt@gem_softpin@noreloc-s3: - shard-apl: [DMESG-WARN][25] ([fdo#108566]) -> [PASS][26] +1 similar issue [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-apl6/igt@gem_softpin@noreloc-s3.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-apl6/igt@gem_softpin@noreloc-s3.html * igt@gem_tiled_swapping@non-threaded: - shard-glk: [DMESG-WARN][27] ([fdo#108686] / [fdo#110853]) -> [PASS][28] [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-glk2/igt@gem_tiled_swapping@non-threaded.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-glk4/igt@gem_tiled_swapping@non-threaded.html - shard-apl: [DMESG-WARN][29] ([fdo#108686]) -> [PASS][30] [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-apl1/igt@gem_tiled_swapping@non-threaded.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-apl7/igt@gem_tiled_swapping@non-threaded.html * igt@i915_pm_rc6_residency@rc6-accuracy: - shard-kbl: [SKIP][31] ([fdo#109271]) -> [PASS][32] [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-kbl7/igt@i915_pm_rc6_residency@rc6-accuracy.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-kbl3/igt@i915_pm_rc6_residency@rc6-accuracy.html * igt@kms_color@pipe-a-ctm-blue-to-red: - shard-kbl: [FAIL][33] ([fdo#107201]) -> [PASS][34] [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-kbl2/igt@kms_color@pipe-a-ctm-blue-to-red.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-kbl7/igt@kms_color@pipe-a-ctm-blue-to-red.html - shard-apl: [FAIL][35] ([fdo#107201]) -> [PASS][36] [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-apl4/igt@kms_color@pipe-a-ctm-blue-to-red.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-apl7/igt@kms_color@pipe-a-ctm-blue-to-red.html * igt@kms_cursor_crc@pipe-b-cursor-128x42-offscreen: - shard-iclb: [INCOMPLETE][37] ([fdo#107713]) -> [PASS][38] [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-iclb7/igt@kms_cursor_crc@pipe-b-cursor-128x42-offscreen.html [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-iclb8/igt@kms_cursor_crc@pipe-b-cursor-128x42-offscreen.html * igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy: - shard-hsw: [FAIL][39] ([fdo#105767]) -> [PASS][40] [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-hsw4/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-hsw1/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html * igt@kms_flip@flip-vs-expired-vblank: - shard-glk: [FAIL][41] ([fdo#105363]) -> [PASS][42] [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-glk9/igt@kms_flip@flip-vs-expired-vblank.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-glk5/igt@kms_flip@flip-vs-expired-vblank.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-render: - shard-iclb: [FAIL][43] ([fdo#103167]) -> [PASS][44] +3 similar issues [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-render.html [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-iclb5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-render.html * igt@kms_lease@lease-uevent: - shard-hsw: [SKIP][45] ([fdo#109271]) -> [PASS][46] [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-hsw4/igt@kms_lease@lease-uevent.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-hsw4/igt@kms_lease@lease-uevent.html * igt@kms_psr2_su@frontbuffer: - shard-iclb: [SKIP][47] ([fdo#109642] / [fdo#111068]) -> [PASS][48] [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-iclb6/igt@kms_psr2_su@frontbuffer.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-iclb2/igt@kms_psr2_su@frontbuffer.html * igt@kms_psr@psr2_basic: - shard-iclb: [SKIP][49] ([fdo#109441]) -> [PASS][50] +2 similar issues [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5088/shard-iclb8/igt@kms_psr@psr2_basic.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/shard-iclb2/igt@kms_psr@psr2_basic.html [fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166 [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167 [fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363 [fdo#105767]: https://bugs.freedesktop.org/show_bug.cgi?id=105767 [fdo#107201]: https://bugs.freedesktop.org/show_bug.cgi?id=107201 [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713 [fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566 [fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686 [fdo#108840]: https://bugs.freedesktop.org/show_bug.cgi?id=108840 [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441 [fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642 [fdo#110853]: https://bugs.freedesktop.org/show_bug.cgi?id=110853 [fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854 [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068 [fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912 Participating hosts (7 -> 6) ------------------------------ Missing (1): shard-skl Build changes ------------- * IGT: IGT_5088 -> IGTPW_3247 CI_DRM_6425: 62149faa04e66d4d16166c89ba441977a0656119 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_3247: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/ IGT_5088: 3356087442806675438319578f1c964e51ee4965 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3247/ _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] build: rename Meson options 2019-07-05 13:45 [igt-dev] [PATCH i-g-t] build: rename Meson options Simon Ser ` (2 preceding siblings ...) 2019-07-06 23:39 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork @ 2019-07-08 7:03 ` Arkadiusz Hiler 2019-07-11 11:29 ` Ser, Simon 3 siblings, 1 reply; 6+ messages in thread From: Arkadiusz Hiler @ 2019-07-08 7:03 UTC (permalink / raw) To: Simon Ser; +Cc: igt-dev On Fri, Jul 05, 2019 at 04:45:33PM +0300, Simon Ser wrote: > Meson emits a warning because we use options beginning with "build_": > > DEPRECATION: Option uses prefix "build_", which is reserved for Meson. This will become an error in the future. > > Rename our options so that we don't use the Meson-reserved prefix. > > While at it, also make other build options and descriptions more consistent. > > Signed-off-by: Simon Ser <simon.ser@intel.com> > --- > > Suggestions to further improve our build options are welcome. > > man/meson.build | 2 +- > meson.build | 12 ++++++------ > meson_options.txt | 30 +++++++++++++++--------------- > overlay/meson.build | 2 +- > runner/meson.build | 2 +- > 5 files changed, 24 insertions(+), 24 deletions(-) > > diff --git a/man/meson.build b/man/meson.build > index 2c1396af2738..2187e8c505c1 100644 > --- a/man/meson.build > +++ b/man/meson.build > @@ -1,4 +1,4 @@ > -build_man = get_option('build_man') > +build_man = get_option('man') > > manpages = [ > 'intel_aubdump', > diff --git a/meson.build b/meson.build > index f0cb2543ca64..5d32efd33933 100644 > --- a/meson.build > +++ b/meson.build > @@ -77,10 +77,10 @@ foreach cc_arg : cc_args > endif > endforeach > > -build_chamelium = get_option('build_chamelium') > -build_docs = get_option('build_docs') > -build_tests = not get_option('build_tests').disabled() > -with_libdrm = get_option('with_libdrm') > +build_chamelium = get_option('chamelium') > +build_docs = get_option('docs') > +build_tests = not get_option('tests').disabled() > +with_libdrm = get_option('libdrm_drivers') > > build_info = ['Build type: ' + get_option('buildtype')] > > @@ -118,13 +118,13 @@ pciaccess = dependency('pciaccess', version : '>=0.10') > libkmod = dependency('libkmod') > libprocps = dependency('libprocps', required : true) > > -libunwind = dependency('libunwind', required : get_option('with_libunwind')) > +libunwind = dependency('libunwind', required : get_option('libunwind')) > build_info += 'With libunwind: @0@'.format(libunwind.found()) > > libdw = dependency('libdw', required : true) > pixman = dependency('pixman-1', required : true) > > -valgrind = dependency('valgrind', required : get_option('with_valgrind')) > +valgrind = dependency('valgrind', required : get_option('valgrind')) > if valgrind.found() > config.set('HAVE_VALGRIND', 1) > endif > diff --git a/meson_options.txt b/meson_options.txt > index 9cca0c4f47eb..f980d3e005a6 100644 > --- a/meson_options.txt > +++ b/meson_options.txt > @@ -1,6 +1,6 @@ > -option('build_overlay', > +option('overlay', > type : 'feature', > - description : 'Build overlay') > + description : 'Tools: overlay') > > option('overlay_backends', > type : 'array', > @@ -8,39 +8,39 @@ option('overlay_backends', > choices : [ 'auto', 'x', 'xv' ], > description : 'Overlay backends to enable') > > -option('build_chamelium', > +option('chamelium', > type : 'feature', > - description : 'Build chamelium test') > + description : 'Tests: Chamelium') > > -option('with_valgrind', > +option('valgrind', > type : 'feature', > description : 'Build with support for valgrind annotations') > > -option('build_man', > +option('man', > type : 'feature', > - description : 'Build man pages') > + description : 'Man pages') > > -option('build_docs', > +option('docs', > type : 'feature', > - description : 'Build documentation') > + description : 'Documentation') > > -option('build_tests', > +option('tests', > type : 'feature', > - description : 'Build tests') > + description : 'Tests') > > -option('with_libdrm', > +option('libdrm_drivers', > type : 'array', > value : ['auto'], > choices : ['', 'auto', 'intel', 'nouveau', 'amdgpu'], > description : 'libdrm libraries to be used') > > -option('with_libunwind', > +option('libunwind', > type : 'feature', > description : 'Use libunwind') > > -option('build_runner', > +option('runner', > type : 'feature', > - description : 'Build test runner') > + description : 'Test runner') Seems like this uncovered a mistake in test-fedora-no-libunwind: meson -Dlibunwind=false build It wasn't even an option. Can we make meson complain on unknown -D? Also, I think I would keep "build" in descriptions if the switch manages building of the optional part of IGT. -- Cheers, Arek _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] build: rename Meson options 2019-07-08 7:03 ` [igt-dev] [PATCH i-g-t] " Arkadiusz Hiler @ 2019-07-11 11:29 ` Ser, Simon 0 siblings, 0 replies; 6+ messages in thread From: Ser, Simon @ 2019-07-11 11:29 UTC (permalink / raw) To: Hiler, Arkadiusz; +Cc: igt-dev@lists.freedesktop.org On Mon, 2019-07-08 at 10:03 +0300, Arkadiusz Hiler wrote: > On Fri, Jul 05, 2019 at 04:45:33PM +0300, Simon Ser wrote: > > Meson emits a warning because we use options beginning with "build_": > > > > DEPRECATION: Option uses prefix "build_", which is reserved for Meson. This will become an error in the future. > > > > Rename our options so that we don't use the Meson-reserved prefix. > > > > While at it, also make other build options and descriptions more consistent. > > > > Signed-off-by: Simon Ser <simon.ser@intel.com> > > --- > > > > Suggestions to further improve our build options are welcome. > > > > man/meson.build | 2 +- > > meson.build | 12 ++++++------ > > meson_options.txt | 30 +++++++++++++++--------------- > > overlay/meson.build | 2 +- > > runner/meson.build | 2 +- > > 5 files changed, 24 insertions(+), 24 deletions(-) > > > > diff --git a/man/meson.build b/man/meson.build > > index 2c1396af2738..2187e8c505c1 100644 > > --- a/man/meson.build > > +++ b/man/meson.build > > @@ -1,4 +1,4 @@ > > -build_man = get_option('build_man') > > +build_man = get_option('man') > > > > manpages = [ > > 'intel_aubdump', > > diff --git a/meson.build b/meson.build > > index f0cb2543ca64..5d32efd33933 100644 > > --- a/meson.build > > +++ b/meson.build > > @@ -77,10 +77,10 @@ foreach cc_arg : cc_args > > endif > > endforeach > > > > -build_chamelium = get_option('build_chamelium') > > -build_docs = get_option('build_docs') > > -build_tests = not get_option('build_tests').disabled() > > -with_libdrm = get_option('with_libdrm') > > +build_chamelium = get_option('chamelium') > > +build_docs = get_option('docs') > > +build_tests = not get_option('tests').disabled() > > +with_libdrm = get_option('libdrm_drivers') > > > > build_info = ['Build type: ' + get_option('buildtype')] > > > > @@ -118,13 +118,13 @@ pciaccess = dependency('pciaccess', version : '>=0.10') > > libkmod = dependency('libkmod') > > libprocps = dependency('libprocps', required : true) > > > > -libunwind = dependency('libunwind', required : get_option('with_libunwind')) > > +libunwind = dependency('libunwind', required : get_option('libunwind')) > > build_info += 'With libunwind: @0@'.format(libunwind.found()) > > > > libdw = dependency('libdw', required : true) > > pixman = dependency('pixman-1', required : true) > > > > -valgrind = dependency('valgrind', required : get_option('with_valgrind')) > > +valgrind = dependency('valgrind', required : get_option('valgrind')) > > if valgrind.found() > > config.set('HAVE_VALGRIND', 1) > > endif > > diff --git a/meson_options.txt b/meson_options.txt > > index 9cca0c4f47eb..f980d3e005a6 100644 > > --- a/meson_options.txt > > +++ b/meson_options.txt > > @@ -1,6 +1,6 @@ > > -option('build_overlay', > > +option('overlay', > > type : 'feature', > > - description : 'Build overlay') > > + description : 'Tools: overlay') > > > > option('overlay_backends', > > type : 'array', > > @@ -8,39 +8,39 @@ option('overlay_backends', > > choices : [ 'auto', 'x', 'xv' ], > > description : 'Overlay backends to enable') > > > > -option('build_chamelium', > > +option('chamelium', > > type : 'feature', > > - description : 'Build chamelium test') > > + description : 'Tests: Chamelium') > > > > -option('with_valgrind', > > +option('valgrind', > > type : 'feature', > > description : 'Build with support for valgrind annotations') > > > > -option('build_man', > > +option('man', > > type : 'feature', > > - description : 'Build man pages') > > + description : 'Man pages') > > > > -option('build_docs', > > +option('docs', > > type : 'feature', > > - description : 'Build documentation') > > + description : 'Documentation') > > > > -option('build_tests', > > +option('tests', > > type : 'feature', > > - description : 'Build tests') > > + description : 'Tests') > > > > -option('with_libdrm', > > +option('libdrm_drivers', > > type : 'array', > > value : ['auto'], > > choices : ['', 'auto', 'intel', 'nouveau', 'amdgpu'], > > description : 'libdrm libraries to be used') > > > > -option('with_libunwind', > > +option('libunwind', > > type : 'feature', > > description : 'Use libunwind') > > > > -option('build_runner', > > +option('runner', > > type : 'feature', > > - description : 'Build test runner') > > + description : 'Test runner') > > Seems like this uncovered a mistake in test-fedora-no-libunwind: > meson -Dlibunwind=false build > > It wasn't even an option. Can we make meson complain on unknown -D? I haven't found anything. I get a warning though: WARNING: Unknown options: "lalala" > Also, I think I would keep "build" in descriptions if the switch manages > building of the optional part of IGT. w/e _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-07-11 11:29 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-07-05 13:45 [igt-dev] [PATCH i-g-t] build: rename Meson options Simon Ser 2019-07-05 14:29 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork 2019-07-05 14:31 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork 2019-07-06 23:39 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 2019-07-08 7:03 ` [igt-dev] [PATCH i-g-t] " Arkadiusz Hiler 2019-07-11 11:29 ` Ser, Simon
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox