diff options
author | 健美猫 <weijianwen@gmail.com> | 2017-04-14 21:29:18 +0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-04-14 08:29:18 -0500 |
commit | 102dcbcbd424edd79550afe22aec36e2407c6bd7 (patch) | |
tree | 6840b20750f35c21b711741d264917f0d7bd56e2 | |
parent | e636bf05fcde75438032d9d3207a275d43c259ab (diff) | |
download | spack-102dcbcbd424edd79550afe22aec36e2407c6bd7.tar.gz spack-102dcbcbd424edd79550afe22aec36e2407c6bd7.tar.bz2 spack-102dcbcbd424edd79550afe22aec36e2407c6bd7.tar.xz spack-102dcbcbd424edd79550afe22aec36e2407c6bd7.zip |
Add cub-1.4.1 required by cntk. (#3819)
-rw-r--r-- | var/spack/repos/builtin/packages/cub/package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/cub/package.py b/var/spack/repos/builtin/packages/cub/package.py index 9c0c7776bd..1c9da5c188 100644 --- a/var/spack/repos/builtin/packages/cub/package.py +++ b/var/spack/repos/builtin/packages/cub/package.py @@ -23,7 +23,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## from spack import * -from distutils.dir_util import copy_tree class Cub(Package): @@ -34,6 +33,8 @@ class Cub(Package): url = "https://github.com/NVlabs/cub/archive/1.6.4.zip" version('1.6.4', '924fc12c0efb17264c3ad2d611ed1c51') + version('1.4.1', '74a36eb84e5b5f0bf54aa3df39f660b2') def install(self, spec, prefix): - copy_tree('cub', prefix.include) + mkdirp(prefix.include) + install_tree('cub', join_path(prefix.include, 'cub')) |