blob: 17411dcddb0d5ad6d2f342841acfefb6c89482e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# 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 Cub(Package):
"""CUB is a C++ header library of cooperative threadblock primitives
and other utilities for CUDA kernel programming."""
homepage = "https://nvlabs.github.com/cub"
url = "https://github.com/NVlabs/cub/archive/1.7.1.zip"
version('1.7.1', sha256='50b8777b83093fdfdab429a61fccdbfbbb991b3bbc08385118e5ad58e8f62e1d')
def install(self, spec, prefix):
mkdirp(prefix.include)
install_tree('cub', join_path(prefix.include, 'cub'))
|