Skip to content

Commit

Permalink
Add sh_binary rule to copy tensorflow wheel to wheel artifact directory
Browse files Browse the repository at this point in the history
  • Loading branch information
hsharsha committed Nov 5, 2024
1 parent 554f81b commit 33a418c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tensorflow/tools/pip_package/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,13 @@ genrule(
cmd = "echo '' > $@",
)


sh_binary(
name = "copy_wheel",
srcs = ['copy_wheel.sh'],
data = [":wheel"],
)

py_test(
name = "prebuilt_wheel_import_api_packages_test",
srcs = if_wheel_dependency(
Expand Down
3 changes: 3 additions & 0 deletions tensorflow/tools/pip_package/copy_wheel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

cp tensorflow/tools/pip_package/wheel_house/*.whl $1

0 comments on commit 33a418c

Please sign in to comment.