Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduct-cpp: add recipe #23524

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
relax fmtlib not to be "header-only"
  • Loading branch information
toge committed May 11, 2024
commit 3529248c23a72e0acf046309ecf74fb3f9b22665
4 changes: 4 additions & 0 deletions recipes/reduct-cpp/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ patches:
- patch_file: "patches/1.9.0-0003-fix-spaceship-operator.patch"
patch_description: "fix spaceship operator for msvc"
patch_type: "portability"
patch_source: "https://github.com/reductstore/reduct-cpp/pull/66"
- patch_file: "patches/1.9.0-0004-date-parse.patch"
patch_description: "fix ambiguous parse calls"
patch_type: "portability"
- patch_file: "patches/1.9.0-0005-remove-fmt-headeronly.patch"
patch_description: "remove FMT_HEADER_ONLY definition"
patch_type: "conan"
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/src/reduct/bucket.cc b/src/reduct/bucket.cc
index b714389..3e81279 100644
--- a/src/reduct/bucket.cc
+++ b/src/reduct/bucket.cc
@@ -1,8 +1,9 @@
// Copyright 2022-2023 Alexey Timin

#include "reduct/bucket.h"
-#define FMT_HEADER_ONLY 1
+// #define FMT_HEADER_ONLY 1
#include <fmt/core.h>
+#include <fmt/format.h>
#if CONAN
#include <moodycamel/concurrentqueue.h>
#else
Loading