diff --git a/var/spack/repos/builtin/packages/c-blosc/package.py b/var/spack/repos/builtin/packages/c-blosc/package.py index 8d19a7466d..0ce7bbe113 100644 --- a/var/spack/repos/builtin/packages/c-blosc/package.py +++ b/var/spack/repos/builtin/packages/c-blosc/package.py @@ -35,6 +35,10 @@ class CBlosc(CMakePackage): def cmake_args(self): args = [] + # Some of the tests do not build with icc. + if '%intel' in self.spec: + args.append('-DBUILD_TESTS=OFF') + if '+avx2' in self.spec: args.append('-DDEACTIVATE_AVX2=OFF') else: