-
Notifications
You must be signed in to change notification settings - Fork 208
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
Update to spdlog>=1.11.0, fmt>=9.1.0. #1177
Merged
rapids-bot
merged 20 commits into
rapidsai:branch-23.04
from
bdice:update-spdlog-1.11.0
Feb 13, 2023
Merged
Changes from 12 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
876cf91
Update to spdlog>=1.11.0, fmt>=9.1.0.
bdice 99bade8
Add comment to explain dependencies.
bdice 9a197ca
Merge remote-tracking branch 'upstream/branch-23.02' into update-spdl…
bdice 8d4d42a
Remove run pins (covered by run_exports of the package).
bdice e5272cb
Use a host section.
bdice bc66b58
Add pins to conda_build_config.yaml.
bdice a69b55d
Rerun CI to debug build log issue.
bdice fd93f45
Move fmt, spdlog to host section of top level recipe requirements.
bdice b7e8154
Add fmt, spdlog to librmm run requirements.
bdice f15eb0d
Add ostream formatter for bytes.
bdice 2d729f6
Fix style.
bdice 62c1bf1
Move namespace.
bdice 8781eb1
Merge branch 'branch-23.02' into update-spdlog-1.11.0
bdice 3534fd5
Merge branch 'branch-23.04' into update-spdlog-1.11.0
bdice 06ec0f1
depend on fmt explicitly, temporarily use rapids-cmake fork for testing
kkraus14 b3dd596
Merge branch 'update-spdlog-1.11.0' of github.com:bdice/rmm into upda…
kkraus14 56fa4d4
temporarily point python cmake to fork as well
kkraus14 dbd525a
fix unused header, fix export_set name for fmt
kkraus14 2b70941
Merge branch 'branch-23.04' into update-spdlog-1.11.0
bdice bcf6e7c
Don't export fmt manually.
bdice File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -16,12 +16,7 @@ | |||||||||||||
|
||||||||||||||
#pragma once | ||||||||||||||
|
||||||||||||||
// If using GCC, temporary workaround for older libcudacxx defining _LIBCPP_VERSION | ||||||||||||||
// undefine it before including spdlog, due to fmtlib checking if it is defined | ||||||||||||||
// TODO: remove once libcudacxx is on Github and RAPIDS depends on it | ||||||||||||||
#ifdef __GNUG__ | ||||||||||||||
#undef _LIBCPP_VERSION | ||||||||||||||
#endif | ||||||||||||||
#include <spdlog/fmt/ostr.h> | ||||||||||||||
#include <spdlog/sinks/basic_file_sink.h> | ||||||||||||||
#include <spdlog/spdlog.h> | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Here is the hacky workaround previously mentioned that fixes building the C++ tests. |
||||||||||||||
|
||||||||||||||
|
@@ -115,3 +110,7 @@ inline spdlog::logger& logger() | |||||||||||||
#define RMM_LOG_CRITICAL(...) SPDLOG_LOGGER_CRITICAL(&rmm::logger(), __VA_ARGS__) | ||||||||||||||
|
||||||||||||||
} // namespace rmm | ||||||||||||||
|
||||||||||||||
template <> | ||||||||||||||
struct fmt::formatter<rmm::detail::bytes> : fmt::ostream_formatter { | ||||||||||||||
}; |
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.
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.
@kkraus14 Will these be added as a run requirement of both or neither of
librmm
andlibrmm-tests
because of therun_exports
? Should I manually re-specify them inlibrmm
'srun
section?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.
I'm building the package locally now to check. I'm not quite sure the rules on output packages as it's kinda entirely undocumented.
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.
From looking at other recipes, I think we do need to specify them again as
librmm
run dependencies. Added in b7e8154.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.
I can confirm this.
run_exports
from the top-level package aren't propagated tooutput
packages.We noticed this behavior when we first consolidated the recipes back in the day.