From d00c9b3777c47a8a19b0d1ecaff26f58b799afa2 Mon Sep 17 00:00:00 2001 From: Mordan Vitalii Date: Mon, 16 Oct 2023 21:34:16 +0530 Subject: [PATCH] Update kernel version for CV exporter --- scripts/runner.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/runner.py b/scripts/runner.py index c2d1aec..ca9ee8d 100755 --- a/scripts/runner.py +++ b/scripts/runner.py @@ -61,6 +61,8 @@ TAG_OUTPUT_DIR = "output dir" TAG_TASKS_DIR = "tasks dir" TAG_CONFIG_COMMAND = "config command" +TAG_EXPORTER = "Exporter" +TAG_VERSION = "version" DEFAULT_CONFIG_COMMAND = "allmodconfig" DEFAULT_ARCH = "x86_64" @@ -167,6 +169,10 @@ def __update_job_config(self, build_base_dir: str): os.unlink(dst_build_base_dir) os.symlink(build_base_dir, dst_build_base_dir) job_config[TAG_BUILD_BASE] = build_base_dir_name + if TAG_EXPORTER not in job_config: + job_config[TAG_EXPORTER] = {} + if self.version: + job_config[TAG_EXPORTER][TAG_VERSION] = self.version bridge_config[COMPONENT_BENCHMARK_LAUNCHER][TAG_OUTPUT_DIR] = \ os.path.join(self.klever_deploy_dir, KLEVER_TASKS_DIR) bridge_config[COMPONENT_BENCHMARK_LAUNCHER][TAG_TASKS_DIR] = \