Hello everybody,
I am working on a cluster of Power9 machines that use Centos7.
I am trying to install ray but I am facing some difficulties. First of all, Centos7 uses by default a really old version of GCC (version 4.8.5). I have installed my own recent version of GCC and I added it to my PATH, but it seems that in several places (but not always) bazel uses the system GCC anyway. This is especially relevant when I compile redis, because the compilation fails: indeed, redis uses the atomic flag which requires C++11 (and, therefore, GCC > 5).
Another problem that I encountered is related with grpc; the error is the following:
filesystem.cc:(.text._ZN3ray11GetFileNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0xac): undefined reference to `std::filesystem::__cxx11::
path::_M_split_cmpts()’
which seems related to the fact that a -lc++fs flag is missing in the linking stage.
All these problems seems to be easy to fix, but I have already spent several hours trying to telling bazel (which I am totally unfamiliar with) what I want, unfortunately without success. I tried with some environment variables and modifying the scripts of Bazel, but everything has been useless. I think that maybe I have to setup another toolchain inside babel, but I have no idea how.
Do you have any advice about how can I fix these problems? Thank you!