Repository navigation
fmt: remove FMT_HEADER_ONLY defines - #50479
Merged
Merged
Conversation
Contributor
Author
|
there was a separate discussion about enabling |
cbodley
force-pushed
the
wip-fmt-undef-header-only
branch
from
March 11, 2023 02:30
25e14dc to
7033bc0
Compare
4 of 14 tasks
idryomov
reviewed
Mar 13, 2023
Contributor
There was a problem hiding this comment.
Nit: fixing detect_ceph_dev_pkgs call site would be more appropriate IMO.
cbodley
force-pushed
the
wip-fmt-undef-header-only
branch
from
March 13, 2023 12:29
7033bc0 to
4eff86c
Compare
idryomov
approved these changes
Mar 13, 2023
rzarzynski
approved these changes
Mar 13, 2023
vshankar
approved these changes
Mar 15, 2023
a WITH_FMT_HEADER_ONLY cmake option controls which version of the library to use. individual sources/targets shouldn't override that, or they'll end up including/linking against both versions Fixes: https://tracker.ceph.com/issues/58953 Signed-off-by: Casey Bodley <[email protected]>
the 'make check' log shows the cmake command line is missing a space: > cmake -GNinja -DWITH_PYTHON3=3.10 -DWITH_CCACHE=ON -DCMAKE_CXX_COMPILER=g++-11 -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=clang++-14 -DCMAKE_C_COMPILER=clang-14 -DCMAKE_CXX_FLAGS_DEBUG=-Werror -DENABLE_GIT_VERSION=OFF -DWITH_GTEST_PARALLEL=ON -DWITH_FIO=ON -DWITH_CEPHFS_SHELL=ON -DWITH_GRAFANA=ON -DWITH_SPDK=ON -DWITH_RBD_MIRROR=ON -DWITH_RBD_SSD_CACHE=ON-DWITH_FMT_VERSION=9.0.0 -DWITH_SYSTEM_BOOST=ON -DBOOST_ROOT=/opt/ceph -DWITH_TESTS=OFF -DENABLE_GIT_VERSION=OFF .. Signed-off-by: Casey Bodley <[email protected]>
fmt::fmt was duplicated under PUBLIC; remove it from PRIVATE Signed-off-by: Casey Bodley <[email protected]>
if we're using system fmt, we shouldn't mix the submodule's headers. src/CMakeLists.txt already adds global include_directories() for the correct fmt headers Signed-off-by: Casey Bodley <[email protected]>
cbodley
force-pushed
the
wip-fmt-undef-header-only
branch
from
March 22, 2023 17:26
b4fa49d to
66fe2f0
Compare
Contributor
Author
Contributor
Contributor
Member
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
a
WITH_FMT_HEADER_ONLYcmake option controls which version of the library to use. individual sources/targets shouldn't override that, or they'll end up including/linking against both versionsFixes: https://tracker.ceph.com/issues/58953
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows