From d313bd48fdb772129c6f0f45c5df6c6727aaea08 Mon Sep 17 00:00:00 2001 From: fruffy Date: Wed, 3 Jul 2024 10:34:34 -0400 Subject: [PATCH] Versioning clarifications. Signed-off-by: fruffy --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4eb65b633af..be682c51219 100644 --- a/README.md +++ b/README.md @@ -269,7 +269,7 @@ use them, but YMMV. - Google Protocol Buffers v3.25.3 or higher for control plane API generation -- C++ boost library +- C++ boost 1.76 library - Python 3 for scripting and running tests @@ -323,6 +323,8 @@ projects unless you install version 3.25.3. P4C also depends on Google Abseil library. This library is also a pre-requisite for Protobuf of any version newer than 3.21. Therefore the use of Protobuf of suitable version automatically fulfils Abseil dependency. P4C typically installs its own version of Abseil using CMake's `FetchContent` module (Abseil LTS 20240116.1 at the moment). +For C++20 support P4C requires a Boost version of at least 1.76. + ### CMake P4C requires a CMake version of at least 3.16.3 or higher. On older systems, a newer version of CMake can be installed using `pip3 install --user cmake==3.16.3`. We have a CI test on Ubuntu 18.04 that uses this option, but there is no guarantee that this will lead to a successful build. @@ -412,7 +414,7 @@ Installing on macOS: ## Garbage collector -P4c relies on [BDW garbage collector](https://github.com/ivmai/bdwgc) +P4C relies on [BDW garbage collector](https://github.com/ivmai/bdwgc) to manage its memory. By default, the P4C executables are linked with the garbage collector library. When the GC causes problems, this can be disabled by setting `ENABLE_GC` cmake option to `OFF`. However, @@ -423,7 +425,7 @@ a problem on MacOS. ## Crash dumps -P4c will use [libbacktrace](https://github.com/ianlancetaylor/libbacktrace.git) +P4C will use [libbacktrace](https://github.com/ianlancetaylor/libbacktrace.git) to produce readable crash dumps if it is available. This is an optional dependency; if it is not available everything should build just fine, but crash dumps will not be very readable.