[adios2] Older versions of ifx (oneapi) fail compilation (#34819)

See https://community.intel.com/t5/Intel-Fortran-Compiler/version-node-not-found-for-symbol/m-p/1443784/thread-id/164290

Fixes https://github.com/spack/spack/issues/31817

Co-authored-by: Stephen Sachs <stesachs@amazon.com>
This commit is contained in:
Stephen Sachs 2023-01-10 11:39:42 +01:00 committed by GitHub
parent 289d6df911
commit b5a5af8c05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,6 +91,9 @@ class Adios2(CMakePackage, CudaPackage):
conflicts("%intel@:15")
conflicts("%pgi@:14")
# ifx does not support submodules in separate files
conflicts("%oneapi@:2022.1.0", when="+fortran")
depends_on("cmake@3.12.0:", type="build")
depends_on("pkgconfig", type="build")