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:
parent
7517299146
commit
5ef3bb9c4a
2 changed files with 8 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue