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:
		 Glenn Johnson
					Glenn Johnson
				
			
				
					committed by
					
						 Adam J. Stewart
						Adam J. Stewart
					
				
			
			
				
	
			
			
			 Adam J. Stewart
						Adam J. Stewart
					
				
			
						parent
						
							0d690edfb2
						
					
				
				
					commit
					42c3782f7e
				
			| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user