Repository navigation
build_pip_package_with_bazel: add support of Bazel startup option - #47690
Conversation
|
Hi all, I am writing a bitbake tensorflow lite recipe based on meta-tensorflow. In order to correctly cross compile tensorflow a I was not able to correctly compile the I submit this merge request, because I think it can be useful to be able to specify startup option in other situation as well, not only in the case of the bitbake recipe. I added the variable as Julien |
|
Can't you use CUSTOM_BAZEL_FLAGS instead? |
|
Hi @terryheo
no I can't use CUSTOM_BAZEL_FLAGS instead. According to the bazel manual startup options must appear before the bazel command:
CUSTOM_BAZEL_FLAGS appear after the Anyway, I tried to put it inside the CUSTOM_BAZEL_ARGS and I got the following error: I explained it in the commit message, but maybe it needs to be more clear? |
Bazel startup options must appear before the name of the Bazel command. This commit adds a BAZEL_STARTUP_OPTIONS variable to be able to specify startup option. Signed-off-by: Julien STEPHAN <[email protected]>
4589e41 to
cfa101d
Compare
Bazel startup options must appear before the name of the Bazel command.
This commit adds a BAZEL_ARGS variable to be able to specify startup option.
Signed-off-by: Julien STEPHAN [email protected]