-
Notifications
You must be signed in to change notification settings - Fork 51
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
spack install with gcc@>=9 fails because of a bug nlohmann/json (fixed for >3.5) #555
Comments
Thank you for the detailed report and testing the new GCC compiler! The following fixes address this:
|
yeah, i had a nasty experience of playing with |
Excellent choice :D Don't forget to compile with |
checked 👌 |
by the way, @ax3l, in which context you suggest to use the flags exactly? Consider I have
to 9.2.0 part in
to my |
Just joking a little, these flags will cause compiled binaries to be optimally tuned for the current platform it's compiling on. But you won't notice much on regular desktop applications. Adding those to spack's |
spack install openpmd-api %gcc@9.2.0
fails at installing
nlohmann/json
with this.This issue of json with gcc@>=9 was fixed, but spack's preferred version is 3.5.
When I manually set
nlohmann-json
version to 3.7, installation succeeds.The text was updated successfully, but these errors were encountered: