qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/3] configure: add missing CONFIG_JEMALLOC


From: Stefan Hajnoczi
Subject: [PATCH 2/3] configure: add missing CONFIG_JEMALLOC
Date: Mon, 14 Sep 2020 10:52:30 +0100

The feature summary in meson.build checks for CONFIG_JEMALLOC:

  summary_info += {'jemalloc support':  config_host.has_key('CONFIG_JEMALLOC')}

Nothing emits CONFIG_JEMALLOC in ./configure so this feature appears
disabled even if it has been enabled.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index 9f5b3a8897..a917456909 100755
--- a/configure
+++ b/configure
@@ -7031,6 +7031,10 @@ if test "$tcmalloc" = "yes" ; then
   echo "CONFIG_TCMALLOC=y" >> $config_host_mak
 fi
 
+if test "$jemalloc" = "yes" ; then
+  echo "CONFIG_JEMALLOC=y" >> $config_host_mak
+fi
+
 if test "$avx2_opt" = "yes" ; then
   echo "CONFIG_AVX2_OPT=y" >> $config_host_mak
 fi
-- 
2.26.2


reply via email to

[Prev in Thread] Current Thread [Next in Thread]