It's also the fact that it fails in so many different ways. Bazel bombs out after ./configure; the master branch today does not even begin to build at all, the old Bazel workaround is not working anymore. Then there's the gcc issues.
You may have gotten lucky once, who knows why.
Again, do you still have the pip package you claim you've built using this procedure? If so, can you upload it somewhere? I would very much like to test it. Thank you.
Here is the pip3 wheel but I am skeptical given it was built for my system.
there is also a link for the list of cuda capabilities in the post.
I cannot test this but possibly just use whatever version the drivers work and make sure the run file does not install different drivers.