From 6b63441281f469986b149a9ba0e38ff55cf8cf4d Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Wed, 27 Jan 2021 14:19:48 -0700 Subject: [PATCH] libecpint: initial add (#21353) * libecpint: initial add * flake8 --- .../builtin/packages/libecpint/package.py | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 var/spack/repos/builtin/packages/libecpint/package.py diff --git a/var/spack/repos/builtin/packages/libecpint/package.py b/var/spack/repos/builtin/packages/libecpint/package.py new file mode 100644 index 0000000000..f0bbf8c8ba --- /dev/null +++ b/var/spack/repos/builtin/packages/libecpint/package.py @@ -0,0 +1,30 @@ +# Copyright 2013-2021 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 Libecpint(CMakePackage): + """A C++ library for the efficient evaluation of integrals over effective core + potentials. + """ + + homepage = "https://github.com/robashaw/libecpint" + url = "https://github.com/robashaw/libecpint/archive/v1.0.4.tar.gz" + git = "https://github.com/robashaw/libecpint" + + version('master', branch='master') + version('1.0.4', sha256='fad9d1ac98f8dcd40f7bee69aef653bfa3079f016e43277cbd554e06890aa186') + version('1.0.3', sha256='13c3f7d1cf35355e37a903196d5cace60f6a72ae041e8b3502dfabdd19dde17a') + version('1.0.2', sha256='2fb73af4d30a40bdd9df9e04b1f762c38ab7ed3a39c11509f3f87250fe0b5778') + version('1.0.1', sha256='245b89fe8cb0a92cbbb79c811b48cb15fcfc937389df89387466f1bf76a096bf') + version('1.0.0', sha256='47d741cc48a543ef9c85483cb2d5cd1c9f6677fa7e9920886d083b3c25232379') + + depends_on('pugixml') + depends_on('googletest') + + def cmake_args(self): + args = ['-DBUILD_SHARED_LIBS=ON'] + return args