Loading scripts/spack/packages/gekkofs/package.py +3 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ to I/O, which reduces interferences and improves performance.""" variant('agios', default=False, description='Enables the AGIOS scheduler for the forwarding mode.') variant('guided_distributor', default=False, description='Enables the guided distributor.') variant('prometheus', default=False, description='Enables Prometheus support for statistics.') variant('parallax', default=False, description='Enables Parallax key-value database.') variant('dedicated_psm2', default=False, description='Use dedicated _non-system_ opa-psm2 version 11.2.185.') variant('compile', default='x86', multi=False, values=('x86','powerpc','arm'), description='Architecture to compile syscall intercept.') # general dependencies Loading Loading @@ -70,6 +71,7 @@ to I/O, which reduces interferences and improves performance.""" depends_on('agios@latest', when='@master +agios') # Prometheus CPP depends_on('prometheus-cpp', when='@0.9:,latest +prometheus') depends_on('parallax', when='@0.9:,latest +parallax') def cmake_args(self): """Set up GekkoFS CMake arguments""" Loading @@ -79,6 +81,7 @@ to I/O, which reduces interferences and improves performance.""" self.define_from_variant('GKFS_ENABLE_AGIOS', 'agios'), self.define_from_variant('GKFS_USE_GUIDED_DISTRIBUTION', 'guided_distributor'), self.define_from_variant('GKFS_ENABLE_PROMETHEUS', 'prometheus'), self.define_from_variant('GKFS_USE_PARALLAX', 'parallax'), ] return args Loading scripts/spack/packages/parallax/package.py 0 → 100644 +42 −0 Original line number Diff line number Diff line # 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) # ---------------------------------------------------------------------------- # If you submit this package back to Spack as a pull request, # please first remove this boilerplate and all FIXME comments. # # This is a template package file for Spack. We've put "FIXME" # next to all the things you'll want to change. Once you've handled # them, you can save this file and test your package like this: # # spack install parallax # # You can edit this file again by typing: # # spack edit parallax # # See the Spack documentation for more information on packaging. # ---------------------------------------------------------------------------- from spack.package import * class Parallax(CMakePackage): """Parallax Key-vale database.""" # FIXME: Add a proper url for your package's homepage here. homepage = "https://github.com/CARV-ICS-FORTH/paralla" git = "https://github.com/CARV-ICS-FORTH/parallax.git" # FIXME: Add a list of GitHub accounts to # notify when the package is updated. # maintainers("github_user1", "github_user2") # FIXME: Add proper versions and checksums here. version('1.0.0', commit='ffdea6e820f5c4c2d33e60d9a4b15ef9e6bbcfdd') # FIXME: Add dependencies if required. #depends_on("foo") Loading
scripts/spack/packages/gekkofs/package.py +3 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ to I/O, which reduces interferences and improves performance.""" variant('agios', default=False, description='Enables the AGIOS scheduler for the forwarding mode.') variant('guided_distributor', default=False, description='Enables the guided distributor.') variant('prometheus', default=False, description='Enables Prometheus support for statistics.') variant('parallax', default=False, description='Enables Parallax key-value database.') variant('dedicated_psm2', default=False, description='Use dedicated _non-system_ opa-psm2 version 11.2.185.') variant('compile', default='x86', multi=False, values=('x86','powerpc','arm'), description='Architecture to compile syscall intercept.') # general dependencies Loading Loading @@ -70,6 +71,7 @@ to I/O, which reduces interferences and improves performance.""" depends_on('agios@latest', when='@master +agios') # Prometheus CPP depends_on('prometheus-cpp', when='@0.9:,latest +prometheus') depends_on('parallax', when='@0.9:,latest +parallax') def cmake_args(self): """Set up GekkoFS CMake arguments""" Loading @@ -79,6 +81,7 @@ to I/O, which reduces interferences and improves performance.""" self.define_from_variant('GKFS_ENABLE_AGIOS', 'agios'), self.define_from_variant('GKFS_USE_GUIDED_DISTRIBUTION', 'guided_distributor'), self.define_from_variant('GKFS_ENABLE_PROMETHEUS', 'prometheus'), self.define_from_variant('GKFS_USE_PARALLAX', 'parallax'), ] return args Loading
scripts/spack/packages/parallax/package.py 0 → 100644 +42 −0 Original line number Diff line number Diff line # 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) # ---------------------------------------------------------------------------- # If you submit this package back to Spack as a pull request, # please first remove this boilerplate and all FIXME comments. # # This is a template package file for Spack. We've put "FIXME" # next to all the things you'll want to change. Once you've handled # them, you can save this file and test your package like this: # # spack install parallax # # You can edit this file again by typing: # # spack edit parallax # # See the Spack documentation for more information on packaging. # ---------------------------------------------------------------------------- from spack.package import * class Parallax(CMakePackage): """Parallax Key-vale database.""" # FIXME: Add a proper url for your package's homepage here. homepage = "https://github.com/CARV-ICS-FORTH/paralla" git = "https://github.com/CARV-ICS-FORTH/parallax.git" # FIXME: Add a list of GitHub accounts to # notify when the package is updated. # maintainers("github_user1", "github_user2") # FIXME: Add proper versions and checksums here. version('1.0.0', commit='ffdea6e820f5c4c2d33e60d9a4b15ef9e6bbcfdd') # FIXME: Add dependencies if required. #depends_on("foo")