onnxruntime: 1.2.0 -> 1.3.1

Co-authored by: @marsam
This commit is contained in:
Jonathan Ringer 2020-06-25 14:24:34 -07:00
parent 3eb4864c8b
commit e3761b651c
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -4,17 +4,22 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "onnxruntime"; pname = "onnxruntime";
version = "1.2.0"; version = "1.3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "microsoft"; owner = "microsoft";
repo = "onnxruntime"; repo = "onnxruntime";
rev = "v${version}"; rev = "v${version}";
sha256 = "1alhb7nvlxrr9yf757gs4hkzksbk3mxyv5zcmmpl82ibl65vh55k"; sha256 = "0rbk1jbfc447x2wybz2hsba6w1ij0fq21996l52cqv39898lvy9d";
# 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
fetchSubmodules = true; fetchSubmodules = true;
# Remove unicode file names which leads to different checksums on HFS+
# vs. other filesystems because of unicode normalisation.
postFetch = ''
rm -rf $out/winml/test/collateral/models/UnicodePath/
'';
}; };
# TODO: build server, and move .so's to lib output # TODO: build server, and move .so's to lib output