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.
This commit is contained in:
Rémi Lacroix 2024-08-01 03:59:00 +02:00 committed by GitHub
parent e77fbfe8f8
commit ea0da49acb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")