summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@lanl.gov>2021-01-27 14:19:48 -0700
committerGitHub <noreply@github.com>2021-01-27 14:19:48 -0700
commit6b63441281f469986b149a9ba0e38ff55cf8cf4d (patch)
tree93be83484e0077f286929df989092428c0a4d9bc
parent5ef2daaa4a4a0b12c8adcedf496f6b9e61e8950e (diff)
downloadspack-6b63441281f469986b149a9ba0e38ff55cf8cf4d.tar.gz
spack-6b63441281f469986b149a9ba0e38ff55cf8cf4d.tar.bz2
spack-6b63441281f469986b149a9ba0e38ff55cf8cf4d.tar.xz
spack-6b63441281f469986b149a9ba0e38ff55cf8cf4d.zip
libecpint: initial add (#21353)
* libecpint: initial add * flake8
-rw-r--r--var/spack/repos/builtin/packages/libecpint/package.py30
1 files changed, 30 insertions, 0 deletions
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