Add top-level attributes for git M-P packages
This commit is contained in:

committed by
Todd Gamblin

parent
4c6aca533a
commit
908d2dcd4d
@@ -30,11 +30,10 @@ class Mshadow(Package):
|
||||
in C++/CUDA."""
|
||||
|
||||
homepage = "https://github.com/dmlc/mshadow"
|
||||
url = "https://github.com/dmlc/mshadow/archive/v1.1.tar.gz"
|
||||
git = "https://github.com/dmlc/mshadow.git"
|
||||
|
||||
version('master', git='https://github.com/dmlc/mshadow.git', branch='master')
|
||||
version('20170721', git='https://github.com/dmlc/mshadow.git',
|
||||
commit='20b54f068c1035f0319fa5e5bbfb129c450a5256')
|
||||
version('master', branch='master')
|
||||
version('20170721', commit='20b54f068c1035f0319fa5e5bbfb129c450a5256')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
install_tree('mshadow', prefix.include.mshadow)
|
||||
|
Reference in New Issue
Block a user