From f3e56003d70ee0e2d2ca5ca68e44f82545273340 Mon Sep 17 00:00:00 2001 From: Ofer Gill Date: Mon, 24 May 2021 09:32:41 -0600 Subject: [PATCH] NF-1329: Adds TableEnumerator and ShortMacros to installed RAMCloud headers - kv_ramcloud_connection.cpp in nfapp needs TableEnumerator for sync enumerations It's easier than trying to call the RPC API's in RamCloud.h --- patches/series | 1 + patches/table-enumerator.patch | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 patches/table-enumerator.patch diff --git a/patches/series b/patches/series index 7534763..a4f6898 100644 --- a/patches/series +++ b/patches/series @@ -12,3 +12,4 @@ transport-timeout-interval.patch bindings-migration.patch log-sse42-status.patch rpcwrapper-logging-fix.patch +table-enumerator.patch diff --git a/patches/table-enumerator.patch b/patches/table-enumerator.patch new file mode 100644 index 0000000..b977f2b --- /dev/null +++ b/patches/table-enumerator.patch @@ -0,0 +1,24 @@ +Adds TableEnumerator and ShortMacros headers to install area of RAMCloud + +From: nobody + + +--- + GNUmakefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/GNUmakefile b/GNUmakefile +index 201131cc..227237b1 100644 +--- a/GNUmakefile ++++ b/GNUmakefile +@@ -467,8 +467,10 @@ INSTALL_INCLUDES := \ + src/ServerIdRpcWrapper.h \ + src/ServerMetrics.h \ + src/ServiceMask.h \ ++ src/ShortMacros.h \ + src/SpinLock.h \ + src/Status.h \ ++ src/TableEnumerator.h \ + src/TestLog.h \ + src/Transaction.h \ + src/Transport.h \