blob: 44d4828b97c83949b3fc990979bcf69ce3baf62a (
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-2018 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', '4d1b106d9b3493e63dde96f7dd44b834')
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)
|