-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[spdlog] Update to 1.6.0 #10471
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
Closed
Closed
[spdlog] Update to 1.6.0 #10471
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c4bb5c6
[spdlog] Update to 1.5.0
Sil3ntStorm 8caa127
Update to use vcpkg_check_features as requested
Sil3ntStorm d214cf9
Add wchar feature
Sil3ntStorm 4137d62
set version as 1.5.0
Sil3ntStorm fdda0d6
Fix spdlog includes, forcing external fmt
Sil3ntStorm 5af5ad2
Expose more features through vcpkg_check_features
Sil3ntStorm cdd6bd1
update spdlog to 1.6.0
Sil3ntStorm b3a42fc
[spdlog] update to 1.6.0
Sil3ntStorm 555f726
Remove now unnecessary patch, fixed in fmtlib 6.2.0
Sil3ntStorm 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 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,39 @@ | ||
| Source: spdlog | ||
| Version: 1.4.2-1 | ||
| Version: 1.6.0 | ||
| Homepage: https://github.com/gabime/spdlog | ||
| Description: Very fast, header only, C++ logging library | ||
| Build-Depends: fmt | ||
|
|
||
| Feature: benchmark | ||
| Description: Use google benchmark | ||
| Build-Depends: benchmark | ||
|
|
||
| Feature: coarse-clock | ||
| Description: [Linux only] Use the much faster (but much less accurate) CLOCK_REALTIME_COARSE instead of regular clock | ||
|
|
||
| Feature: disable-warnings | ||
| Description: Disable compiler warnings | ||
|
|
||
| Feature: no-atomic-levels | ||
| Description: Prevent spdlog from using std::atomic log levels (use only if your code never modifies log levels concurrently) | ||
|
|
||
| Feature: no-child-fd | ||
| Description: Prevent child processes from inheriting file descriptors | ||
|
|
||
| Feature: no-exceptions | ||
| Description: Compile with -fno-exceptions. Calls abort() on any spdlog exceptions | ||
|
|
||
| Feature: no-local-storage | ||
| Description: Prevent spdlog from using thread local storage | ||
|
|
||
| Feature: no-thread-id | ||
| Description: Prevent spdlog from querying the thread id on each log call if thread id is not needed | ||
|
|
||
| Feature: pch | ||
| Description: Build static or shared library using precompiled header to speed up compilation time | ||
|
|
||
| Feature: shared | ||
| Description: Build shared library | ||
|
|
||
| Feature: wchar | ||
| Description: [Windows only] Enable support for wide character log messages and file names |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,11 @@ | ||
| diff --git a/bench/CMakeLists.txt b/bench/CMakeLists.txt | ||
| index d087cf6..86483db 100644 | ||
| index 0ea88423..9913ae64 100644 | ||
| --- a/bench/CMakeLists.txt | ||
| +++ b/bench/CMakeLists.txt | ||
| @@ -26,3 +26,8 @@ add_executable(formatter-bench formatter-bench.cpp) | ||
| @@ -26 +26,6 @@ add_executable(formatter-bench formatter-bench.cpp) | ||
| target_link_libraries(formatter-bench PRIVATE benchmark::benchmark spdlog::spdlog) | ||
|
|
||
| file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/logs") | ||
| + | ||
| +install(TARGETS bench async_bench latency | ||
| + RUNTIME DESTINATION tools/spdlog | ||
| + LIBRARY DESTINATION lib | ||
| + ARCHIVE DESTINATION lib) | ||
| \ No newline at end of file |
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| diff --git a/include/spdlog/fmt/fmt.h b/include/spdlog/fmt/fmt.h | ||
| index b853fd5e..a6e38046 100644 | ||
| --- a/include/spdlog/fmt/fmt.h | ||
| +++ b/include/spdlog/fmt/fmt.h | ||
| @@ -12,3 +12,3 @@ | ||
|
|
||
| -#if !defined(SPDLOG_FMT_EXTERNAL) | ||
| +#if 0 | ||
| #if !defined(SPDLOG_COMPILED_LIB) && !defined(FMT_HEADER_ONLY) | ||
| diff --git a/include/spdlog/fmt/ostr.h b/include/spdlog/fmt/ostr.h | ||
| index f82eb679..ac86e3c2 100644 | ||
| --- a/include/spdlog/fmt/ostr.h | ||
| +++ b/include/spdlog/fmt/ostr.h | ||
| @@ -10,3 +10,3 @@ | ||
|
|
||
| -#if !defined(SPDLOG_FMT_EXTERNAL) | ||
| +#if 0 | ||
| #ifdef SPDLOG_HEADER_ONLY |
This file was deleted.
Oops, something went wrong.
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
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.
Uh oh!
There was an error while loading. Please reload this page.