似乎有一个make env变量workspace
keeps the path value of the original bazel workspace。
但我不知道如何将此变量传递给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
]
)
答案 0 :(得分:0)
不幸的是,Bazel既不支持AudioRecord.STATE_INITIALIZED
也不支持$(location workspace)
。
是什么让你认为它呢?