Do not build c-blosc test if intel in spec (#12110)
While the c-blosc library compiles with icc some of the c-blosc tests do not. Disable the tests so that the spack build can continue.
This commit is contained in:
parent
0d690edfb2
commit
42c3782f7e
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,10 @@ class CBlosc(CMakePackage):
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
args = []
|
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:
|
if '+avx2' in self.spec:
|
||||||
args.append('-DDEACTIVATE_AVX2=OFF')
|
args.append('-DDEACTIVATE_AVX2=OFF')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue