[planner: 34/40] build: Add missing simple-priority-scheduling option handling
- From: Mart Raudsepp <mraudsepp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [planner: 34/40] build: Add missing simple-priority-scheduling option handling
- Date: Thu, 3 Jun 2021 16:28:56 +0000 (UTC)
commit 3a2ac94e4fb0585ba4866aad1c4c067acf95dad3
Author: Mart Raudsepp <leio gentoo org>
Date: Wed Mar 4 20:20:48 2020 +0200
build: Add missing simple-priority-scheduling option handling
meson.build | 9 +++++++++
meson_options.txt | 5 +++++
2 files changed, 14 insertions(+)
---
diff --git a/meson.build b/meson.build
index 4981be3d..1b80a80b 100644
--- a/meson.build
+++ b/meson.build
@@ -32,6 +32,7 @@ conf_data.set_quoted('PLUGINDIR', planner_plugindir)
conf_data.set_quoted('STORAGEMODULEDIR', planner_storagemoduledir)
conf_data.set_quoted('FILEMODULESDIR', planner_filemoduledir)
conf_data.set_quoted('DATADIR', planner_pkgdatadir)
+conf_data.set('WITH_SIMPLE_PRIORITY_SCHEDULING', get_option('simple-priority-scheduling'))
configure_file(
output: 'config.h',
@@ -80,3 +81,11 @@ endif
subdir('docs')
meson.add_install_script('meson_post_install.sh')
+
+if get_option('simple-priority-scheduling')
+ message('*** Note: The use simple priority tasks scheduling is experimental. Don\'t use it in production
systems ***')
+endif
+
+#if get_option('eds-backend')
+# message('*** Note: The Evolution backend is experimental. Don\'t use it in production systems ***')
+#endif
diff --git a/meson_options.txt b/meson_options.txt
index ac18ef87..5df49a46 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -20,3 +20,8 @@ option('gtk_doc',
value: false,
description: 'Build API reference with gtk-doc'
)
+option('simple-priority-scheduling',
+ type: 'boolean',
+ value: false,
+ description: 'enable experimental simple priority scheduling in tasks management',
+)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]