vcpkg/ports/cachelib/fix-status-formmatable.patch

38 lines
1.4 KiB
Diff

diff --git a/cachelib/navy/block_cache/FixedSizeIndex.h b/cachelib/navy/block_cache/FixedSizeIndex.h
index 0f9c2d9..68ce95c 100644
--- a/cachelib/navy/block_cache/FixedSizeIndex.h
+++ b/cachelib/navy/block_cache/FixedSizeIndex.h
@@ -466,7 +466,7 @@ class FixedSizeIndex : public Index {
XLOGF(ERR,
"Adding Key hash {}, bid {} to CombinedEntryBlock failed, "
"status={}",
- key.value(), curBid, status);
+ key.value(), curBid, static_cast<uint8_t>(status));
// We will continue by discarding currently stored entry
return {};
}
diff --git a/cachelib/navy/CMakeLists.txt b/cachelib/navy/CMakeLists.txt
index 8fa1d10..73406c5 100644
--- a/cachelib/navy/CMakeLists.txt
+++ b/cachelib/navy/CMakeLists.txt
@@ -30,6 +30,7 @@ add_library (cachelib_navy
block_cache/Region.cpp
block_cache/RegionManager.cpp
block_cache/SparseMapIndex.cpp
+ block_cache/CombinedEntryBlock.cpp
common/Buffer.cpp
common/Device.cpp
common/FdpNvme.cpp
diff --git a/cachelib/cachebench/CMakeLists.txt b/cachelib/cachebench/CMakeLists.txt
index df1cb18..574cd5f 100644
--- a/cachelib/cachebench/CMakeLists.txt
+++ b/cachelib/cachebench/CMakeLists.txt
@@ -29,6 +29,7 @@ add_library (cachelib_cachebench
./runner/ProgressTracker.cpp
./runner/Runner.cpp
./runner/Stressor.cpp
+ ./cache/components/RAMComponent.cpp
./util/AggregateStats.cpp
./util/CacheConfig.cpp
./util/Config.cpp