summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-06-16 16:36:48 -0500
committerGitHub <noreply@github.com>2021-06-16 16:36:48 -0500
commit5692c15e3a0703af7579f61069c6ac2c0e1b67c5 (patch)
tree4833355fa4cb383ad8b3000b0c2b0b91ad5bc38f /var
parentf0a85059c25b9087601cffc8380fdbd416e41f1a (diff)
downloadspack-5692c15e3a0703af7579f61069c6ac2c0e1b67c5.tar.gz
spack-5692c15e3a0703af7579f61069c6ac2c0e1b67c5.tar.bz2
spack-5692c15e3a0703af7579f61069c6ac2c0e1b67c5.tar.xz
spack-5692c15e3a0703af7579f61069c6ac2c0e1b67c5.zip
TensorPipe: add new package (#24335)
* TensorPipe: add new package * Add libuv dependency * Add min supported version of libuv
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/tensorpipe/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tensorpipe/package.py b/var/spack/repos/builtin/packages/tensorpipe/package.py
new file mode 100644
index 0000000000..4129054c06
--- /dev/null
+++ b/var/spack/repos/builtin/packages/tensorpipe/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Tensorpipe(CMakePackage):
+ """A tensor-aware point-to-point communication primitive for machine learning."""
+
+ homepage = "https://github.com/pytorch/tensorpipe"
+ git = "https://github.com/pytorch/tensorpipe.git"
+
+ version('master', branch='master', submodules=True)
+ version('2021-05-13', commit='05e4c890d4bd5f8ac9a4ba8f3c21e2eba3f66eda', submodules=True) # py-torch@1.9
+ version('2021-03-04', commit='369e855ea82fc71f45cfab277863b86747202c92', submodules=True) # py-torch@1.8.1
+ version('2021-02-09', commit='05467ba9bc164f06722986b615c4495901747c58', submodules=True) # py-torch@1.8.0
+ version('2020-09-28', commit='95ff9319161fcdb3c674d2bb63fac3e94095b343', submodules=True) # py-torch@1.7
+ version('2020-06-26', commit='3b8089c9c6717038cff44b70b881d0ad6c93e679', submodules=True) # py-torch@1.6
+
+ depends_on('cmake@3.5:', type='build')
+ depends_on('ninja', type='build')
+ depends_on('libuv@1.26:')
+
+ generator = 'Ninja'