From c591c97370ec3eaa9a6580f7882fc5ef3bc08696 Mon Sep 17 00:00:00 2001 From: Andrey Pohilko Date: Fri, 7 Jun 2013 15:32:51 +0400 Subject: [PATCH] Use phantom modules path option for generating config --- Tank/Plugins/PhantomUtils.py | 2 ++ Tank/Plugins/phantom.conf.tpl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Tank/Plugins/PhantomUtils.py b/Tank/Plugins/PhantomUtils.py index dcfddd3..1ab9388 100644 --- a/Tank/Plugins/PhantomUtils.py +++ b/Tank/Plugins/PhantomUtils.py @@ -93,6 +93,8 @@ class PhantomConfig: kwargs['benchmarks_block'] = streams_config kwargs['stat_benchmarks'] = stat_benchmarks kwargs['additional_libs'] = self.additional_libs + kwargs['phantom_modules_path'] = self.phantom_modules_path + filename = self.core.mkstemp(".conf", "phantom_") self.core.add_artifact_file(filename) diff --git a/Tank/Plugins/phantom.conf.tpl b/Tank/Plugins/phantom.conf.tpl index 23ed2ef..2e92ca0 100644 --- a/Tank/Plugins/phantom.conf.tpl +++ b/Tank/Plugins/phantom.conf.tpl @@ -1,5 +1,5 @@ setup_t module_setup = setup_module_t { - dir = "/usr/lib/phantom" + dir = "$phantom_modules_path" list = { ssl io_benchmark