public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Lind <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/cachelib] epel10: Update to the 2025.02.03.00 tag; Fixes: RHBZ#2341686
Date: Thu, 08 Oct 2026 08:26:14 GMT	[thread overview]
Message-ID: <179144797446.1.17478922574009776812.rpms-cachelib-8595ee4fe2a7@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/cachelib
            Branch : epel10
            Commit : 8595ee4fe2a7ec97cd28eb19e28a633d9d342696
            Author : Michel Lind <salimma@fedoraproject.org>
            Date   : 2025-02-07T14:59:42-06:00
            Stats  : +50/-32 in 7 file(s)
            URL    : https://src.fedoraproject.org/rpms/cachelib/c/8595ee4fe2a7ec97cd28eb19e28a633d9d342696?branch=epel10

            Log:
            Update to the 2025.02.03.00 tag; Fixes: RHBZ#2341686

Signed-off-by: Michel Lind <salimma@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index d5f4bd2..e0522c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
 /cachelib-2024.02.19.00.tar.gz
 /cachelib-2024.07.22.00.tar.gz
 /cachelib-2024.08.19.00.tar.gz
+/cachelib-2025.02.03.00.tar.gz

diff --git a/cachelib-disable-binary_trace_gen.diff b/cachelib-disable-binary_trace_gen.diff
new file mode 100644
index 0000000..84b8cee
--- /dev/null
+++ b/cachelib-disable-binary_trace_gen.diff
@@ -0,0 +1,43 @@
+--- a/cachelib/cachebench/CMakeLists.txt
++++ b/cachelib/cachebench/CMakeLists.txt
+@@ -41,25 +41,6 @@ target_link_libraries(cachelib_cachebenc
+   gflags
+ )
+ 
+-add_library (cachelib_binary_trace_gen
+-  ./runner/Runner.cpp
+-  ./runner/Stressor.cpp
+-  ./util/CacheConfig.cpp
+-  ./util/Config.cpp
+-  ./workload/BlockChunkCache.cpp
+-  ./workload/BlockChunkReplayGenerator.cpp
+-  ./workload/PieceWiseCache.cpp
+-  ./workload/OnlineGenerator.cpp
+-  ./workload/WorkloadGenerator.cpp
+-  ./workload/PieceWiseReplayGenerator.cpp
+-  )
+-add_dependencies(cachelib_binary_trace_gen thrift_generated_files)
+-target_link_libraries(cachelib_binary_trace_gen PUBLIC
+-  cachelib_datatype
+-  cachelib_allocator
+-  gflags
+-)
+-
+ if ((CMAKE_SYSTEM_NAME STREQUAL Linux) AND
+     (CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64))
+ else()
+@@ -68,14 +49,11 @@ endif()
+ 
+ 
+ add_executable (cachebench main.cpp)
+-add_executable (binary_trace_gen binary_trace_gen.cpp)
+ target_link_libraries(cachebench cachelib_cachebench)
+-target_link_libraries(binary_trace_gen cachelib_binary_trace_gen)
+ 
+ install(
+   TARGETS
+      cachebench
+-     binary_trace_gen
+   DESTINATION ${BIN_INSTALL_DIR}
+ )
+ 

diff --git a/cachelib-fix-DeviceTest-FDP.diff b/cachelib-fix-DeviceTest-FDP.diff
index 26c5566..424b24c 100644
--- a/cachelib-fix-DeviceTest-FDP.diff
+++ b/cachelib-fix-DeviceTest-FDP.diff
@@ -1,6 +1,6 @@
 --- a/cachelib/navy/CMakeLists.txt
 +++ b/cachelib/navy/CMakeLists.txt
-@@ -103,7 +103,7 @@ if (BUILD_TESTS)
+@@ -105,7 +105,7 @@ if (BUILD_TESTS)
    add_test (scheduler/tests/ThreadPoolJobSchedulerTest.cpp)
    add_test (driver/tests/DriverTest.cpp)
    if (NOT MISSING_FALLOCATE)

diff --git a/cachelib-fix-libcachelib_allocator-MockDevice.diff b/cachelib-fix-libcachelib_allocator-MockDevice.diff
deleted file mode 100644
index 94e07aa..0000000
--- a/cachelib-fix-libcachelib_allocator-MockDevice.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/cachelib/allocator/nvmcache/NavySetup.cpp
-+++ b/cachelib/allocator/nvmcache/NavySetup.cpp
-@@ -23,7 +23,6 @@
- #include "cachelib/allocator/nvmcache/NavyConfig.h"
- #include "cachelib/navy/Factory.h"
- #include "cachelib/navy/scheduler/JobScheduler.h"
--#include "cachelib/navy/testing/MockDevice.h"
- 
- namespace facebook {
- namespace cachelib {
-@@ -369,6 +368,7 @@ std::unique_ptr<navy::AbstractCache> cre
-     bool itemDestructorEnabled) {
-   auto device = createDevice(config, std::move(encryptor));
- 
-+#if 0
-   if (config.hasDeviceDataCorruptionForTesting()) {
-     // Use mock device. This is for testing
-     auto mockDevice = std::make_unique<navy::MockDevice>(
-@@ -392,6 +392,7 @@ std::unique_ptr<navy::AbstractCache> cre
- 
-     device = std::move(mockDevice);
-   }
-+#endif
- 
-   auto proto = cachelib::navy::createCacheProto();
-   auto* devicePtr = device.get();

diff --git a/cachelib.spec b/cachelib.spec
index 2736b2a..28eedaf 100644
--- a/cachelib.spec
+++ b/cachelib.spec
@@ -9,7 +9,7 @@
 %bcond_with check
 
 %global forgeurl https://github.com/facebook/CacheLib
-%global tag 2024.08.19.00
+%global tag 2025.02.03.00
 %global date %(echo %{tag} | sed -e 's|.00$||' | sed -e 's|\\.||g')
 # disable forge macro snapinfo generation
 # https://pagure.io/fedora-infra/rpmautospec/issue/240
@@ -27,10 +27,10 @@ Summary:        Pluggable caching engine for scale high performance cache servic
 License:        Apache-2.0
 URL:            %forgeurl
 Source:         %{url}/archive/v%{tag}/%{name}-%{tag}.tar.gz
-# allocator/nvmecache/NavySetup.cpp should not reference test code
-Patch:          %{name}-fix-libcachelib_allocator-MockDevice.diff
 # DeviceTest needs common/FdpNvme.cpp. Disable for now
 Patch:          %{name}-fix-DeviceTest-FDP.diff
+# incomplete dependencies, will sort out later
+Patch:          %{name}-disable-binary_trace_gen.diff
 # needed on EL8; its gtest does not come with cmake files
 Patch100:       %{name}-find-gtest.patch
 # Workaround for gcc issue (still needed on epel9 x86_64)

diff --git a/series b/series
index 2e56495..e1b4b30 100644
--- a/series
+++ b/series
@@ -1,2 +1,2 @@
-cachelib-fix-libcachelib_allocator-MockDevice.diff
 cachelib-fix-DeviceTest-FDP.diff
+cachelib-disable-binary_trace_gen.diff

diff --git a/sources b/sources
index 833868c..6d89fce 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cachelib-2024.08.19.00.tar.gz) = 6d8f2be8b772770f924c101a5a4ec9ff3f1e5ee6f7d3eba28102debceadb3de4174347cf9e6eaaba1b6d0a10a8466d4ee325ee21d5f6b931b4603805264ae145
+SHA512 (cachelib-2025.02.03.00.tar.gz) = 439e4941ed0ab42916342d8e702c31def0ae36ef52153ebac9d6b8bb26e9a9cef677ba1352ec5ffb4b962db8cca54151cde534c54e4427df2820a63ffb862ecd

                 reply	other threads:[~2026-10-08  8:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179144797446.1.17478922574009776812.rpms-cachelib-8595ee4fe2a7@fedoraproject.org \
    --to=salimma@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox