I am currently trying, without great success, to build tensorflow from source.

As suggested here: <https://www.tensorflow.org/install/source>, I tried to do so by installing bazelisk. Unfortunately, I wasn't able to do so as the ./compile cannot find bazel as bazelisk replaces it.

This link: <https://github.com/bazelbuild/bazelisk/issues/122> suggested to alias or rename the environment variable to "bazel" in the PATH.

As described in the issue above, aliasing did not work out for the configure.py.

My next step would be to rename it but I, unfortunately, was not able to figure out how the renaming of environment works under Linux.

I did add the following:`export PATH=$PATH:$(go env GOPATH)/bin`
to my .profile under my /home folder, which, the way I understand it, adds the path to Bazelisk binaries to my environment path but I am not sure how the renaming would work in this situation.

Would it be possible to explain how I could proceed?