summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/onnx/package.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/onnx/package.py b/var/spack/repos/builtin/packages/onnx/package.py
index 1d7239be6b..aac83a9477 100644
--- a/var/spack/repos/builtin/packages/onnx/package.py
+++ b/var/spack/repos/builtin/packages/onnx/package.py
@@ -15,8 +15,20 @@ class Onnx(CMakePackage):
homepage = "https://github.com/onnx/onnx"
url = "https://github.com/onnx/onnx/archive/refs/tags/v1.9.0.tar.gz"
+ git = "https://github.com/onnx/onnx.git"
+ version('master', branch='master')
version('1.9.0', sha256='61d459a5f30604cabec352574119a6685dfd43bfa757cfbff52be9471d5b8ea0')
+ version('1.8.0_2020-11-03', commit='54c38e6eaf557b844e70cebc00f39ced3321e9ad') # py-torch@1.8:1.9
+ version('1.7.0_2020-05-31', commit='a82c6a7010e2e332d8f74ad5b0c726fd47c85376') # py-torch@1.6:1.7
+ version('1.6.0_2020-02-16', commit='9fdae4c68960a2d44cd1cc871c74a6a9d469fa1f') # py-torch@1.5
+ version('1.6.0_2019-11-06', commit='fea8568cac61a482ed208748fdc0e1a8e47f62f5') # py-torch@1.4
+ version('1.6.0_2019-09-26', commit='034921bd574cc84906b7996c07873454b7dd4135') # py-torch@1.3
+ version('1.5.0_2019-07-25', commit='28ca699b69b5a31892619defca2391044a9a6052') # py-torch@1.2
+ version('1.5.0_2019-04-25', commit='22662bfd4dcc6baebf29e3b823a051676f991001') # py-torch@1.1
+ version('1.3.0_2018-12-04', commit='42804705bdbf179d1a98394008417e1392013547') # py-torch@1.0
+ version('1.2.2_2018-07-16', commit='b2817a682f25f960586f06caa539bbbd7a96b859') # py-torch@0.4.1
+ version('1.1.0_2018-04-19', commit='7e1bed51cc508a25b22130de459830b5d5063c41') # py-torch@0.4.0
depends_on('cmake@3.1:', type='build')
depends_on('ninja', type='build')