summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorRĂ©mi Lacroix <remi.lacroix@idris.fr>2024-08-01 03:59:00 +0200
committerGitHub <noreply@github.com>2024-08-01 03:59:00 +0200
commitea0da49acb84e4483de4b946c6775f2a4c8a5427 (patch)
tree987db4c65eb600c98dc03053d48af61a4c25cdbe /var
parente77fbfe8f834187c4983a46bf3f7d4d85a875fd2 (diff)
downloadspack-ea0da49acb84e4483de4b946c6775f2a4c8a5427.tar.gz
spack-ea0da49acb84e4483de4b946c6775f2a4c8a5427.tar.bz2
spack-ea0da49acb84e4483de4b946c6775f2a4c8a5427.tar.xz
spack-ea0da49acb84e4483de4b946c6775f2a4c8a5427.zip
OpenFOAM-org: Add missing dependency on readline for @:9 (#44482)
The setSet tool (removed in version 10) has an optional dependency on readline. The build script will use the system readline if not provided by Spack.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/openfoam-org/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openfoam-org/package.py b/var/spack/repos/builtin/packages/openfoam-org/package.py
index 78140182e7..ad9c89dead 100644
--- a/var/spack/repos/builtin/packages/openfoam-org/package.py
+++ b/var/spack/repos/builtin/packages/openfoam-org/package.py
@@ -106,6 +106,8 @@ class OpenfoamOrg(Package):
depends_on("zlib-api")
depends_on("flex")
depends_on("cmake", type="build")
+ # The setSet tool (removed in version 10) depends on readline
+ depends_on("readline", when="@:9")
# Require scotch with ptscotch - corresponds to standard OpenFOAM setup
depends_on("scotch~metis+mpi~int64", when="+scotch~int64")