summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cnmem/package.py
blob: 0a83e8fc205948a132fc95d881afbf953ee5654f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
from spack import *

class Cnmem(Package):
    """CNMem mempool for CUDA devices"""
    homepage = "https://github.com/NVIDIA/cnmem"

    version('git', git='https://github.com/NVIDIA/cnmem.git', branch="master")

    def install(self, spec, prefix):
            cmake('.',*std_cmake_args)
            make()
            make('install')