summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSaqib Khan <saqibkhan@utexas.edu>2022-11-09 17:50:54 -0600
committerGitHub <noreply@github.com>2022-11-10 00:50:54 +0100
commit489de38890c739b524eee4fd04af0856b070156e (patch)
tree23f2d2bfdf1214c63f2da3e0e83763f14f89b44f /var
parent2a20520cc88c15fc3c2bf11a7a693b71c93234d3 (diff)
downloadspack-489de38890c739b524eee4fd04af0856b070156e.tar.gz
spack-489de38890c739b524eee4fd04af0856b070156e.tar.bz2
spack-489de38890c739b524eee4fd04af0856b070156e.tar.xz
spack-489de38890c739b524eee4fd04af0856b070156e.zip
New Package: y-cruncher (#33754)
y-cruncher is a program that can compute Pi and other constants to trillions of digits. Signed-off-by: saqibkh <saqibkhan@utexas.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ycruncher/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ycruncher/package.py b/var/spack/repos/builtin/packages/ycruncher/package.py
new file mode 100644
index 0000000000..86070ee64b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ycruncher/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2022 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 Ycruncher(Package):
+ """
+ y-cruncher is a program that can compute Pi and other constants to
+ trillions of digits. It is the first of its kind that is multi-threaded
+ and scalable to multi-core systems
+ """
+
+ homepage = "http://www.numberworld.org/y-cruncher/"
+ url = "http://www.numberworld.org/y-cruncher/y-cruncher%20v0.7.10.9513-static.tar.xz"
+ maintainers = ["saqibkh"]
+
+ version("0.7.10.9513", "292006496bba83bf0f8c354ceb1c2ea571f0c67b9fe46297701a8d387773db1b")
+
+ depends_on("autoconf")
+
+ def install(self, spec, prefix):
+ install_tree(".", prefix)