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
@ -430,7 +430,10 @@ in buildPythonPackage {
|
|||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.libtensorflow = bazel-build.out;
|
passthru = {
|
||||||
|
deps = bazel-build.deps;
|
||||||
|
libtensorflow = bazel-build.out;
|
||||||
|
};
|
||||||
|
|
||||||
inherit (bazel-build) meta;
|
inherit (bazel-build) meta;
|
||||||
}
|
}
|
||||||
|
@ -421,7 +421,10 @@ in buildPythonPackage {
|
|||||||
'';
|
'';
|
||||||
# Regression test for #77626 removed because not more `tensorflow.contrib`.
|
# 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;
|
inherit (bazel-build) meta;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user