py-onnx: depends on cmake >= 3.1 (#15762)

* py-onnx: depends on cmake >= 3.1

* Update var/spack/repos/builtin/packages/py-onnx/package.py

Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Andrew W Elble 2020-03-30 15:58:57 -04:00 committed by GitHub
parent 0c7fff6065
commit 6747ecde16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,7 @@ class PyOnnx(PythonPackage):
depends_on('py-six', type=('build', 'run')) depends_on('py-six', type=('build', 'run'))
depends_on('py-typing@3.6.4:', type=('build', 'run')) depends_on('py-typing@3.6.4:', type=('build', 'run'))
depends_on('py-typing-extensions@3.6.4:', type=('build', 'run')) depends_on('py-typing-extensions@3.6.4:', type=('build', 'run'))
depends_on('cmake@3.1:', type='build')
# 'python_out' does not recognize dllexport_decl. # 'python_out' does not recognize dllexport_decl.
patch('remove_dllexport_decl.patch', when='@:1.6.0') patch('remove_dllexport_decl.patch', when='@:1.6.0')