-
Notifications
You must be signed in to change notification settings - Fork 9
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
2397 make vt work with fmt 11 and integrate it if possible #2399
base: develop
Are you sure you want to change the base?
2397 make vt work with fmt 11 and integrate it if possible #2399
Conversation
Pipelines resultsPR tests (gcc-10, ubuntu, openmpi, no LB) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (clang-13, alpine, mpich) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (clang-9, ubuntu, mpich) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (clang-12, ubuntu, mpich) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (clang-13, ubuntu, mpich) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (clang-11, ubuntu, mpich) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (gcc-11, ubuntu, mpich, trace runtime, coverage) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (gcc-12, ubuntu, mpich, verbose, kokkos) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (intel icpx, ubuntu, mpich, verbose) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (intel icpc, ubuntu, mpich) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (nvidia cuda 11.2, gcc-9, ubuntu, mpich) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (nvidia cuda 12.2.0, gcc-9, ubuntu, mpich, verbose) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (clang-14, ubuntu, mpich, verbose) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (gcc-9, ubuntu, mpich, zoltan) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
PR tests (clang-10, ubuntu, mpich) Build for 9ab5ec3 (2025-02-14 00:39:06 UTC)
|
@@ -164,6 +170,10 @@ struct TimeTypeWrapper { | |||
TimeTypeInternal time_; | |||
}; | |||
|
|||
inline auto format_as(TimeTypeWrapper t) { | |||
return to_engineering_string(t.seconds(), 5, eng_exponential, "s"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could avoid including EngFormat-Cpp/eng_format.hpp
in the header by moving the implementation to .cpp.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Nice +/- ratio for vt code 👍
Git check complains:
lib/fmt/CMakeLists.txt:411: new blank line at EOF.
tests/unit/lb/test_lbargs_enum_conv.nompi.cc:166: new blank line at EOF.
9ab5ec3
to
46f7d98
Compare
Fixes #2397