diff options
author | RĂ©mi Lacroix <remi.lacroix@idris.fr> | 2021-03-31 23:19:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 23:19:37 +0200 |
commit | bb60dbd2ad1e059a6cdbccc83273ed36a9ed51c8 (patch) | |
tree | 2e72e43ec2b450803b3d8beb8f3e28c7c8380220 /var | |
parent | 772dd7bcb2689a7a9bdeec6be8713f3be56bfc31 (diff) | |
download | spack-bb60dbd2ad1e059a6cdbccc83273ed36a9ed51c8.tar.gz spack-bb60dbd2ad1e059a6cdbccc83273ed36a9ed51c8.tar.bz2 spack-bb60dbd2ad1e059a6cdbccc83273ed36a9ed51c8.tar.xz spack-bb60dbd2ad1e059a6cdbccc83273ed36a9ed51c8.zip |
OpenFOAM-org: Add version 2.3.1. (#22473)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/openfoam-org/package.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/openfoam-org/package.py b/var/spack/repos/builtin/packages/openfoam-org/package.py index c6d756ddbd..42e2b0cc09 100644 --- a/var/spack/repos/builtin/packages/openfoam-org/package.py +++ b/var/spack/repos/builtin/packages/openfoam-org/package.py @@ -77,6 +77,8 @@ class OpenfoamOrg(Package): url=baseurl + '/OpenFOAM-4.x/archive/version-4.1.tar.gz') version('2.4.0', sha256='9529aa7441b64210c400c019dcb2e0410fcfd62a6f62d23b6c5994c4753c4465', url=baseurl + '/OpenFOAM-2.4.x/archive/version-2.4.0.tar.gz') + version('2.3.1', sha256='2bbcf4d5932397c2087a9b6d7eeee6d2b1350c8ea4f455415f05e7cd94d9e5ba', + url='http://downloads.sourceforge.net/foam/OpenFOAM-2.3.1.tgz') variant('int64', default=False, description='Compile with 64-bit label') @@ -109,8 +111,11 @@ class OpenfoamOrg(Package): patch('50-etc.patch', when='@5.0:5.9') patch('41-etc.patch', when='@4.1') patch('41-site.patch', when='@4.1:') - patch('240-etc.patch', when='@2.4.0') + patch('240-etc.patch', when='@:2.4.0') patch('isnan.patch', when='@:2.4.0') + # Add support for SYSTEMMPI + patch('https://github.com/OpenFOAM/OpenFOAM-2.3.x/commit/ae9a670c99472787f3a5446ac2b522bf3519b796.patch', + sha256='6c4c535baca3ce64035d512265c4ce8effd39de7602c923c5e19985db68b632a', when='@:2.3.1') # The openfoam architecture, compiler information etc _foam_arch = None |