ONNX: add new package (#24384)
This commit is contained in:
parent
b5cb75e5ec
commit
3eee93ee76
26
var/spack/repos/builtin/packages/onnx/package.py
Normal file
26
var/spack/repos/builtin/packages/onnx/package.py
Normal file
@ -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 Onnx(CMakePackage):
|
||||
"""Open Neural Network Exchange (ONNX).
|
||||
|
||||
ONNX provides an open source format for AI models, both deep learning and
|
||||
traditional ML. It defines an extensible computation graph model, as well
|
||||
as definitions of built-in operators and standard data types."""
|
||||
|
||||
homepage = "https://github.com/onnx/onnx"
|
||||
url = "https://github.com/onnx/onnx/archive/refs/tags/v1.9.0.tar.gz"
|
||||
|
||||
version('1.9.0', sha256='61d459a5f30604cabec352574119a6685dfd43bfa757cfbff52be9471d5b8ea0')
|
||||
|
||||
depends_on('cmake@3.1:', type='build')
|
||||
depends_on('ninja', type='build')
|
||||
depends_on('python', type='build')
|
||||
depends_on('protobuf')
|
||||
|
||||
generator = 'Ninja'
|
Loading…
Reference in New Issue
Block a user