libecpint: initial add (#21353)

* libecpint: initial add

* flake8
This commit is contained in:
Christoph Junghans 2021-01-27 14:19:48 -07:00 committed by GitHub
parent 5ef2daaa4a
commit 6b63441281
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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