Merge pull request #880 from DavidPoliakoff/feature/package/cnmem
Feature/package/cnmem
This commit is contained in:
commit
f850e4d2d4
12
var/spack/repos/builtin/packages/cnmem/package.py
Normal file
12
var/spack/repos/builtin/packages/cnmem/package.py
Normal file
@ -0,0 +1,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')
|
Loading…
Reference in New Issue
Block a user