-
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
2216: Allow fmt
to be used as external lib
#2221
Conversation
Pipelines resultsPR tests (gcc-12, ubuntu, mpich) Build for 57c2ec8 (2024-04-19 12:06:33 UTC)
PR tests (clang-9, ubuntu, mpich) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (gcc-10, ubuntu, openmpi, no LB) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (clang-11, ubuntu, mpich) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (clang-12, ubuntu, mpich) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (nvidia cuda 11.2, gcc-9, ubuntu, mpich) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (gcc-9, ubuntu, mpich, zoltan, json schema test) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (clang-13, ubuntu, mpich) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (clang-14, ubuntu, mpich) Build for 57c2ec8 (2024-04-19 12:06:33 UTC)
PR tests (clang-10, ubuntu, mpich) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (gcc-11, ubuntu, mpich, trace runtime, coverage) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (gcc-8, ubuntu, mpich, address sanitizer) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (intel icpc, ubuntu, mpich) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (clang-13, alpine, mpich) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (intel icpx, ubuntu, mpich) Build for 57c2ec8 (2024-04-19 12:06:33 UTC)
PR tests (nvidia cuda 12.2.0, gcc-9, ubuntu, mpich) Build for 57c2ec8 (2024-04-19 12:06:33 UTC)
PR tests (intel icpx, ubuntu, mpich, verbose) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (gcc-12, ubuntu, mpich, verbose) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (clang-14, ubuntu, mpich, verbose) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
PR tests (nvidia cuda 12.2.0, gcc-9, ubuntu, mpich, verbose) Build for 4a64c6e (2024-04-30 18:38:08 UTC)
|
a5963f1
to
d537fd6
Compare
4dbe64a
to
bf7cce1
Compare
807f2e7
to
a97d9fa
Compare
Looks like newer versions of fmt start to cause issues on nvcc build. I've tested it locally and they're gone on version 12.3. Given that we probably want to support 11.2 for a while, we could fix them with using external fmt (7.1.3 version), at least to satisfy CIs, or should we rollback the bundled version to 7.1.3? 🤔 |
1783629
to
9f8dd40
Compare
I updated the CUDA pipeline to use external fmt (version 7.1.3) |
0227d7e
to
4bf6694
Compare
@lifflander Rolled back fmt to 7.1.3 |
4bf6694
to
0da91f5
Compare
fmt
lib fmt
to be used as external lib
0da91f5
to
e637943
Compare
e637943
to
f1ec391
Compare
afb65d6
to
34c5cbc
Compare
@nmm0 I believe we are waiting on your review for this. |
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 need to add the following in vtConfig.cmake.in
:
if (@vt_external_fmt@)
set (fmt_DIR @fmt_DIR@)
find_dependency(fmt REQUIRED HINTS @fmt_DIR@)
endif()
So that the dependency will find fmt at the same place that vt had it
cmake/load_bundled_libraries.cmake
Outdated
# use included fmt or external one | ||
if(${vt_external_fmt}) | ||
# user should provide 'fmt_DIR' to CMake (unless fmt is installed in system libs) | ||
if(fmt_DIR) |
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.
fmt_ROOT
should also be valid here
34c5cbc
to
57c2ec8
Compare
Thanks @nmm0 for the review! |
57c2ec8
to
1489dd1
Compare
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, thank you for doing this :)
@JacobDomagala Can you rebase this PR? |
…ersions. Make 9.1.0 fmt version as required for external fmt
1489dd1
to
4a64c6e
Compare
Fixes #2216