-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Core] Ray fails to build due to spdlog char8_t
keyword issue
#35200
Comments
cc @vitsai can you take a quick look? |
@vitsai seems like this could be related: gabime/spdlog#1634. I'll try looking into how to set the build variables correctly here. From the error it looks like it is trying to use the bundled fmt library. But I can't tell if it should be... |
We don't support cpp 20 now. Maybe try again with cpp 17? |
Right now we advise users to build with G++ 9 (2019) in the documentation. Using that, I was able to successfully build on Ubuntu 22.04 LTS upgraded to the 6.3.0 kernel. Were you using a more recent version of G++?
|
Yeah, this seems like it could be the culprit - I'm running g++ 13.1.1. I'll try installing an old version of g++ and setting |
@vitsai Okay, you were totally right, the build failure was caused by my system upgrading to gcc-13. Even setting |
We can discuss on a separate issue. I vaguely remember gcc-10 not working, but perhaps that's fixed now. |
What happened + What you expected to happen
The most recent commit on
master
(cc3fa33) fails to build with the following error:Looks like spdlog is using a keyword incompatible with the C++20 standard.
Versions / Dependencies
Ray: cc3fa33
Python: 3.11.2; also tested on 3.10.8
OS: Linux 6.3.1-arch1-1 x86_64
Reproduction script
cd ray/python pip install -ve .[all]
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: