mirror of https://github.com/microsoft/vcpkg.git
[fmt] update to 11.0.2 (#39738)
This commit is contained in:
parent
513aa7ceb3
commit
fe1cde61e9
|
|
@ -0,0 +1,12 @@
|
|||
diff --git a/include/bux/FA.h b/include/bux/FA.h
|
||||
index 907ed95..f8439b8 100644
|
||||
--- a/include/bux/FA.h
|
||||
+++ b/include/bux/FA.h
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <map> // std::map<>
|
||||
#include <set> // std::set<>
|
||||
#include <vector> // std::vector<>
|
||||
+#include <iterator>
|
||||
|
||||
namespace bux {
|
||||
|
||||
|
|
@ -4,6 +4,8 @@ vcpkg_from_github(
|
|||
REF "${VERSION}"
|
||||
SHA512 7b58e67d0744ead50fb5a826118d1026dc85b6bd880a2d3f30a9d355fc20f48697057eec139ad3960a65cebfbd0e30b99bee42b71bd23058c815a50b6df10c5c
|
||||
HEAD_REF main
|
||||
PATCHES
|
||||
fix-build-error-with-fmt11.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "buck-yeh-bux",
|
||||
"version": "1.6.8",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "A supplemental C++ library with functionalities not directly supported from Modern C++ standard.",
|
||||
"homepage": "https://github.com/buck-yeh/bux",
|
||||
"license": "MIT",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/fizz/record/Types.h b/fizz/record/Types.h
|
||||
index 2cb449a..f1a370b 100644
|
||||
--- a/fizz/record/Types.h
|
||||
+++ b/fizz/record/Types.h
|
||||
@@ -454,7 +454,7 @@ struct hash<fizz::ExtensionType> {
|
||||
|
||||
template <>
|
||||
struct fmt::formatter<fizz::ExtensionType> : formatter<unsigned> {
|
||||
- auto format(fizz::ExtensionType t, format_context& ctx) {
|
||||
+ auto format(fizz::ExtensionType t, format_context& ctx) const {
|
||||
return formatter<unsigned>::format(folly::to_underlying(t), ctx);
|
||||
}
|
||||
};
|
||||
|
|
@ -8,6 +8,7 @@ vcpkg_from_github(
|
|||
HEAD_REF main
|
||||
PATCHES
|
||||
fix-build.patch
|
||||
fix-build-error-with-fmt11.patch
|
||||
)
|
||||
|
||||
# Prefer installed config files
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "fizz",
|
||||
"version-string": "2024.07.29.00",
|
||||
"port-version": 1,
|
||||
"description": "a TLS 1.3 implementation by Facebook",
|
||||
"homepage": "https://github.com/facebookincubator/fizz",
|
||||
"license": "BSD-3-Clause",
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
diff --git a/include/fmt/core.h b/include/fmt/core.h
|
||||
index b51c1406..bb139509 100644
|
||||
--- a/include/fmt/core.h
|
||||
+++ b/include/fmt/core.h
|
||||
@@ -2306,6 +2306,7 @@ enum class state { start, align, sign, hash, zero, width, precision, locale };
|
||||
|
||||
// Parses standard format specifiers.
|
||||
template <typename Char>
|
||||
+FMT_VISIBILITY("hidden") // Suppress an ld warning on macOS (#3769).
|
||||
FMT_CONSTEXPR FMT_INLINE auto parse_format_specs(
|
||||
const Char* begin, const Char* end, dynamic_format_specs<Char>& specs,
|
||||
basic_format_parse_context<Char>& ctx, type arg_type) -> const Char* {
|
||||
|
|
@ -2,10 +2,9 @@ vcpkg_from_github(
|
|||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO fmtlib/fmt
|
||||
REF "${VERSION}"
|
||||
SHA512 27df90c681ec37e55625062a79e3b83589b6d7e94eff37a3b412bb8c1473f757a8adb727603acc9185c3490628269216843b7d7bd5a3cb37f0029da5d1495ffa
|
||||
SHA512 47ff6d289dcc22681eea6da465b0348172921e7cafff8fd57a1540d3232cc6b53250a4625c954ee0944c87963b17680ecbc3ea123e43c2c822efe0dc6fa6cef3
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-visibility.patch
|
||||
fix-write-batch.patch
|
||||
)
|
||||
|
||||
|
|
@ -23,7 +22,7 @@ vcpkg_fixup_pkgconfig()
|
|||
vcpkg_copy_pdbs()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/fmt/core.h
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/fmt/base.h"
|
||||
"defined(FMT_SHARED)"
|
||||
"1"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"name": "fmt",
|
||||
"version": "10.2.1",
|
||||
"port-version": 2,
|
||||
"version": "11.0.2",
|
||||
"description": "{fmt} is an open-source formatting library providing a fast and safe alternative to C stdio and C++ iostreams.",
|
||||
"homepage": "https://github.com/fmtlib/fmt",
|
||||
"license": "MIT",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/CMake/GenPkgConfig.cmake b/CMake/GenPkgConfig.cmake
|
||||
index 0e93175..1637d9f 100644
|
||||
--- a/CMake/GenPkgConfig.cmake
|
||||
+++ b/CMake/GenPkgConfig.cmake
|
||||
@@ -93,7 +93,7 @@ function(gen_pkgconfig_vars)
|
||||
# Set the output variables
|
||||
string(REPLACE ";" " " cflags "${cflags}")
|
||||
string(REPLACE ";" " " private_libs "${private_libs}")
|
||||
-
|
||||
+ string(REPLACE "<$<COMPILE_LANGUAGE:CXX>:/utf-8>" "/utf-8" cflags "${cflags}")
|
||||
# Since CMake 3.18 FindThreads may include a generator expression requiring
|
||||
# a target, which gets propagated to us through INTERFACE_COMPILE_OPTIONS.
|
||||
# Before CMake 3.19 there's no way to solve this in a general way, so we
|
||||
|
|
@ -5,6 +5,12 @@ vcpkg_find_acquire_program(PYTHON3)
|
|||
get_filename_component(PYTHON3_DIR "${PYTHON3}" DIRECTORY)
|
||||
vcpkg_add_to_path("${PYTHON3_DIR}")
|
||||
|
||||
vcpkg_download_distfile(FMT11_RANGE_PATCH
|
||||
URLS https://github.com/facebook/folly/commit/21e8dcd464ee46b2144a1e4d4c0e452355ae15f0.patch?full_index=1
|
||||
FILENAME fmt11-range.patch
|
||||
SHA512 6a3afe361cd24b4f62b3aba625dfbbfb767c91f27fa45ed4604adc5ec3d574e571ece13eeda0d9d47b8a37166fc31b1ed7f58f120a35d35977085a08172de105
|
||||
)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO facebook/folly
|
||||
|
|
@ -17,6 +23,8 @@ vcpkg_from_github(
|
|||
fix-deps.patch
|
||||
disable-uninitialized-resize-on-new-stl.patch
|
||||
fix-unistd-include.patch
|
||||
fix-fmt11-cmake.patch
|
||||
${FMT11_RANGE_PATCH}
|
||||
)
|
||||
|
||||
file(REMOVE "${SOURCE_PATH}/CMake/FindFmt.cmake")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "folly",
|
||||
"version-string": "2024.07.29.00",
|
||||
"port-version": 1,
|
||||
"description": "An open-source C++ library developed and used at Facebook. The library is UNSTABLE on Windows",
|
||||
"homepage": "https://github.com/facebook/folly",
|
||||
"license": "Apache-2.0",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,36 @@
|
|||
diff --git a/torch/csrc/distributed/c10d/socket.cpp b/torch/csrc/distributed/c10d/socket.cpp
|
||||
index 51ea05fa..3c3fbb39 100644
|
||||
--- a/torch/csrc/distributed/c10d/socket.cpp
|
||||
+++ b/torch/csrc/distributed/c10d/socket.cpp
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include <fmt/chrono.h>
|
||||
#include <fmt/format.h>
|
||||
+#include <fmt/ranges.h>
|
||||
|
||||
#include <torch/csrc/distributed/c10d/error.h>
|
||||
#include <torch/csrc/distributed/c10d/exception.h>
|
||||
diff --git a/torch/csrc/profiler/standalone/execution_trace_observer.cpp b/torch/csrc/profiler/standalone/execution_trace_observer.cpp
|
||||
index 93d9e2d1..ea241a8b 100644
|
||||
--- a/torch/csrc/profiler/standalone/execution_trace_observer.cpp
|
||||
+++ b/torch/csrc/profiler/standalone/execution_trace_observer.cpp
|
||||
@@ -10,6 +10,7 @@
|
||||
#endif // _WIN32
|
||||
|
||||
#include <fmt/format.h>
|
||||
+#include <fmt/ranges.h>
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
#include <cmath>
|
||||
diff --git a/torch/csrc/profiler/util.cpp b/torch/csrc/profiler/util.cpp
|
||||
index 180555f9..1358c9ab 100644
|
||||
--- a/torch/csrc/profiler/util.cpp
|
||||
+++ b/torch/csrc/profiler/util.cpp
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <c10/util/ArrayRef.h>
|
||||
#include <c10/util/irange.h>
|
||||
#include <fmt/format.h>
|
||||
+#include <fmt/ranges.h>
|
||||
|
||||
#ifdef USE_KINETO
|
||||
#include <libkineto.h>
|
||||
|
|
@ -37,6 +37,7 @@ vcpkg_from_github(
|
|||
fix-calculate-minloglevel.patch
|
||||
force-cuda-include.patch
|
||||
fix-aten-cutlass.patch
|
||||
fix-build-error-with-fmt11.patch
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE "${SOURCE_PATH}/caffe2/core/macros.h") # We must use generated header files
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "libtorch",
|
||||
"version": "2.1.2",
|
||||
"port-version": 4,
|
||||
"port-version": 5,
|
||||
"description": "Tensors and Dynamic neural networks in Python with strong GPU acceleration",
|
||||
"homepage": "https://pytorch.org/",
|
||||
"license": null,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
diff --git a/include/saucer/serializers/glaze/glaze.inl b/include/saucer/serializers/glaze/glaze.inl
|
||||
index c0e1395..d704ed9 100644
|
||||
--- a/include/saucer/serializers/glaze/glaze.inl
|
||||
+++ b/include/saucer/serializers/glaze/glaze.inl
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <fmt/args.h>
|
||||
#include <fmt/format.h>
|
||||
+#include <fmt/ranges.h>
|
||||
#include <source_location>
|
||||
|
||||
#include <boost/callable_traits.hpp>
|
||||
|
|
@ -8,6 +8,7 @@ vcpkg_from_github(
|
|||
HEAD_REF dev
|
||||
PATCHES
|
||||
fix_findpkg.patch
|
||||
fix-build-error-with-fmt11.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "saucer",
|
||||
"version": "2.3.0",
|
||||
"port-version": 1,
|
||||
"description": "Next-gen desktop apps with web-frontend in C++",
|
||||
"homepage": "https://saucer.github.io/",
|
||||
"license": "MIT",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,108 @@
|
|||
diff --git a/packages/seacas/libraries/ioss/src/Ioss_Decomposition.C b/packages/seacas/libraries/ioss/src/Ioss_Decomposition.C
|
||||
index fa2719a..0a7cfff 100644
|
||||
--- a/packages/seacas/libraries/ioss/src/Ioss_Decomposition.C
|
||||
+++ b/packages/seacas/libraries/ioss/src/Ioss_Decomposition.C
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <fmt/ostream.h>
|
||||
+#include <fmt/ranges.h>
|
||||
#include <numeric>
|
||||
|
||||
#if !defined(NO_ZOLTAN_SUPPORT)
|
||||
diff --git a/packages/seacas/libraries/ioss/src/Ioss_IOFactory.C b/packages/seacas/libraries/ioss/src/Ioss_IOFactory.C
|
||||
index ef20a45..faa7943 100644
|
||||
--- a/packages/seacas/libraries/ioss/src/Ioss_IOFactory.C
|
||||
+++ b/packages/seacas/libraries/ioss/src/Ioss_IOFactory.C
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <Ioss_Version.h>
|
||||
#include <cstddef> // for nullptr
|
||||
#include <fmt/ostream.h>
|
||||
+#include <fmt/ranges.h>
|
||||
#include <map> // for _Rb_tree_iterator, etc
|
||||
#include <ostream> // for basic_ostream, etc
|
||||
#include <set>
|
||||
diff --git a/packages/seacas/libraries/ioss/src/Ioss_StructuredBlock.C b/packages/seacas/libraries/ioss/src/Ioss_StructuredBlock.C
|
||||
index 488d28a..0a1e5e2 100644
|
||||
--- a/packages/seacas/libraries/ioss/src/Ioss_StructuredBlock.C
|
||||
+++ b/packages/seacas/libraries/ioss/src/Ioss_StructuredBlock.C
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <Ioss_SmartAssert.h>
|
||||
#include <Ioss_StructuredBlock.h>
|
||||
#include <fmt/ostream.h>
|
||||
+#include <fmt/ranges.h>
|
||||
|
||||
#include <cstddef> // for size_t
|
||||
#include <numeric>
|
||||
diff --git a/packages/seacas/libraries/ioss/src/Ioss_Utils.C b/packages/seacas/libraries/ioss/src/Ioss_Utils.C
|
||||
index 241ff80..d234b8b 100644
|
||||
--- a/packages/seacas/libraries/ioss/src/Ioss_Utils.C
|
||||
+++ b/packages/seacas/libraries/ioss/src/Ioss_Utils.C
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <fmt/chrono.h>
|
||||
#include <fmt/format.h>
|
||||
#include <fmt/ostream.h>
|
||||
+#include <fmt/ranges.h>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
diff --git a/packages/seacas/libraries/ioss/src/Ioss_ZoneConnectivity.C b/packages/seacas/libraries/ioss/src/Ioss_ZoneConnectivity.C
|
||||
index 6888e17..f53c5e5 100644
|
||||
--- a/packages/seacas/libraries/ioss/src/Ioss_ZoneConnectivity.C
|
||||
+++ b/packages/seacas/libraries/ioss/src/Ioss_ZoneConnectivity.C
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <Ioss_ZoneConnectivity.h>
|
||||
#include <cstddef> // for size_t
|
||||
#include <fmt/ostream.h>
|
||||
+#include <fmt/ranges.h>
|
||||
#include <string> // for string
|
||||
#include <vector> // for vector
|
||||
|
||||
diff --git a/packages/seacas/libraries/ioss/src/heartbeat/Iohb_Layout.h b/packages/seacas/libraries/ioss/src/heartbeat/Iohb_Layout.h
|
||||
index c486d69..b67a5c6 100644
|
||||
--- a/packages/seacas/libraries/ioss/src/heartbeat/Iohb_Layout.h
|
||||
+++ b/packages/seacas/libraries/ioss/src/heartbeat/Iohb_Layout.h
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "iohb_export.h"
|
||||
|
||||
#include <fmt/ostream.h>
|
||||
+#include <fmt/ranges.h>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
diff --git a/packages/seacas/libraries/ioss/src/main/io_info.C b/packages/seacas/libraries/ioss/src/main/io_info.C
|
||||
index 53a162b..bcadb55 100644
|
||||
--- a/packages/seacas/libraries/ioss/src/main/io_info.C
|
||||
+++ b/packages/seacas/libraries/ioss/src/main/io_info.C
|
||||
@@ -11,6 +11,7 @@
|
||||
#define FMT_DEPRECATED_OSTREAM
|
||||
#include <fmt/format.h>
|
||||
#include <fmt/ostream.h>
|
||||
+#include <fmt/ranges.h>
|
||||
#if defined(SEACAS_HAVE_CGNS)
|
||||
#include <cgnslib.h>
|
||||
#endif
|
||||
diff --git a/packages/seacas/libraries/ioss/src/main/io_modify.C b/packages/seacas/libraries/ioss/src/main/io_modify.C
|
||||
index 50a217d..c01191b 100644
|
||||
--- a/packages/seacas/libraries/ioss/src/main/io_modify.C
|
||||
+++ b/packages/seacas/libraries/ioss/src/main/io_modify.C
|
||||
@@ -58,6 +58,7 @@
|
||||
#include <fmt/color.h>
|
||||
#include <fmt/format.h>
|
||||
#include <fmt/ostream.h>
|
||||
+#include <fmt/ranges.h>
|
||||
|
||||
#if defined(SEACAS_HAVE_EXODUS)
|
||||
#include <exodus/Ioex_Internals.h>
|
||||
diff --git a/packages/seacas/libraries/ioss/src/main/sphgen.C b/packages/seacas/libraries/ioss/src/main/sphgen.C
|
||||
index f633d55..24c2e2f 100644
|
||||
--- a/packages/seacas/libraries/ioss/src/main/sphgen.C
|
||||
+++ b/packages/seacas/libraries/ioss/src/main/sphgen.C
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <fmt/ostream.h>
|
||||
+#include <fmt/ranges.h>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
@ -10,6 +10,7 @@ vcpkg_from_github(
|
|||
fix-mpi.patch
|
||||
fix-headers.patch
|
||||
fix-fmt-10.patch
|
||||
fix-build-error-with-fmt11.patch
|
||||
)
|
||||
file(REMOVE "${SOURCE_PATH}/cmake/tribits/common_tpls/find_modules/FindHDF5.cmake")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "seacas",
|
||||
"version-date": "2022-11-22",
|
||||
"port-version": 6,
|
||||
"port-version": 7,
|
||||
"description": "The Sandia Engineering Analysis Code Access System (SEACAS) is a suite of preprocessing, postprocessing, translation, and utility applications supporting finite element analysis software using the Exodus database file format.",
|
||||
"homepage": "https://github.com/sandialabs/seacas",
|
||||
"license": null,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
diff --git a/src/shogun/labels/BinaryLabelEncoder.h b/src/shogun/labels/BinaryLabelEncoder.h
|
||||
index 5bcd57e..69ed63e 100644
|
||||
--- a/src/shogun/labels/BinaryLabelEncoder.h
|
||||
+++ b/src/shogun/labels/BinaryLabelEncoder.h
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <shogun/labels/LabelEncoder.h>
|
||||
#include <shogun/lib/SGVector.h>
|
||||
#include <unordered_set>
|
||||
+#include <fmt/ranges.h>
|
||||
namespace shogun
|
||||
{
|
||||
/** @brief Implements a reversible mapping from
|
||||
diff --git a/src/shogun/labels/MulticlassLabelsEncoder.h b/src/shogun/labels/MulticlassLabelsEncoder.h
|
||||
index 41e9855..04151e4 100644
|
||||
--- a/src/shogun/labels/MulticlassLabelsEncoder.h
|
||||
+++ b/src/shogun/labels/MulticlassLabelsEncoder.h
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <shogun/labels/LabelEncoder.h>
|
||||
#include <shogun/labels/MulticlassLabels.h>
|
||||
#include <shogun/lib/SGVector.h>
|
||||
+#include <fmt/ranges.h>
|
||||
|
||||
namespace shogun
|
||||
{
|
||||
|
|
@ -13,6 +13,7 @@ vcpkg_from_github(
|
|||
fmt.patch
|
||||
syntax.patch
|
||||
remove-bitsery.patch
|
||||
fix-build-error-with-fmt11.patch
|
||||
)
|
||||
|
||||
vcpkg_find_acquire_program(PYTHON3)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "shogun",
|
||||
"version-date": "2023-12-19",
|
||||
"port-version": 1,
|
||||
"description": "Unified and efficient Machine Learning",
|
||||
"homepage": "https://github.com/shogun-toolbox/shogun",
|
||||
"dependencies": [
|
||||
|
|
|
|||
|
|
@ -0,0 +1,89 @@
|
|||
diff --git a/vowpalwabbit/config/src/cli_help_formatter.cc b/vowpalwabbit/config/src/cli_help_formatter.cc
|
||||
index 8cc6dfe..10b9823 100644
|
||||
--- a/vowpalwabbit/config/src/cli_help_formatter.cc
|
||||
+++ b/vowpalwabbit/config/src/cli_help_formatter.cc
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "vw/config/options.h"
|
||||
|
||||
#include <fmt/format.h>
|
||||
+#include <fmt/ranges.h>
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
diff --git a/vowpalwabbit/config/src/options_cli.cc b/vowpalwabbit/config/src/options_cli.cc
|
||||
index cec7c03..ea31810 100644
|
||||
--- a/vowpalwabbit/config/src/options_cli.cc
|
||||
+++ b/vowpalwabbit/config/src/options_cli.cc
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "vw/config/option.h"
|
||||
|
||||
#include <fmt/format.h>
|
||||
+#include <fmt/ranges.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
diff --git a/vowpalwabbit/core/include/vw/core/automl_impl.h b/vowpalwabbit/core/include/vw/core/automl_impl.h
|
||||
index 4a44666..0d1b35d 100644
|
||||
--- a/vowpalwabbit/core/include/vw/core/automl_impl.h
|
||||
+++ b/vowpalwabbit/core/include/vw/core/automl_impl.h
|
||||
@@ -334,7 +334,7 @@ template <>
|
||||
class formatter<VW::reductions::automl::automl_state> : public formatter<std::string>
|
||||
{
|
||||
public:
|
||||
- auto format(VW::reductions::automl::automl_state c, format_context& ctx) -> decltype(ctx.out())
|
||||
+ auto format(VW::reductions::automl::automl_state c, format_context& ctx) const -> decltype(ctx.out())
|
||||
{
|
||||
return formatter<std::string>::format(std::string{VW::to_string(c)}, ctx);
|
||||
}
|
||||
@@ -344,7 +344,7 @@ template <>
|
||||
class formatter<VW::reductions::automl::config_state> : public formatter<std::string>
|
||||
{
|
||||
public:
|
||||
- auto format(VW::reductions::automl::config_state c, format_context& ctx) -> decltype(ctx.out())
|
||||
+ auto format(VW::reductions::automl::config_state c, format_context& ctx) const -> decltype(ctx.out())
|
||||
{
|
||||
return formatter<std::string>::format(std::string{VW::to_string(c)}, ctx);
|
||||
}
|
||||
@@ -354,7 +354,7 @@ template <>
|
||||
class formatter<VW::reductions::automl::config_type> : public formatter<std::string>
|
||||
{
|
||||
public:
|
||||
- auto format(VW::reductions::automl::config_type c, format_context& ctx) -> decltype(ctx.out())
|
||||
+ auto format(VW::reductions::automl::config_type c, format_context& ctx) const -> decltype(ctx.out())
|
||||
{
|
||||
return formatter<std::string>::format(std::string{VW::to_string(c)}, ctx);
|
||||
}
|
||||
diff --git a/vowpalwabbit/core/include/vw/core/ccb_label.h b/vowpalwabbit/core/include/vw/core/ccb_label.h
|
||||
index 2e7e985..b0050dd 100644
|
||||
--- a/vowpalwabbit/core/include/vw/core/ccb_label.h
|
||||
+++ b/vowpalwabbit/core/include/vw/core/ccb_label.h
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "vw/core/v_array.h"
|
||||
|
||||
#include <fmt/format.h>
|
||||
+#include <fmt/ranges.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
@@ -81,7 +82,7 @@ template <>
|
||||
class formatter<VW::ccb_example_type> : public formatter<std::string>
|
||||
{
|
||||
public:
|
||||
- auto format(VW::ccb_example_type c, format_context& ctx) -> decltype(ctx.out())
|
||||
+ auto format(VW::ccb_example_type c, format_context& ctx) const -> decltype(ctx.out())
|
||||
{
|
||||
return formatter<std::string>::format(std::string{VW::to_string(c)}, ctx);
|
||||
}
|
||||
diff --git a/vowpalwabbit/core/include/vw/core/slates_label.h b/vowpalwabbit/core/include/vw/core/slates_label.h
|
||||
index 0cd089c..d226893 100644
|
||||
--- a/vowpalwabbit/core/include/vw/core/slates_label.h
|
||||
+++ b/vowpalwabbit/core/include/vw/core/slates_label.h
|
||||
@@ -81,7 +81,7 @@ template <>
|
||||
class formatter<VW::slates::example_type> : public formatter<std::string>
|
||||
{
|
||||
public:
|
||||
- auto format(VW::slates::example_type c, format_context& ctx) -> decltype(ctx.out())
|
||||
+ auto format(VW::slates::example_type c, format_context& ctx) const -> decltype(ctx.out())
|
||||
{
|
||||
return formatter<std::string>::format(std::string{VW::to_string(c)}, ctx);
|
||||
}
|
||||
|
|
@ -6,7 +6,9 @@ vcpkg_from_github(
|
|||
REF "${VERSION}"
|
||||
SHA512 37c4401e5304c20a7a4c2ffa6102bfa82085c4bbc787c796da295e789996f09472ac4b3e732b0a44016eab6579c2648085b1e67b1df2658257d52f7e46a1b683
|
||||
HEAD_REF master
|
||||
PATCHES cmake_remove_bin_targets.patch
|
||||
PATCHES
|
||||
cmake_remove_bin_targets.patch
|
||||
fix-build-error-with-fmt11.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "vowpal-wabbit",
|
||||
"version": "9.8.0",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "Reduction based online learning framework with a focus on contextual bandits and reinforcement learning.",
|
||||
"homepage": "https://github.com/vowpalwabbit/vowpal_wabbit",
|
||||
"license": "BSD-3-Clause",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/lib/common/errinfo.cpp b/lib/common/errinfo.cpp
|
||||
index 69aa666..b7b0857 100644
|
||||
--- a/lib/common/errinfo.cpp
|
||||
+++ b/lib/common/errinfo.cpp
|
||||
@@ -5,6 +5,8 @@
|
||||
#include "common/errcode.h"
|
||||
#include "common/hexstr.h"
|
||||
|
||||
+#include <fmt/ranges.h>
|
||||
+
|
||||
using namespace std::literals;
|
||||
|
||||
fmt::format_context::iterator
|
||||
|
|
@ -4,6 +4,7 @@ vcpkg_from_github(
|
|||
REF "${VERSION}"
|
||||
SHA512 fcd6b804876a5899ec8c21aa349b7ec3e8e0b87537e93d237cb14da2ecb162410ae9ad39212c5ab01e4408191768b806d84e55934616de094a696bf6f02fe1de
|
||||
HEAD_REF master
|
||||
PATCHES fix-build-error-with-fmt11.patch
|
||||
)
|
||||
|
||||
set(WASMEDGE_CMAKE_OPTIONS "")
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "wasmedge",
|
||||
"version": "0.13.5",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "WasmEdge is a high-performance WebAssembly runtime for edge computing.",
|
||||
"homepage": "https://WasmEdge.org",
|
||||
"license": "Apache-2.0",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,36 @@
|
|||
diff --git a/ntcore/src/dev/native/cpp/main.cpp b/ntcore/src/dev/native/cpp/main.cpp
|
||||
index 6e43fdb..ad93644 100644
|
||||
--- a/ntcore/src/dev/native/cpp/main.cpp
|
||||
+++ b/ntcore/src/dev/native/cpp/main.cpp
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <thread>
|
||||
|
||||
#include <fmt/format.h>
|
||||
+#include <fmt/ranges.h>
|
||||
#include <wpi/Synchronization.h>
|
||||
#include <wpi/timestamp.h>
|
||||
|
||||
diff --git a/wpiutil/examples/printlog/printlog.cpp b/wpiutil/examples/printlog/printlog.cpp
|
||||
index cb89934..4fe4817 100644
|
||||
--- a/wpiutil/examples/printlog/printlog.cpp
|
||||
+++ b/wpiutil/examples/printlog/printlog.cpp
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <fmt/chrono.h>
|
||||
#include <fmt/format.h>
|
||||
+#include <fmt/ranges.h>
|
||||
|
||||
#include "wpi/DataLogReader.h"
|
||||
#include "wpi/DenseMap.h"
|
||||
diff --git a/wpiutil/src/main/native/include/wpi/Logger.h b/wpiutil/src/main/native/include/wpi/Logger.h
|
||||
index 01a02fd..bd524a9 100644
|
||||
--- a/wpiutil/src/main/native/include/wpi/Logger.h
|
||||
+++ b/wpiutil/src/main/native/include/wpi/Logger.h
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include <fmt/format.h>
|
||||
+#include <fmt/ranges.h>
|
||||
|
||||
namespace wpi {
|
||||
|
||||
|
|
@ -8,6 +8,7 @@ vcpkg_from_github(
|
|||
windows-install-location.patch
|
||||
missing-find_dependency.patch
|
||||
fix-usage.patch
|
||||
fix-build-error-with-fmt11.patch
|
||||
)
|
||||
|
||||
if("allwpilib" IN_LIST FEATURES)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "wpilib",
|
||||
"version-date": "2023-08-24",
|
||||
"port-version": 1,
|
||||
"description": "WPILib is the software library package for the FIRST Robotics Competition. The core install includes wpiutil, a common utilies library, and ntcore, the base NetworkTables library.",
|
||||
"homepage": "https://github.com/wpilibsuite/allwpilib",
|
||||
"license": null,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "856dddcbc547f4351ff1382b163f7c1d4f5de495",
|
||||
"version": "1.6.8",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "29028471ac882b35474e5f29767c8d1e92e31a6f",
|
||||
"version": "1.6.8",
|
||||
|
|
|
|||
|
|
@ -1398,7 +1398,7 @@
|
|||
},
|
||||
"buck-yeh-bux": {
|
||||
"baseline": "1.6.8",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"buck-yeh-bux-mariadb-client": {
|
||||
"baseline": "1.0.3",
|
||||
|
|
@ -2734,7 +2734,7 @@
|
|||
},
|
||||
"fizz": {
|
||||
"baseline": "2024.07.29.00",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"flagpp": {
|
||||
"baseline": "2.1",
|
||||
|
|
@ -2813,12 +2813,12 @@
|
|||
"port-version": 2
|
||||
},
|
||||
"fmt": {
|
||||
"baseline": "10.2.1",
|
||||
"port-version": 2
|
||||
"baseline": "11.0.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"folly": {
|
||||
"baseline": "2024.07.29.00",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"font-chef": {
|
||||
"baseline": "1.1.0",
|
||||
|
|
@ -5130,7 +5130,7 @@
|
|||
},
|
||||
"libtorch": {
|
||||
"baseline": "2.1.2",
|
||||
"port-version": 4
|
||||
"port-version": 5
|
||||
},
|
||||
"libtorrent": {
|
||||
"baseline": "2.0.10",
|
||||
|
|
@ -7990,7 +7990,7 @@
|
|||
},
|
||||
"saucer": {
|
||||
"baseline": "2.3.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"sbp": {
|
||||
"baseline": "3.4.10",
|
||||
|
|
@ -8102,7 +8102,7 @@
|
|||
},
|
||||
"seacas": {
|
||||
"baseline": "2022-11-22",
|
||||
"port-version": 6
|
||||
"port-version": 7
|
||||
},
|
||||
"seal": {
|
||||
"baseline": "4.1.1",
|
||||
|
|
@ -8202,7 +8202,7 @@
|
|||
},
|
||||
"shogun": {
|
||||
"baseline": "2023-12-19",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"si": {
|
||||
"baseline": "2.5.1",
|
||||
|
|
@ -9326,7 +9326,7 @@
|
|||
},
|
||||
"vowpal-wabbit": {
|
||||
"baseline": "9.8.0",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"vs-yasm": {
|
||||
"baseline": "0.5.0",
|
||||
|
|
@ -9414,7 +9414,7 @@
|
|||
},
|
||||
"wasmedge": {
|
||||
"baseline": "0.13.5",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"wavelib": {
|
||||
"baseline": "2021-11-26",
|
||||
|
|
@ -9526,7 +9526,7 @@
|
|||
},
|
||||
"wpilib": {
|
||||
"baseline": "2023-08-24",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"wren": {
|
||||
"baseline": "0.4.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d9b5cc90801fcb2ef5ac271ef1f09348b1ee9536",
|
||||
"version-string": "2024.07.29.00",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "7a1f82b0ff072b3576c6d07fa49d320819495ebb",
|
||||
"version-string": "2024.07.29.00",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "01091f7b48f4960e6e0a8763dbb3e7aee3e6e834",
|
||||
"version-string": "2024.07.29.00",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "fad13c6c795653b7165a4f1cdefbe11c1270803d",
|
||||
"version-string": "2024.07.29.00",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "65fe4dea09fc09a30e6ece9ac19edb7ad6a49601",
|
||||
"version": "11.0.2",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "f6f4efa01a5e9ac627f0c6687af8b6b317fbbe42",
|
||||
"version": "10.2.1",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "145b025ac9e58f82128d1594a9a1d320c0e8f759",
|
||||
"version-string": "2024.07.29.00",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "4ae71f31a0f70250d2cd0f9374d0b30d328ba48f",
|
||||
"version-string": "2024.07.29.00",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "6d1fe8207d6f9680a243fe20ed6a222f1174d708",
|
||||
"version": "2.1.2",
|
||||
"port-version": 5
|
||||
},
|
||||
{
|
||||
"git-tree": "669a1f2317ab243ad046d2a48b96ed72e82976d8",
|
||||
"version": "2.1.2",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ab050dd2d11b33fbb575dcd4a48fffe0daf099d8",
|
||||
"version": "2.3.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "65f56fc183c1735f4c6c239f660b5dfc35ba3281",
|
||||
"version": "2.3.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "405532a89129aa97af0759ecf8e4da3ee4d8a543",
|
||||
"version-date": "2022-11-22",
|
||||
"port-version": 7
|
||||
},
|
||||
{
|
||||
"git-tree": "bebbef6d1a82c6848bbb8d619a5e379f9b29b3f9",
|
||||
"version-date": "2022-11-22",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4b3a907b0e5ba4e83f761e7bce13e081b2b8c330",
|
||||
"version-date": "2023-12-19",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "005b5791f492c914205e14ecf3985f1f9da7a707",
|
||||
"version-date": "2023-12-19",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2ffdf8c2be56925eb70832739a411c935d8f8796",
|
||||
"version": "9.8.0",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "67f9b52b83a34f59c3dd20cff11d2c968149bbfc",
|
||||
"version": "9.8.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2284d35f16fb7ae212ac442dfb0a98d2dc709981",
|
||||
"version": "0.13.5",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "45086bbec78c8152a37b5c487e103a4fd838b17a",
|
||||
"version": "0.13.5",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2fcd17f46e3a3690ef340ba7da121efac75e28cc",
|
||||
"version-date": "2023-08-24",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "7da141104a256a768fa72c6b3f98104904ebe45e",
|
||||
"version-date": "2023-08-24",
|
||||
|
|
|
|||
Loading…
Reference in New Issue