rocm-arch / tensorflow-rocm

tensorflow-rocm AUR package
17 stars 12 forks source link

Build Fails on Arch Linux "Requires Bazel 6.1.0" #69

Closed 7t2 closed 2 months ago

7t2 commented 4 months ago

When installing tensorflow-rocm on arch linux, after being asked if I would like to interactively configure ./WORKSPACE for Android builds, I get the following error every time:

ERROR: The project you're trying to build requires Bazel 6.1.0 (specified in /home/usrname/.cache/yay/tensorflow-rocm/src/tensorflow-2.15.0-rocm/.bazelversion), but it wasn't found in /usr/bin.

Even if I download the required bazel release and put it in the location it requests, the build still fails with the following error:

ERROR: no such package '@local_config_rocm//rocm': Repository command failed

I am totally stumped, does anyone know what needs to be done?

uberkael commented 4 months ago

@7t2 I had the same error and fixed it by installing bazelisk

But now the error is :


ERROR: An error occurred during the fetch of repository 'local_config_rocm':
   Traceback (most recent call last):```
7t2 commented 4 months ago

Thanks for the heads up with bazelisk, although I get stuck at that same error too now. I suspect something is very wrong with the rocm and tensorflow stack on arch linux at the moment.

uberkael commented 4 months ago

Yes there is this other issue for it #68

acxz commented 2 months ago

This particularly issue (requires bazel 6.1.0) is resolved with fa64355