summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pavel <rspavel@lanl.gov>2021-04-22 19:35:43 -0600
committerGitHub <noreply@github.com>2021-04-22 18:35:43 -0700
commite64fe115067e0f20811ef784d8a8ef028b195c6a (patch)
treea91ee33f58ef1e04f4b33717a7740d62bbb7629c
parent09028f7407f3aceeb81f882d53d5bd003e63c86c (diff)
downloadspack-e64fe115067e0f20811ef784d8a8ef028b195c6a.tar.gz
spack-e64fe115067e0f20811ef784d8a8ef028b195c6a.tar.bz2
spack-e64fe115067e0f20811ef784d8a8ef028b195c6a.tar.xz
spack-e64fe115067e0f20811ef784d8a8ef028b195c6a.zip
Initial Version of Ascent Miniapp Spackage (#23170)
Initial version of ascent miniapp spackage
-rw-r--r--var/spack/repos/builtin/packages/miniapp-ascent/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/miniapp-ascent/package.py b/var/spack/repos/builtin/packages/miniapp-ascent/package.py
new file mode 100644
index 0000000000..7a73151ec8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/miniapp-ascent/package.py
@@ -0,0 +1,22 @@
+# 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 MiniappAscent(Package):
+ """Pantheon/E4S/Ascent in-situ miniapp example workflow"""
+
+ homepage = "https://github.com/cinemascienceworkflows/2021-04_Miniapp-Ascent"
+ git = "https://github.com/cinemascienceworkflows/2021-04_Miniapp-Ascent.git"
+ url = "https://github.com/cinemascienceworkflows/2021-04_Miniapp-Ascent/archive/refs/heads/master.zip"
+
+ version('master',
+ branch='master')
+
+ depends_on("ascent", type=('run'))
+
+ def install(self, spec, prefix):
+ install_tree(self.stage.source_path, prefix)