tensorflow: passthru deps from bazel build

This is done by default by the go/rust/bazel builders and allows scripts/tools/users
to inspect the dependencies; since tensorflow is wrapped as a python package, we
should pass this through for consistency.
This commit is contained in:
Benjamin Hipple 2020-05-15 12:01:07 -04:00
parent 7517299146
commit 5ef3bb9c4a
2 changed files with 8 additions and 2 deletions

View file

@ -430,7 +430,10 @@ in buildPythonPackage {
EOF
'';
passthru.libtensorflow = bazel-build.out;
passthru = {
deps = bazel-build.deps;
libtensorflow = bazel-build.out;
};
inherit (bazel-build) meta;
}

View file

@ -421,7 +421,10 @@ in buildPythonPackage {
'';
# Regression test for #77626 removed because not more `tensorflow.contrib`.
passthru.libtensorflow = bazel-build.out;
passthru = {
deps = bazel-build.deps;
libtensorflow = bazel-build.out;
};
inherit (bazel-build) meta;
}