onnxruntime: 0.5.0 -> 1.0.0
This commit is contained in:
parent
f605e22cc3
commit
65db5ce85c
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "onnxruntime";
|
pname = "onnxruntime";
|
||||||
version = "0.5.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "microsoft";
|
owner = "microsoft";
|
||||||
repo = "onnxruntime";
|
repo = "onnxruntime";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0s8ylc5xr55490hbz7zn3hnp9dnyp92d320ln8xw5hqkw3mgyr3p";
|
sha256 = "1d28lzrjnq69yl8j9ncxlsxl0bniacn3hnsr9van10zgp527436v";
|
||||||
# TODO: use nix-versions of grpc, onnx, eigen, googletest, etc.
|
# TODO: use nix-versions of grpc, onnx, eigen, googletest, etc.
|
||||||
# submodules increase src size and compile times significantly
|
# submodules increase src size and compile times significantly
|
||||||
# not currently feasible due to how integrated cmake build is with git
|
# not currently feasible due to how integrated cmake build is with git
|
||||||
@ -43,6 +43,8 @@ stdenv.mkDerivation rec {
|
|||||||
rm -r $out/bin # ctest runner
|
rm -r $out/bin # ctest runner
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Cross-platform, high performance scoring engine for ML models";
|
description = "Cross-platform, high performance scoring engine for ML models";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
@ -55,6 +57,9 @@ stdenv.mkDerivation rec {
|
|||||||
compatibility.
|
compatibility.
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/microsoft/onnxruntime";
|
homepage = "https://github.com/microsoft/onnxruntime";
|
||||||
|
changelog = "https://github.com/microsoft/onnxruntime/releases";
|
||||||
|
# https://github.com/microsoft/onnxruntime/blob/master/BUILD.md#architectures
|
||||||
|
platforms = platforms.unix;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ jonringer ];
|
maintainers = with maintainers; [ jonringer ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user