blob: d164cc9c1f6edb056308c4f1ac0fb4caefd1d4aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Raft(CMakePackage):
"""RAFT: Reconstruct Algorithms for Tomography.
Toolbox under development at Brazilian Synchrotron Light Source."""
homepage = "https://bitbucket.org/gill_martinez/raft_aps"
url = "https://bitbucket.org/gill_martinez/raft_aps/get/1.2.3.tar.gz"
git = "https://bitbucket.org/gill_martinez/raft_aps.git"
version('develop', branch='master')
version('1.2.3', sha256='c41630e74491c8db272dcf4707e9b11cdcb226c0b7e978ca6eba8006f47bdae6')
depends_on('mpi')
depends_on('cmake', type='build')
depends_on('hdf5')
depends_on('fftw')
depends_on('cuda')
def install(self, spec, prefix):
"""RAFT lacks an install in its CMakeList"""
with working_dir(self.stage.source_path):
mkdirp(prefix)
# We only care about the binary
install_tree('bin', prefix.bin)
|