-
Notifications
You must be signed in to change notification settings - Fork 654
Update fmt version to 12.0.0 #4912
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
base: main
Are you sure you want to change the base?
Update fmt version to 12.0.0 #4912
Conversation
|
|
I am not opposed to raising the auto-build version of fmt. There is another PR #4910 in review that updates several auto-build versions (which does not include fmt, but I think that is a mere oversight and not purposeful intent). But this change is failing on Windows, so there's probably something else still needing adjustment for that platform. Can you please explain more about how fmt 10.2 was failing against clang 21.1? Can you maybe reproduce some of the error log here so we can see? Since auto-build is just used when a dependency is not found externally, if it's true that certain (moderately recent, even) versions of fmt don't work with the latest compilers, I feel like we should detect this case and warn about it with a clear explanation, even when not doing auto-build. |
|
Hi, @servantftransperfect, any comments about this? |
|
I'm sorry, i am not able to reproduce it. It currently compiles out of the box (?). Closing this. |
6754850 to
fd99d76
Compare
|
Finally able to reproduce. Building some library which use oiio with clang 21.1.4. Oiio was built using another toolchain. Getting this : (Sorry for the layout, github seems to mess it)
|
|
Hi, Fabien. Thanks for following up on this. This looks fine to me, but it needs DCO signoff, CLA, and probably should be rebased on top of the current main just to be sure there are no conflicts and to pick up other changes that may be breaking CI. |
|
Fabien, can you clarify: Was the solution all along simply that we needed the I can't merge your PR without the DCO and CLA fixed, but the change is so trivial that if you are unable to get the CLA taken care of (I know sometimes it can seem like too much work to fight the bureaucracy to get a CLA signed by an executive for a two-line fix), I think it's fine for me to just submit this myself as a separate PR. |
|
Larry, My original (personal) problem is to build on linux with clang 21. Look life format solved this bug in the following commit. As you can see, the first release after this commit is fmt 12.0.0. Problem is, when running the CI, windows is failing and ask explicitely for this /utf-8 in the error log. I just added this flag to comply but i am NOT sure this has no side effects on OiiO. As for the administrative stuff, feel free to do whatever you want, i have no interest on seeing my name somewhere. |
Signed-off-by: Fabien Servant <[email protected]>
68f19ff to
4757b9b
Compare
Upgrading fmt dependency to 12.0.0.
Current fmt version is not compatible with Clang 21.1.2 (Maybe older too)