openfoam: OneAPI is only supported from 2106 onwards (#34797)

Also, adios2 fortran bindings are not necessary. This circumvents
https://github.com/spack/spack/issues/31817

Co-authored-by: Stephen Sachs <stesachs@amazon.com>
This commit is contained in:
Stephen Sachs 2023-01-09 12:19:23 +01:00 committed by GitHub
parent 47011f594f
commit 288e728144
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -374,7 +374,7 @@ class Openfoam(Package):
depends_on("parmgridgen", when="+mgridgen", type="build")
depends_on("zoltan", when="+zoltan")
depends_on("vtk", when="+vtk")
depends_on("adios2", when="@1912:")
depends_on("adios2~fortran", when="@1912:")
# For OpenFOAM plugins and run-time post-processing this should just be
# 'paraview+plugins' but that resolves poorly.
@ -386,6 +386,9 @@ class Openfoam(Package):
# 1612 plugins need older paraview
depends_on("paraview@:5.0.1", when="@1612+paraview")
# Icx only support from v2106 onwards
conflicts("%oneapi", when="@:2012", msg="OneAPI compiler not supported. Try v2106 or greater.")
# General patches
common = ["spack-Allwmake", "README-spack"]
assets = [] # type: List[str]