blob: 074e832dc127738f97f3556cd055f69055ee3bf5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Copyright 2013-2019 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 Thrust(Package):
"""Thrust is a parallel algorithms library
which resembles the C++ Standard Template Library (STL)."""
homepage = "https://thrust.github.io"
url = "https://github.com/thrust/thrust/archive/1.8.2.tar.gz"
version('1.8.2', 'fc7fc807cba98640c816463b511fb53f')
def install(self, spec, prefix):
install_tree('doc', join_path(prefix, 'doc'))
install_tree('examples', join_path(prefix, 'examples'))
install_tree('thrust', join_path(prefix, 'include', 'thrust'))
|