From 6597838c0bb61fc308d89631c670fd56b467ec55 Mon Sep 17 00:00:00 2001
From: Eleni Mathioulaki <emathioulaki@athenarc.gr>
Date: Wed, 20 Sep 2023 13:34:40 +0200
Subject: [PATCH] also add cereal to ppu_include_dirs

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

diff --git a/packages/hxtorch/package.py b/packages/hxtorch/package.py
index a470f65b..137eebc6 100644
--- a/packages/hxtorch/package.py
+++ b/packages/hxtorch/package.py
@@ -24,7 +24,7 @@ class Hxtorch(WafPackage):
     depends_on('bitsery', type=('build', 'link', 'run', 'test'))
     depends_on('binutils+gold+ld+plugins', type=('build', 'link', 'run')) # specialize
     depends_on('boost@1.69.0: +graph+icu+mpi+numpy+coroutine+context+filesystem+python+serialization+system+thread+program_options cxxstd=17', type=('build', 'link', 'run', 'test'))
-    depends_on('cereal', type=('build', 'link', 'run'))
+    depends_on('cereal', type=('build', 'link', 'run', 'test'))
     depends_on('cppcheck', type=('build', 'link', 'run'))
     depends_on('genpybind@ebrains', type=('build', 'link', 'run'))
     depends_on('gflags', type=('build', 'link', 'run'))
@@ -137,7 +137,7 @@ class Hxtorch(WafPackage):
         # grenade needs to find some libraries for the JIT-compilation of
         # programs for BrainScaleS-2's embedded processor.
         ppu_include_dirs = []
-        ppu_dep_names = ['bitsery', 'boost']
+        ppu_dep_names = ['bitsery', 'boost', 'cereal']
         for ppu_dep_name in ppu_dep_names:
             dep = self.spec[ppu_dep_name]
             dep_include_dirs = set(dep.headers.directories)
diff --git a/packages/pynn-brainscales/package.py b/packages/pynn-brainscales/package.py
index ac532a84..2b05efb3 100644
--- a/packages/pynn-brainscales/package.py
+++ b/packages/pynn-brainscales/package.py
@@ -24,7 +24,7 @@ class PynnBrainscales(WafPackage):
     depends_on('bitsery', type=('build', 'link', 'run', 'test'))
     depends_on('binutils+gold+ld+plugins', type=('build', 'link', 'run')) # specialize
     depends_on('boost@1.69.0: +graph+icu+mpi+numpy+coroutine+context+filesystem+python+serialization+system+thread+program_options cxxstd=17', type=('build', 'link', 'run', 'test'))
-    depends_on('cereal', type=('build', 'link', 'run'))
+    depends_on('cereal', type=('build', 'link', 'run', 'test'))
     depends_on('cppcheck', type=('build', 'link', 'run'))
     depends_on('genpybind@ebrains', type=('build', 'link', 'run'))
     depends_on('gflags', type=('build', 'link', 'run'))
@@ -114,7 +114,7 @@ class PynnBrainscales(WafPackage):
         # grenade needs to find some libraries for the JIT-compilation of
         # programs for BrainScaleS-2's embedded processor.
         ppu_include_dirs = []
-        ppu_dep_names = ['bitsery', 'boost']
+        ppu_dep_names = ['bitsery', 'boost', 'cereal']
         for ppu_dep_name in ppu_dep_names:
             dep = self.spec[ppu_dep_name]
             dep_include_dirs = set(dep.headers.directories)
-- 
GitLab