You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ./configure script will write to a .bazelrc file in the cwd to save some of it's options (in particular, jemalloc). Unfortunately this has the effect of overriding ~/.bazelrc. This is undocumented, and probably should not happen. For now, the solution is copy your own bazelrc into the tensorflow root before configuring - fortunately ./configure will not overwrite it and only append to it.
I'm aware of this behavior, consider it suboptimal, and I believe we should escalate this to Bazel. I've filed bazelbuild/bazel#3022. Please follow there for progress.
The workaround is to copy the stuff in your ~/.bazelrc into tensorflow/.bazelrc. Our configure script will not delete the file.
Following is the command that I tried, bazel build -c opt //tensorflow/contrib/android:libtensorflow_inference.so --crosstool_top=//external:android/crosstool --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --cpu=armeabi-v7a
Activity
alive-zk commentedon May 17, 2017
@jart, any thoughts about this?
jart commentedon May 17, 2017
I'm aware of this behavior, consider it suboptimal, and I believe we should escalate this to Bazel. I've filed bazelbuild/bazel#3022. Please follow there for progress.
The workaround is to copy the stuff in your
~/.bazelrcintotensorflow/.bazelrc. Our configure script will not delete the file.jart commentedon May 17, 2017
Re-opening because I'm thinking of modifying our configure to work around this automatically.
Make .bazelrc import ~/.bazelrc
Make .bazelrc import ~/.bazelrc (#9987)
Zumbalamambo commentedon May 25, 2017
Im getting the following error while trying to build
sofileFollowing is the command that I tried,
bazel build -c opt //tensorflow/contrib/android:libtensorflow_inference.so --crosstool_top=//external:android/crosstool --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --cpu=armeabi-v7aUpdate XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA
Update XNNPACK in XLA