Skip to content
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 dependency com_github_fmtlib_fmt to v11 #350

Merged
merged 2 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ def _com_github_fmtlib_fmt():
maybe(
http_archive,
name = "com_github_fmtlib_fmt",
strip_prefix = "fmt-10.2.1",
sha256 = "1250e4cc58bf06ee631567523f48848dc4596133e163f02615c97f78bab6c811",
strip_prefix = "fmt-11.0.2",
sha256 = "6cb1e6d37bdcb756dbbe59be438790db409cdb4868c66e888d5df9f13f7c027f",
build_file = "@yacl//bazel:fmtlib.BUILD",
urls = [
"https://github.com/fmtlib/fmt/archive/refs/tags/10.2.1.tar.gz",
"https://github.com/fmtlib/fmt/archive/refs/tags/11.0.2.tar.gz",
],
)

Expand Down
4 changes: 1 addition & 3 deletions yacl/crypto/experimental/tpre/kdf_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@

#include "yacl/crypto/experimental/tpre/kdf.h"

#include <iostream>
#include <string>

#include "gtest/gtest.h"
#include "fmt/ranges.h"

namespace yacl::crypto::test {

Expand Down
5 changes: 1 addition & 4 deletions yacl/io/rw/csv_writer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@

#include "yacl/io/rw/csv_writer.h"

#include <algorithm>
#include <cmath>
#include <cstdio>
#include <filesystem>
#include <iterator>
#include <string>
#include <utility>

#include "fmt/format.h"
#include "fmt/ranges.h"

#include "yacl/base/exception.h"
#include "yacl/io/rw/float.h"
Expand Down
1 change: 1 addition & 0 deletions yacl/utils/spi/argument/arg_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

#include "yacl/utils/spi/argument/arg_set.h"
#include "fmt/ranges.h"

// formatter to format SpiArgs values
template <>
Expand Down
1 change: 1 addition & 0 deletions yacl/utils/spi/item.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "yacl/utils/spi/item.h"

#include "yacl/math/mpint/mp_int.h"
#include "fmt/ranges.h"

namespace yacl {

Expand Down
Loading