From 068f95457562b911ab71aa8121e8e9aca7437571 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Ferdinand=20Rivera=20Morell?= Date: Sun, 17 Mar 2024 16:18:05 -0500 Subject: [PATCH] Replace use of context valgrind feature. Declare our own b2 feature for valgrind and adding the BOOST_USE_VALGRIND predef. This avoids dependency ordering problems since Beast doesn't depend on Boost.Context. Which is the lib that defines the other valgrind feature. This change is needed to avoid build errors for this PR https://github.com/boostorg/boost/pull/854 --- Jamfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jamfile b/Jamfile index cf141b48..4b8eb6c8 100644 --- a/Jamfile +++ b/Jamfile @@ -38,9 +38,12 @@ variant beast_coverage "--coverage" ; +feature.feature boost.beast.valgrind : on : optional propagated composite ; +feature.compose on : BOOST_USE_VALGRIND ; + variant beast_valgrind : release - : on # Boost.Context uses this property + : on ; variant beast_ubasan