Merge pull request #91515 from jonringer/bump-onnxruntime-1.3.1

onnxruntime: 1.2.0 -> 1.3.1
This commit is contained in:
Daniël de Kok 2020-07-01 08:19:58 +02:00 committed by GitHub
commit 7887081737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,17 +4,22 @@
stdenv.mkDerivation rec {
pname = "onnxruntime";
version = "1.2.0";
version = "1.3.1";
src = fetchFromGitHub {
owner = "microsoft";
repo = "onnxruntime";
rev = "v${version}";
sha256 = "1alhb7nvlxrr9yf757gs4hkzksbk3mxyv5zcmmpl82ibl65vh55k";
sha256 = "0rbk1jbfc447x2wybz2hsba6w1ij0fq21996l52cqv39898lvy9d";
# TODO: use nix-versions of grpc, onnx, eigen, googletest, etc.
# submodules increase src size and compile times significantly
# not currently feasible due to how integrated cmake build is with git
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