summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-05-26 17:17:25 +0800
committerGitHub <noreply@github.com>2020-05-26 11:17:25 +0200
commitd7fb8701c2b4c39e0d76b230e2a39198436a2b30 (patch)
tree4ade749729ce1ab429576145ccec874da9962b93
parent7383d923f0db782362087c4fed07cb4de637440c (diff)
downloadspack-d7fb8701c2b4c39e0d76b230e2a39198436a2b30.tar.gz
spack-d7fb8701c2b4c39e0d76b230e2a39198436a2b30.tar.bz2
spack-d7fb8701c2b4c39e0d76b230e2a39198436a2b30.tar.xz
spack-d7fb8701c2b4c39e0d76b230e2a39198436a2b30.zip
su2: new package at v7.0.3 (#16787)
-rw-r--r--var/spack/repos/builtin/packages/su2/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/su2/package.py b/var/spack/repos/builtin/packages/su2/package.py
new file mode 100644
index 0000000000..3aa51e5828
--- /dev/null
+++ b/var/spack/repos/builtin/packages/su2/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2020 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 Su2(MesonPackage):
+ """SU2 is a suite of open-source software tools written in C++ for
+ the numerical solution of partial differential equations (PDE) and
+ performing PDE constrained optimization."""
+
+ homepage = "https://su2code.github.io"
+ url = "https://github.com/su2code/SU2/archive/v7.0.3.tar.gz"
+
+ version('7.0.3', sha256='7fc01deaad9baabbe0ccd162a4b565172d49e573e79abcb65433b51ff29bda06')
+ version('7.0.2', sha256='69e51d52c5a84fb572bd6a83faf8f9fd04471fbf7d5b70d967c7306c1d4e17d9')
+ version('7.0.1', sha256='eb0550c82ccaef8cb71e4a8775aa71d2020ef085ec3dd19dfafff5d301034f6f')
+ version('7.0.0', sha256='6207dcca15eaebc11ce12b2866c937b4ad9b93274edf6f23d0487948ac3963b8')
+ version('6.2.0', sha256='ffc953326e8432a1a6534556a5f6cf086046d3149cfcec6b4e7390eebe30ce2e')
+
+ depends_on('python@3:', type=('build', 'run'))