]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DEV: haring: update readme to suggest using the same build options for haring
authorWilly Tarreau <w@1wt.eu>
Thu, 4 May 2023 06:13:44 +0000 (08:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 4 May 2023 06:13:44 +0000 (08:13 +0200)
It's not necessarily obvious so better suggest it there to use the same
build options, and indicate the tradeoffs (e.g. depend on more libs).

dev/haring/README

index 69d08a86c9c969e0f621da1691bb94853612c176..5205cf271eb71dd556f0e394e8f8444ac5320c10 100644 (file)
@@ -2,3 +2,8 @@ This needs to be built from the top makefile, for example :
 
   make dev/haring/haring
 
+If HAProxy is built with special options such -DDEBUG_THREAD or with
+multi-threading support enabled (which changes the ring's header size),
+it can be worth reusing the same build options for haring, usually they
+will remain compatible, and will simplify the handling of different file
+layouts, at the expense of dragging more dependencies into the executable.