mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 14:29:07 +08:00
656fcc6ab2
* [fmt] Update to version 10.0.0. * [fmt] Update portfile. - Remove dead code. It is no longer necessary to manually move DLLs and edit CMake configs. - Use vcpkg_install_copyright. * [fmt] Update baseline. * [cachelib] Update to 2023.05.08.00, support fmt 10 * Update to 2023.05.08.00. * Add patch to support fmt 10. * Update baseline. * [spdlog] Add upstream patch for fmt 10. * Add upstream patch to support fmt 10. * Update portfile. * Add usage. * Update baseline. * [seacas] Add upstream patch to support fmt 10.0.0. * Add patch to support fmt 10.0.0. * Update baseline. * [coolprop] Update patch to support fmt 10. * Update patch to support fmt 10.0.0. See CoolProp/CoolProp#2252 * Update baseline. * [wasmedge] Add patch for fmt 10 support. * Add patch to support fmt 10 * Update baseline
45 lines
2.1 KiB
Diff
45 lines
2.1 KiB
Diff
diff --git a/cachelib/cachebench/cache/ItemRecords.h b/cachelib/cachebench/cache/ItemRecords.h
|
|
index 80fe7489..e581d78e 100644
|
|
--- a/cachelib/cachebench/cache/ItemRecords.h
|
|
+++ b/cachelib/cachebench/cache/ItemRecords.h
|
|
@@ -102,11 +102,11 @@ class ItemRecords {
|
|
}
|
|
if (record.destructCount != 0) {
|
|
XLOGF(ERR, "unexpected destructCount {} for item {}, context {}|{}",
|
|
- record.destructCount, item.getKey(), data.context, record.context);
|
|
+ record.destructCount, item.getKey().data(), data.context, record.context);
|
|
}
|
|
if (record.version != ptr->getVersion()) {
|
|
XLOGF(ERR, "unexpected version {}|{} for item {}", record.version,
|
|
- ptr->getVersion(), item.getKey());
|
|
+ ptr->getVersion(), item.getKey().data());
|
|
}
|
|
++record.destructCount;
|
|
|
|
diff --git a/cachelib/cachebench/runner/FastShutdown.cpp b/cachelib/cachebench/runner/FastShutdown.cpp
|
|
index 82c878eb..5ceb342d 100644
|
|
--- a/cachelib/cachebench/runner/FastShutdown.cpp
|
|
+++ b/cachelib/cachebench/runner/FastShutdown.cpp
|
|
@@ -27,7 +27,7 @@ namespace cachebench {
|
|
FastShutdownStressor::FastShutdownStressor(const CacheConfig& cacheConfig,
|
|
uint64_t numOps)
|
|
: numOps_(numOps),
|
|
- cacheDir_{folly::sformat("/tmp/cache_bench_fss_{}", getpid())},
|
|
+ cacheDir_{folly::sformat("/tmp/cache_bench_fss_{}", std::to_string(getpid()))},
|
|
cache_(std::make_unique<Cache<LruAllocator>>(
|
|
cacheConfig, nullptr, cacheDir_)) {}
|
|
|
|
diff --git a/cachelib/navy/admission_policy/DynamicRandomAP.cpp b/cachelib/navy/admission_policy/DynamicRandomAP.cpp
|
|
index 3a8a1aa0..2ab0fa45 100644
|
|
--- a/cachelib/navy/admission_policy/DynamicRandomAP.cpp
|
|
+++ b/cachelib/navy/admission_policy/DynamicRandomAP.cpp
|
|
@@ -189,7 +189,7 @@ void DynamicRandomAP::updateThrottleParamsLocked(std::chrono::seconds curTime) {
|
|
XLOGF(INFO,
|
|
"max write rate {} will be used because target current write rate {} "
|
|
"exceeds it.",
|
|
- maxRate_, curTargetRate);
|
|
+ maxRate_.load(std::memory_order_relaxed), curTargetRate);
|
|
curTargetRate = maxRate_;
|
|
}
|
|
writeStats_.curTargetRate = curTargetRate;
|