From b688bb549b984bae1b3b2bb2e774a05778f862c0 Mon Sep 17 00:00:00 2001 From: Keita Iwabuchi Date: Fri, 14 Feb 2020 22:34:32 -0800 Subject: [PATCH] Add a new package: Metall (#14903) * Add a new package: Metall * Fix errors in metall/package.py * Update var/spack/repos/builtin/packages/metall/package.py Change to https style URL Co-Authored-By: Adam J. Stewart * Update in metall/package.py. Change Metall to depend on Boost always * Update in metall/package.py. Change to install Boost with the default variants * Update metall/package.py. Removed a comment Co-authored-by: Adam J. Stewart --- .../repos/builtin/packages/metall/package.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/metall/package.py diff --git a/var/spack/repos/builtin/packages/metall/package.py b/var/spack/repos/builtin/packages/metall/package.py new file mode 100644 index 0000000000..cec7669ad2 --- /dev/null +++ b/var/spack/repos/builtin/packages/metall/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2020 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) + + +class Metall(CMakePackage): + """An allocator for persistent memory""" + + homepage = "https://github.com/LLNL/metall" + git = "https://github.com/LLNL/metall.git" + + maintainers = ['KIwabuchi', 'rogerpearce', 'mayagokhale'] + + version('develop', branch='develop') + + depends_on('boost@1.64:', type=('build', 'link')) + + def cmake_args(self): + args = [] + args.append('-DINSTALL_HEADER_ONLY=ON') + return args