Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] meson: Add option to not build the assembler
@ 2020-08-24  8:35 Petri Latvala
  2020-08-24  9:23 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Petri Latvala @ 2020-08-24  8:35 UTC (permalink / raw)
  To: igt-dev; +Cc: Kalyan Kondapally, Petri Latvala

New option -Dassembler=disabled will omit assembler/ from the build.

Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Kalyan Kondapally <kalyan.kondapally@intel.com>
Cc: Arkadiusz Hiler <arek@hiler.eu>
Cc: Lukasz Fiedorowicz <lukasz.fiedorowicz@intel.com>
---
 meson.build       | 4 +++-
 meson_options.txt | 4 ++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index f4ee14f1..e8c8aaab 100644
--- a/meson.build
+++ b/meson.build
@@ -82,6 +82,7 @@ endforeach
 build_chamelium = get_option('chamelium')
 build_docs = get_option('docs')
 build_tests = not get_option('tests').disabled()
+build_assembler = get_option('assembler')
 with_libdrm = get_option('libdrm_drivers')
 
 build_info = ['Build type: ' + get_option('buildtype')]
@@ -306,9 +307,10 @@ build_info += 'Build tests: @0@'.format(build_tests)
 subdir('benchmarks')
 subdir('tools')
 subdir('runner')
-if libdrm_intel.found()
+if libdrm_intel.found() and build_assembler.enabled()
 	subdir('assembler')
 endif
+build_info += 'Build shader assembler: @0@'.format(build_assembler.enabled())
 subdir('overlay')
 subdir('man')
 
diff --git a/meson_options.txt b/meson_options.txt
index ff3abf08..6f0b9252 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -42,6 +42,10 @@ option('runner',
        type : 'feature',
        description : 'Build test runner')
 
+option('assembler',
+       type : 'feature',
+       description : 'Build shader assembler')
+
 option('oping',
        type : 'feature',
        description : 'Build test runner with liboping for pinging support')
-- 
2.20.1

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

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

end of thread, other threads:[~2020-09-16  8:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-24  8:35 [igt-dev] [PATCH i-g-t] meson: Add option to not build the assembler Petri Latvala
2020-08-24  9:23 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-08-24 12:17 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2020-08-24 12:21   ` Petri Latvala
2020-08-24 16:45     ` Vudum, Lakshminarayana
2020-08-24 16:42 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
2020-09-09 19:52 ` [igt-dev] [PATCH i-g-t] " Arkadiusz Hiler
2020-09-16  8:46   ` Petri Latvala

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