Skip to content
Snippets Groups Projects
Commit d14dfe07 authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

fix(BrainScaleS build): Add missing dependency on inja

parent 7445a8ee
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,7 @@ class Hxtorch(WafPackage): ...@@ -28,6 +28,7 @@ class Hxtorch(WafPackage):
depends_on('genpybind@ebrains', type=('build', 'link', 'run')) depends_on('genpybind@ebrains', type=('build', 'link', 'run'))
depends_on('gflags', type=('build', 'link', 'run')) depends_on('gflags', type=('build', 'link', 'run'))
depends_on('googletest@1.11.0:+gmock', type=('build', 'link', 'run')) # variadic templates needed depends_on('googletest@1.11.0:+gmock', type=('build', 'link', 'run')) # variadic templates needed
depends_on('inja', type=('build', 'link', 'run')) # template engine for PPU source jit generation
depends_on('intel-tbb', type=('build', 'link', 'run')) # ppu gdbserver depends_on('intel-tbb', type=('build', 'link', 'run')) # ppu gdbserver
depends_on('libelf', type=('build', 'link', 'run')) depends_on('libelf', type=('build', 'link', 'run'))
depends_on('liblockfile', type=('build', 'link', 'run')) depends_on('liblockfile', type=('build', 'link', 'run'))
......
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Inja(CMakePackage):
"""Inja is a template engine for modern C++, loosely inspired by jinja for
python."""
homepage = "https://github.com/pantor/inja"
url = "https://github.com/pantor/inja/archive/refs/tags/v3.3.0.tar.gz"
version('3.3.0', sha256='e628d994762dcdaa9a97f63a9b8b73d9af51af0ffa5acea6bdbba0aceaf8ee25')
depends_on('nlohmann-json@3.8.0:')
def cmake_args(self):
args = [
'-DINJA_USE_EMBEDDED_JSON:BOOL=OFF',
'-DINJA_BUILD_TESTS:BOOL=OFF',
'-DBUILD_BENCHMARK:BOOL=OFF',
'-DCOVERALLS:BOOL=OFF',
]
return args
...@@ -27,6 +27,7 @@ class PynnBrainscales(WafPackage): ...@@ -27,6 +27,7 @@ class PynnBrainscales(WafPackage):
depends_on('genpybind@ebrains', type=('build', 'link', 'run')) depends_on('genpybind@ebrains', type=('build', 'link', 'run'))
depends_on('gflags', type=('build', 'link', 'run')) depends_on('gflags', type=('build', 'link', 'run'))
depends_on('googletest@1.11.0:+gmock', type=('build', 'link', 'run')) # variadic templates needed depends_on('googletest@1.11.0:+gmock', type=('build', 'link', 'run')) # variadic templates needed
depends_on('inja', type=('build', 'link', 'run')) # template engine for PPU source jit generation
depends_on('intel-tbb', type=('build', 'link', 'run')) # ppu gdbserver depends_on('intel-tbb', type=('build', 'link', 'run')) # ppu gdbserver
depends_on('libelf', type=('build', 'link', 'run')) depends_on('libelf', type=('build', 'link', 'run'))
depends_on('liblockfile', type=('build', 'link', 'run')) depends_on('liblockfile', type=('build', 'link', 'run'))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment