adios2: correct c-blosc dependency (#39385)

* adios2: correct c-blosc dependency

* c-blosc2: disable oneapi spec
This commit is contained in:
Vicente Bolea 2023-08-23 17:44:26 -04:00 committed by GitHub
parent eac15badd3
commit e01b9b38ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -132,7 +132,8 @@ class Adios2(CMakePackage, CudaPackage):
depends_on("hdf5+mpi", when="+hdf5+mpi") depends_on("hdf5+mpi", when="+hdf5+mpi")
depends_on("libpressio", when="+libpressio") depends_on("libpressio", when="+libpressio")
depends_on("c-blosc", when="+blosc") depends_on("c-blosc", when="@:2.8 +blosc")
depends_on("c-blosc2", when="@2.9: +blosc")
depends_on("bzip2", when="+bzip2") depends_on("bzip2", when="+bzip2")
depends_on("libpng@1.6:", when="+png") depends_on("libpng@1.6:", when="+png")
depends_on("zfp@0.5.1:0.5", when="+zfp") depends_on("zfp@0.5.1:0.5", when="+zfp")

View file

@ -45,6 +45,8 @@ class CBlosc2(CMakePackage):
depends_on("zlib-api", when="+zlib") depends_on("zlib-api", when="+zlib")
depends_on("zstd", when="+zstd") depends_on("zstd", when="+zstd")
conflicts("%oneapi")
def cmake_args(self): def cmake_args(self):
spec = self.spec spec = self.spec