summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/openfoam/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/openfoam/package.py b/var/spack/repos/builtin/packages/openfoam/package.py
index f6c8ff34ef..954e4b176e 100644
--- a/var/spack/repos/builtin/packages/openfoam/package.py
+++ b/var/spack/repos/builtin/packages/openfoam/package.py
@@ -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]