Merge pull request #880 from DavidPoliakoff/feature/package/cnmem

Feature/package/cnmem
This commit is contained in:
David Poliakoff 2016-05-03 11:02:17 -07:00
commit f850e4d2d4

View 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')