summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuomas Koskela <t.koskela@ucl.ac.uk>2024-10-07 14:04:40 +0100
committerGitHub <noreply@github.com>2024-10-07 15:04:40 +0200
commit741b6bc0e405804696fb1022996dfe4fb3544084 (patch)
tree741ea6def14110c43d6119f5c77c6dbf5684db60
parentff98c1506590f160b3d97a6b5df00123dc702a40 (diff)
downloadspack-741b6bc0e405804696fb1022996dfe4fb3544084.tar.gz
spack-741b6bc0e405804696fb1022996dfe4fb3544084.tar.bz2
spack-741b6bc0e405804696fb1022996dfe4fb3544084.tar.xz
spack-741b6bc0e405804696fb1022996dfe4fb3544084.zip
cubature: Add new package (#46838)
* cubature: Add new package * cubature: formatting
-rw-r--r--var/spack/repos/builtin/packages/cubature/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cubature/package.py b/var/spack/repos/builtin/packages/cubature/package.py
new file mode 100644
index 0000000000..75560cbea9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cubature/package.py
@@ -0,0 +1,17 @@
+# Copyright 2013-2024 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.package import *
+
+
+class Cubature(CMakePackage):
+ """multi-dimensional adaptive integration (cubature) in C"""
+
+ url = "https://github.com/stevengj/cubature/archive/refs/tags/v1.0.4.tar.gz"
+ git = "https://github.com/stevengj/cubature"
+
+ license("GPL-2")
+
+ version("1.0.4", sha256="cd4899de0b047a9d220cfb751a8bdbb8fd0c97c1c894d07523b75168e6426f60")