From b7519aec1a43b03d2d0113fb8a9009df1351f8ac Mon Sep 17 00:00:00 2001
From: Eleni Mathioulaki <emathioulaki@athenarc.gr>
Date: Fri, 13 Oct 2023 11:26:35 +0200
Subject: [PATCH] setup dependent run env (for wf packages to work)

---
 packages/hxtorch/package.py          | 3 +++
 packages/pynn-brainscales/package.py | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/packages/hxtorch/package.py b/packages/hxtorch/package.py
index 28aec244..c4991029 100644
--- a/packages/hxtorch/package.py
+++ b/packages/hxtorch/package.py
@@ -153,6 +153,9 @@ class Hxtorch(WafPackage):
     def setup_run_environment(self, env):
         self._setup_common_env(env)
 
+    def setup_dependent_run_environment(self, env, dependent_spec):
+        self._setup_common_env(env)
+
     # override configure step as we perform a project setup first
     def configure(self, spec, prefix):
         """Setup and configure the project."""
diff --git a/packages/pynn-brainscales/package.py b/packages/pynn-brainscales/package.py
index 60afda33..7ce106c8 100644
--- a/packages/pynn-brainscales/package.py
+++ b/packages/pynn-brainscales/package.py
@@ -130,6 +130,9 @@ class PynnBrainscales(WafPackage):
     def setup_run_environment(self, env):
         self._setup_common_env(env)
 
+    def setup_dependent_run_environment(self, env, dependent_spec):
+        self._setup_common_env(env)
+
     # override configure step as we perform a project setup first
     def configure(self, spec, prefix):
         """Setup and configure the project."""
-- 
GitLab