summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Olesen <Mark.Olesen@gmx.net>2021-12-22 01:47:39 +0100
committerGitHub <noreply@github.com>2021-12-21 16:47:39 -0800
commit433f743074ffd8d0369c3a31dd054a7edab0ca8d (patch)
treedda566e83a8f073ff8ecff80db607f422a545600
parent38196894db9975f701faefbb8d91b85f558c9298 (diff)
downloadspack-433f743074ffd8d0369c3a31dd054a7edab0ca8d.tar.gz
spack-433f743074ffd8d0369c3a31dd054a7edab0ca8d.tar.bz2
spack-433f743074ffd8d0369c3a31dd054a7edab0ca8d.tar.xz
spack-433f743074ffd8d0369c3a31dd054a7edab0ca8d.zip
openfoam package: add v2112 release and latest patched v2106 (#28108)
Also remove x86_64-only handling for Darwin
-rw-r--r--var/spack/repos/builtin/packages/openfoam/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/openfoam/package.py b/var/spack/repos/builtin/packages/openfoam/package.py
index 118f780602..3c054b73d1 100644
--- a/var/spack/repos/builtin/packages/openfoam/package.py
+++ b/var/spack/repos/builtin/packages/openfoam/package.py
@@ -265,6 +265,8 @@ class Openfoam(Package):
version('develop', branch='develop', submodules='True')
version('master', branch='master', submodules='True')
+ version('2112', sha256='3e838731e79db1c288acc27aad8cc8a43d9dac1f24e5773e3b9fa91419a8c3f7')
+ version('2106_211215', sha256='08c0d0b90b43505693ff8838e827f09e14ec9fb475956ef53cc2206c736277b1')
version('2106', sha256='11e41e5b9a253ef592a8f6b79f6aded623b28308192d02cec1327078523b5a37')
version('2012_210414', sha256='5260aaa79f91aad58a3a305c1a12d0d48b10f12e37cd99a6fa561969b15ea09d')
version('2012', sha256='3d6e39e39e7ae61d321fbc6db6c3748e6e5e1c4886454207a7f1a7321469e65a')
@@ -944,8 +946,7 @@ class OpenfoamArch(object):
elif target == 'ppc64le':
platform += 'PPC64le'
elif platform == 'darwin':
- if target == 'x86_64':
- platform += '64'
+ platform += '64' # aarch64 or x86_64
# ... and others?
self.arch = platform