-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
unicode4 test consistently fails on RISC-V hardware #3579
Comments
Increase the timeout then? This happens in CI sometimes as well. |
I am very unfamiliar with this project, would you mind pointing to me where I can do that? |
See
The default is 1500 seconds. |
I'll look into raising the timeout for |
Have you considered building with the CMake option
Also, |
I'll test it out and report back when done, thank you. cmakeFlags = [
"-DJSON_BuildTests=${if doCheck then "ON" else "OFF"}"
"-DJSON_FastTests=ON"
"-DJSON_MultipleHeaders=ON"
] ++ lib.optional doCheck "-DJSON_TestDataDirectory=${testData}"; |
Successful build in my case, with FastTests. |
Good to hear! |
Description
When compiling
nlohmann_json
on NixOS, on a RISC-V 64 bit system, StarFive VisionFive, theunicode4
test times out and fails the build.This does not happen on regular x86_64 systems, so I believe a fix may be needed for either the test, or the thing being tested, regarding RISC-V compatibility.
Reproduction steps
Attempt to build
nlohmann_json
on a RISC-V system, either hardware or through a virtual machine like QEMU, on NixOS.If you happen to have a StarFive VisionFive board, I suggest using this PR to reproduce: NixOS/nixpkgs#168826
Expected vs. actual results
unicode4
test should not be timing out.Minimal code example
No response
Error messages
https://gist.github.com/Madouura/edf2ac1b06bf6e63507b9dc9bb338064
Compiler and operating system
GCC11 IIRC, NixOS
Library version
3.10.5
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: