summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorStephen Sachs <stephenmsachs@gmail.com>2023-01-09 12:19:23 +0100
committerGitHub <noreply@github.com>2023-01-09 12:19:23 +0100
commit288e72814491c9ea579f5baa4c039c69ba2a0ca2 (patch)
tree5fbc5762ffc0d79ad39f258a5f566705bacfa369 /var
parent47011f594f6558b623af68f728e14894d5da0939 (diff)
downloadspack-288e72814491c9ea579f5baa4c039c69ba2a0ca2.tar.gz
spack-288e72814491c9ea579f5baa4c039c69ba2a0ca2.tar.bz2
spack-288e72814491c9ea579f5baa4c039c69ba2a0ca2.tar.xz
spack-288e72814491c9ea579f5baa4c039c69ba2a0ca2.zip
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>
Diffstat (limited to 'var')
-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]