From 11d8b1de37461b191432d69cff47e587f7d3dc5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Eric=20M=C3=BCller?= <mueller@kip.uni-heidelberg.de>
Date: Wed, 22 Nov 2023 11:34:02 +0100
Subject: [PATCH] fix(BSS2): build on JUSUF

The current 2024 stage compiler (gcc@12.3.0) reports a missing header and
fails.
---
 packages/hxtorch/package.py          | 4 ++--
 packages/oppulance/package.py        | 4 ++--
 packages/pynn-brainscales/package.py | 4 ++--
 spack.yaml                           | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/packages/hxtorch/package.py b/packages/hxtorch/package.py
index c4991029..12c259c5 100644
--- a/packages/hxtorch/package.py
+++ b/packages/hxtorch/package.py
@@ -16,11 +16,11 @@ class Hxtorch(WafPackage):
 
     maintainers = ['emuller']
 
-    version('7.0-rc1', branch='waf')
+    version('7.0-rc1-hotfix1', branch='waf')
 
     # compiler for the BrainScaleS-2 embedded processor ("PPU"); needed for
     # building/linking, at runtime and for testing
-    depends_on('oppulance@7.0-rc1', type=('build', 'link', 'run', 'test'))
+    depends_on('oppulance@7.0-rc1-hotfix1', type=('build', 'link', 'run', 'test'))
 
     # host software dependencies
     depends_on('bitsery', type=('build', 'link', 'run', 'test'))
diff --git a/packages/oppulance/package.py b/packages/oppulance/package.py
index c8525f3b..63a8da28 100644
--- a/packages/oppulance/package.py
+++ b/packages/oppulance/package.py
@@ -22,8 +22,8 @@ class Oppulance(Package):
 
     releases = [
         {
-            'version': '7.0-rc1',
-            'tag': 'ebrains-7.0-rc1'
+            'version': '7.0-rc1-hotfix1',
+            'tag': 'ebrains-7.0-rc1-hotfix1'
         },
     ]
 
diff --git a/packages/pynn-brainscales/package.py b/packages/pynn-brainscales/package.py
index 7ce106c8..833661bb 100644
--- a/packages/pynn-brainscales/package.py
+++ b/packages/pynn-brainscales/package.py
@@ -16,11 +16,11 @@ class PynnBrainscales(WafPackage):
 
     maintainers = ['emuller']
     
-    version('7.0-rc1', branch='waf')
+    version('7.0-rc1-hotfix1', branch='waf')
 
     # compiler for the BrainScaleS-2 embedded processor ("PPU"); needed for
     # building/linking, at runtime and for testing
-    depends_on('oppulance@7.0-rc1', type=('build', 'link', 'run', 'test'))
+    depends_on('oppulance@7.0-rc1-hotfix1', type=('build', 'link', 'run', 'test'))
 
     # host software dependencies
     depends_on('bitsery', type=('build', 'link', 'run', 'test'))
diff --git a/spack.yaml b/spack.yaml
index 28faf98c..8320a2f1 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -12,7 +12,7 @@ spack:
     - biobb-model@4.0.0
     - biobb-structure-checking@3.12.1
     - biobb-structure-utils@4.0.0
-    - hxtorch@7.0-rc1
+    - hxtorch@7.0-rc1-hotfix1
     - nest@3.6 +sonata
     - neuron@8.2.3 +mpi
     - py-bluepyefe@2.2.18
@@ -52,7 +52,7 @@ spack:
     - py-tvb-multiscale@2.1.0.ebrains
     - py-tvb-storage@2.8.1
     - py-viziphant@0.3.0
-    - pynn-brainscales@7.0-rc1
+    - pynn-brainscales@7.0-rc1-hotfix1
     - r-rgsl@0.1.1
     - r-sbtabvfgen@0.1
     - r-uqsa@2.2
-- 
GitLab