1
は、workspace
そのkeeps the path value of the original bazel workspaceのmake env変数があるようです。ワークスペースパスをbazelルールに渡す方法
しかし、この変数をbazelルールに渡す方法がわかりません。
exports_files([
"configure.py",
])
py_binary(
name = "configure",
srcs = [
"configure.py",
],
data = [
"//tensorflow/tools/git:gen_git_source.py",
"//tools",
],
args = [
# "--workspace=" + $(location workspace), # the path to the repository
"--tf_workspace=$(location workspace)" , # the path to the
]
)
バイナリにワークスペース名を渡して解決しようとしているのは何ですか? –