SIRIUS, SpFFT: updated package recipes and versions (#14469)
This commit is contained in:
		
				
					committed by
					
						
						Massimiliano Culpo
					
				
			
			
				
	
			
			
			
						parent
						
							6edc7a2558
						
					
				
				
					commit
					465577847d
				
			@@ -19,6 +19,8 @@ class Sirius(CMakePackage, CudaPackage):
 | 
			
		||||
    version('develop', branch='develop')
 | 
			
		||||
    version('master', branch='master')
 | 
			
		||||
 | 
			
		||||
    version('6.4.3', sha256='4d1effeadb84b3e1efd7d9ac88018ef567aa2e0aa72e1112f0abf2e493e2a189')
 | 
			
		||||
    version('6.4.2', sha256='40b9b66deebb6538fc0f4cd802554d0d763ea6426b9b2f0e8db8dc617e494479')
 | 
			
		||||
    version('6.4.1', sha256='86f25c71517952a63e92e0a9bcf66d27e4afb2b0d67cf84af480f116b8e7f53c')
 | 
			
		||||
    version('6.4.0', sha256='bc61758b71dd2996e2ff515b8c3560b2c69c00931cb2811a163a31bcfea4436e')
 | 
			
		||||
    version('6.3.4', sha256='8839e988b4bb6ef99b6180f7fba03a5537e31fce51bb3e4c2298b513d6a07e0a')
 | 
			
		||||
 
 | 
			
		||||
@@ -13,6 +13,8 @@ class Spfft(CMakePackage):
 | 
			
		||||
    homepage = "https://github.com/eth-cscs/SpFFT"
 | 
			
		||||
    url      = "https://github.com/eth-cscs/SpFFT/archive/v0.9.8.zip"
 | 
			
		||||
 | 
			
		||||
    version('0.9.10', sha256='9cbbb7ba5e53e17eeb45e809841d8272e5333f739c2442a99c3e255c1ddec3e9')
 | 
			
		||||
    version('0.9.9', sha256='a8fd7a2d767716bb73185ca03bf4c106c6981b79130f3e456e5d2e744a2b3ba0')
 | 
			
		||||
    version('0.9.8', sha256='f49fa51316bbfa68309e951d2375e1f6904120c93868cbe13bc2974c0b801a3f')
 | 
			
		||||
 | 
			
		||||
    variant('openmp', default=True, description="Build with OpenMP support")
 | 
			
		||||
@@ -21,6 +23,7 @@ class Spfft(CMakePackage):
 | 
			
		||||
    variant('gpu_direct', default=False, description="GPU aware MPI")
 | 
			
		||||
    variant('static', default=False, description="build static library")
 | 
			
		||||
    variant('cuda', default=False, description="CUDA")
 | 
			
		||||
    variant('fortran', default=False, description="enable fortran")
 | 
			
		||||
    variant('build_type', default='Release', description='CMake build type',
 | 
			
		||||
            values=('Debug', 'Release', 'RelWithDebInfo'))
 | 
			
		||||
    depends_on('fftw')
 | 
			
		||||
@@ -38,7 +41,10 @@ def cmake_args(self):
 | 
			
		||||
        if self.spec.satisfies('+gpu_direct'):
 | 
			
		||||
            args += ["-DSPFFT_GPU_DIRECT=On"]
 | 
			
		||||
        if self.spec.satisfies('+cuda'):
 | 
			
		||||
            args += ["-DSPFFT_BACKEND=CUDA"]
 | 
			
		||||
        if self.spec.satisfies('+cuda'):
 | 
			
		||||
            args += ["-DSPFFT_BACKEND=CUDA"]
 | 
			
		||||
            args += ["-DSPFFT_GPU_BACKEND=CUDA"]
 | 
			
		||||
        if self.spec.satisfies('+fortran'):
 | 
			
		||||
            args += ["-DSPFFT_FORTAN=On"]
 | 
			
		||||
        if self.spec.satisfies('+static'):
 | 
			
		||||
            args += ["-DSPFFT_STATIC=On"]
 | 
			
		||||
 | 
			
		||||
        return args
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user