diff options
author | Han Han <hanhanzhiyeqianke@gmail.com> | 2019-07-27 23:33:09 +0800 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2019-09-21 21:34:08 -0500 |
commit | a241bd5e94cea0a32a4be496dd6549b63d1d9f2c (patch) | |
tree | f47cbdbad49cae3a7dfcd2a939f88167ee52703b /app-emulation | |
parent | app-emulation/spice-vdagent: add missing x11-libs/libdrm dependency (diff) | |
download | gentoo-a241bd5e94cea0a32a4be496dd6549b63d1d9f2c.tar.gz gentoo-a241bd5e94cea0a32a4be496dd6549b63d1d9f2c.tar.bz2 gentoo-a241bd5e94cea0a32a4be496dd6549b63d1d9f2c.zip |
app-emulation/qemu: Add use flag jemalloc
Add flag jemalloc to enable or disable jemalloc memory jemalloc support
for qemu.
Signed-off-by: Han Han <hanhanzhiyeqianke@gmail.com>
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/qemu/metadata.xml | 1 | ||||
-rw-r--r-- | app-emulation/qemu/qemu-4.0.0-r50.ebuild | 4 | ||||
-rw-r--r-- | app-emulation/qemu/qemu-9999.ebuild | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/app-emulation/qemu/metadata.xml b/app-emulation/qemu/metadata.xml index 3439dfdd4e15..4c468733de52 100644 --- a/app-emulation/qemu/metadata.xml +++ b/app-emulation/qemu/metadata.xml @@ -39,6 +39,7 @@ <flag name="static">Build the User and Software MMU (system) targets as well as tools as static binaries</flag> <flag name="systemtap">Enable SystemTAP/DTrace tracing</flag> <flag name="tci">Enable the TCG Interpreter which can speed up or slowdown workloads depending on the host and guest CPUs being emulated. In the future it will be a runtime option but for now its compile time.</flag> + <flag name="jemalloc">Enable jemalloc allocator support</flag> <flag name="jpeg">Enable jpeg image support for the VNC console server</flag> <flag name="png">Enable png image support for the VNC console server</flag> <flag name="usb">Enable USB passthrough via <pkg>dev-libs/libusb</pkg></flag> diff --git a/app-emulation/qemu/qemu-4.0.0-r50.ebuild b/app-emulation/qemu/qemu-4.0.0-r50.ebuild index d547b37ab845..cc99fdbbcc18 100644 --- a/app-emulation/qemu/qemu-4.0.0-r50.ebuild +++ b/app-emulation/qemu/qemu-4.0.0-r50.ebuild @@ -28,7 +28,7 @@ HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org" LICENSE="GPL-2 LGPL-2 BSD-2" SLOT="0" IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug doc - +fdt glusterfs gnutls gtk infiniband iscsi +jpeg kernel_linux + +fdt glusterfs gnutls gtk infiniband iscsi jemalloc +jpeg kernel_linux kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs +png pulseaudio python rbd sasl +seccomp sdl selinux smartcard snappy spice ssh static static-user systemtap tci test usb usbredir vde @@ -108,6 +108,7 @@ SOFTMMU_TOOLS_DEPEND=" sys-fabric/librdmacm:=[static-libs(+)] ) iscsi? ( net-libs/libiscsi ) + jemalloc? ( dev-libs/jemalloc ) jpeg? ( virtual/jpeg:0=[static-libs(+)] ) lzo? ( dev-libs/lzo:2[static-libs(+)] ) ncurses? ( @@ -436,6 +437,7 @@ qemu_src_configure() { $(conf_notuser gtk) $(conf_notuser infiniband rdma) $(conf_notuser iscsi libiscsi) + $(conf_notuser jemalloc jemalloc) $(conf_notuser jpeg vnc-jpeg) $(conf_notuser kernel_linux kvm) $(conf_notuser lzo) diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild index b26d0b2869df..51deb16ff036 100644 --- a/app-emulation/qemu/qemu-9999.ebuild +++ b/app-emulation/qemu/qemu-9999.ebuild @@ -34,7 +34,7 @@ LICENSE="GPL-2 LGPL-2 BSD-2" SLOT="0" IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug doc - +fdt glusterfs gnutls gtk infiniband iscsi +jpeg kernel_linux + +fdt glusterfs gnutls gtk infiniband iscsi +jpeg jemalloc kernel_linux kernel_FreeBSD lzo ncurses nfs nls numa opengl +oss +pin-upstream-blobs +png pulseaudio python rbd sasl +seccomp sdl selinux smartcard snappy spice ssh static static-user systemtap tci test usb usbredir vde @@ -114,6 +114,7 @@ SOFTMMU_TOOLS_DEPEND=" sys-fabric/librdmacm:=[static-libs(+)] ) iscsi? ( net-libs/libiscsi ) + jemalloc? ( dev-libs/jemalloc ) jpeg? ( virtual/jpeg:0=[static-libs(+)] ) lzo? ( dev-libs/lzo:2[static-libs(+)] ) ncurses? ( @@ -443,6 +444,7 @@ qemu_src_configure() { $(conf_notuser gtk) $(conf_notuser infiniband rdma) $(conf_notuser iscsi libiscsi) + $(conf_notuser jemalloc jemalloc) $(conf_notuser jpeg vnc-jpeg) $(conf_notuser kernel_linux kvm) $(conf_notuser lzo) |