-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [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
- Loading branch information
1 parent
f8b9c6a
commit 656fcc6
Showing
24 changed files
with
364 additions
and
88 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
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; |
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
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 5a576de57ee1664d845c83f552f2100cc9303a26 Mon Sep 17 00:00:00 2001 | ||
From: Greg Sjaardema <gsjaardema@gmail.com> | ||
Date: Wed, 10 May 2023 15:28:53 -0600 | ||
Subject: [PATCH] IOSS: Fix enum printing to work with fmt-10 | ||
|
||
--- | ||
.../seacas/libraries/ioss/src/text_mesh/Iotm_DatabaseIO.C | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/packages/seacas/libraries/ioss/src/text_mesh/Iotm_DatabaseIO.C b/packages/seacas/libraries/ioss/src/text_mesh/Iotm_DatabaseIO.C | ||
index b6827aa177..59507085fc 100644 | ||
--- a/packages/seacas/libraries/ioss/src/text_mesh/Iotm_DatabaseIO.C | ||
+++ b/packages/seacas/libraries/ioss/src/text_mesh/Iotm_DatabaseIO.C | ||
@@ -1,4 +1,4 @@ | ||
-// Copyright(C) 1999-2020, 2022 National Technology & Engineering Solutions | ||
+// Copyright(C) 1999-2020, 2022, 2023 National Technology & Engineering Solutions | ||
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with | ||
// NTESS, the U.S. Government retains certain rights in this software. | ||
// | ||
@@ -802,7 +802,7 @@ namespace Iotm { | ||
std::ostringstream errmsg; | ||
fmt::print(errmsg, | ||
"Error: Failed to find entity of type {} with name {} for Assembly {}.\n", | ||
- type, members[j], assem->name()); | ||
+ Ioss::Utils::entity_type_to_string(type), members[j], assem->name()); | ||
IOSS_ERROR(errmsg); | ||
} | ||
} |
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
Oops, something went wrong.