From 27e0d16eef2817956977adc2c78ebbefed314e6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Eric=20M=C3=BCller?= <mueller@kip.uni-heidelberg.de>
Date: Wed, 3 Apr 2024 10:58:49 +0200
Subject: [PATCH] fix(jaxsnn): Provide genpybind via build-brainscales

This is somewhat ugly, we should rather introduce a list of dependencies
that are requires for building `hxtorch.core` (which is build by both,
`hxtorch` and `jaxsnn`) and use it in jaxsnn.
---
 packages/build-brainscales/package.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/packages/build-brainscales/package.py b/packages/build-brainscales/package.py
index a919b949..4fc13e34 100644
--- a/packages/build-brainscales/package.py
+++ b/packages/build-brainscales/package.py
@@ -18,6 +18,9 @@ class BuildBrainscales(WafPackage):
     depends_on('git', type=('build', 'link'))
     depends_on('py-git-review', type=('build', 'link'))
 
+    # hack to provide genpybind PATH in all brainscales-style builds
+    depends_on('genpybind@ebrains', type=('build', 'link'))
+
     def do_fetch(self, mirror_only=False):
         """Setup the project."""
 
-- 
GitLab