I’m trying to build TensorFlow from source, because my GPU is not in CUDA’s list, and in this page it mentions that
- For GPUs with unsupported CUDA® architectures, or to avoid JIT compilation from PTX, or to use different versions of the NVIDIA® libraries, see the Linux build from source guide.
I’m stuck at the configuration process, where typing ./configure
results in the error Cannot find bazel. Please install bazel/bazelisk.
Bazel-6.1.0 is installed in my system, which is the version required by TensorFlow. If I type bazel
, or bazelisk
in the terminal, I get this:
[bazel release 6.1.0]
Usage: bazel <command> <options> ...
plus some usage info. This shows that bazel is installed in my system, and its path correctly set. So, why the configuration file can’t find it?