From nobody Wed Feb 11 02:06:35 2026 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1715090637210911.129015205236; Tue, 7 May 2024 07:03:57 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 165BF1D06; Tue, 7 May 2024 10:03:56 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 9DCCA1C83; Tue, 7 May 2024 09:59:29 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 477E11AD6; Tue, 7 May 2024 09:59:14 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 70F3B1ACF for ; Tue, 7 May 2024 09:59:13 -0400 (EDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-643-9tls5ec6O7aCH7BvB5ZLZA-1; Tue, 07 May 2024 09:59:11 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7F5C585A58C for ; Tue, 7 May 2024 13:59:11 +0000 (UTC) Received: from toolbox.redhat.com (unknown [10.42.28.138]) by smtp.corp.redhat.com (Postfix) with ESMTP id F24D71C060AE; Tue, 7 May 2024 13:59:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: 9tls5ec6O7aCH7BvB5ZLZA-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: devel@lists.libvirt.org Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 03/12] meson: record which other options are a pre-requisite Date: Tue, 7 May 2024 14:58:58 +0100 Message-ID: <20240507135907.1104087-4-berrange@redhat.com> In-Reply-To: <20240507135907.1104087-1-berrange@redhat.com> References: <20240507135907.1104087-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: KT44OFKMOKNIORUI2BUGQMK4633VELAX X-Message-ID-Hash: KT44OFKMOKNIORUI2BUGQMK4633VELAX X-MailFrom: berrange@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1715090637810100001 Several meson options cannot be enabled, without first enabling another option. This adds a small comment prior to an optino to record its mandatory dependencies. Signed-off-by: Daniel P. Berrang=C3=A9 --- meson_options.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/meson_options.txt b/meson_options.txt index ed91d97abf..9d729b3e1f 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -4,6 +4,7 @@ option('packager_version', type: 'string', value: '', descr= iption: 'Extra packag option('system', type: 'boolean', value: false, description: 'Set install = paths to system ones') option('runstatedir', type: 'string', value: '', description: 'State direc= tory for temporary sockets, pid files, etc') option('initconfdir', type: 'string', value: '', description: 'directory f= or init script configuration files') +# dep:tests option('expensive_tests', type: 'feature', value: 'auto', description: 'se= t the default for enabling expensive tests (long timeouts)') option('test_coverage', type: 'boolean', value: false, description: 'turn = on code coverage instrumentation') option('git_werror', type: 'feature', value: 'auto', description: 'use -We= rror if building from GIT') @@ -17,6 +18,7 @@ option('tests', type: 'feature', value: 'auto', descripti= on: 'whether to build a option('apparmor', type: 'feature', value: 'auto', description: 'apparmor = support') option('attr', type: 'feature', value: 'auto', description: 'attr support') option('audit', type: 'feature', value: 'auto', description: 'audit suppor= t') +# dep:readline option('bash_completion', type: 'feature', value: 'auto', description: 'ba= sh-completion support') option('bash_completion_dir', type: 'string', value: '', description: 'dir= ectory containing bash completion scripts') option('blkid', type: 'feature', value: 'auto', description: 'blkid suppor= t') @@ -40,7 +42,9 @@ option('sanlock', type: 'feature', value: 'auto', descrip= tion: 'sanlock support' option('sasl', type: 'feature', value: 'auto', description: 'sasl support') option('selinux', type: 'feature', value: 'auto', description: 'selinux su= pport') option('selinux_mount', type: 'string', value: '', description: 'set SELin= ux mount point') +# dep:pciaccess option('udev', type: 'feature', value: 'auto', description: 'udev support') +# dep:driver_remote option('wireshark_dissector', type: 'feature', value: 'auto', description:= 'wireshark support') option('wireshark_plugindir', type: 'string', value: '', description: 'wir= eshark plugins directory for use when installing wireshark plugin') option('yajl', type: 'feature', value: 'auto', description: 'yajl support') @@ -48,17 +52,26 @@ option('yajl', type: 'feature', value: 'auto', descript= ion: 'yajl support') =20 # build driver options option('driver_bhyve', type: 'feature', value: 'auto', description: 'bhyve= driver') +# dep:curl option('driver_esx', type: 'feature', value: 'auto', description: 'esx dri= ver') +# dep:openwsman option('driver_hyperv', type: 'feature', value: 'auto', description: 'Hype= r-V driver') +# dep:pciaccess dep:udev dep:driver_remote dep:driver_libvirtd option('driver_interface', type: 'feature', value: 'auto', description: 'h= ost interface driver') +# dep:driver_remote option('driver_libvirtd', type: 'feature', value: 'auto', description: 'li= bvirtd driver') +# dep:driver_remote dep:driver_libvirtd option('driver_libxl', type: 'feature', value: 'auto', description: 'libxe= nlight driver') +# dep:driver_remote dep:driver_libvirtd option('driver_lxc', type: 'feature', value: 'auto', description: 'Linux C= ontainer driver') +# dep:curl dep:yajl dep:driver_remote dep:driver_libvirtd option('driver_ch', type: 'feature', value: 'auto', description: 'Cloud-Hy= pervisor driver') option('ch_user', type: 'string', value: '', description: 'username to run= Cloud-Hypervisor system instance as') option('ch_group', type: 'string', value: '', description: 'groupname to r= un Cloud-Hypervisor system instance as') +# dep:driver_remote dep:driver_libvirtd option('driver_network', type: 'feature', value: 'auto', description: 'vir= tual network driver') option('driver_openvz', type: 'feature', value: 'auto', description: 'Open= VZ driver') +# dep:yajl dep:driver_remote dep:driver_libvirtd option('driver_qemu', type: 'feature', value: 'auto', description: 'QEMU/K= VM driver') option('qemu_user', type: 'string', value: '', description: 'username to r= un QEMU system instance as') option('qemu_group', type: 'string', value: '', description: 'groupname to= run QEMU system instance as') @@ -74,7 +87,9 @@ option('driver_vmware', type: 'feature', value: 'auto', d= escription: 'VMware dri option('driver_vz', type: 'feature', value: 'auto', description: 'Virtuozz= o driver') =20 option('secdriver_apparmor', type: 'feature', value: 'auto', description: = 'use AppArmor security driver') +# dep:secdriver_apparmor option('apparmor_profiles', type: 'feature', value: 'auto', description: '= install apparmor profiles') +# dep:selinux option('secdriver_selinux', type: 'feature', value: 'auto', description: '= use SELinux security driver') =20 =20 @@ -97,16 +112,21 @@ option('storage_zfs', type: 'feature', value: 'auto', = description: 'ZFS backend option('chrdev_lock_files', type: 'string', value: '', description: 'locat= ion for UUCP style lock files for character devices (leave empty for defaul= t paths on some platforms)') option('dtrace', type: 'feature', value: 'auto', description: 'use dtrace = for static probing') option('firewalld', type: 'feature', value: 'auto', description: 'firewall= d support') +# dep:firewalld option('firewalld_zone', type: 'feature', value: 'auto', description: 'whe= ther to install firewalld libvirt zone') option('host_validate', type: 'feature', value: 'auto', description: 'buil= d virt-host-validate') option('init_script', type: 'combo', choices: ['systemd', 'openrc', 'check= ', 'none'], value: 'check', description: 'Style of init script to install') option('loader_nvram', type: 'string', value: '', description: 'Pass list = of pairs of : paths. Both pairs and list items are separated= by a colon.') option('login_shell', type: 'feature', value: 'auto', description: 'build = virt-login-shell') +# dep:yajl dep:driver_network dep:libvirtd option('nss', type: 'feature', value: 'auto', description: 'enable Name Se= rvice Switch plugin for resolving guest IP addresses') +# dep:numactl option('numad', type: 'feature', value: 'auto', description: 'use numad to= manage CPU placement dynamically') option('nbdkit', type: 'feature', value: 'auto', description: 'Build nbdki= t storage backend') +# dep:nbdkit option('nbdkit_config_default', type: 'feature', value: 'auto', descriptio= n: 'Whether to use nbdkit storage backend for network disks by default (con= figurable)') option('pm_utils', type: 'feature', value: 'auto', description: 'use pm-ut= ils for power management') option('sysctl_config', type: 'feature', value: 'auto', description: 'Whet= her to install sysctl configs') +# dep:sysctl_config option('userfaultfd_sysctl', type: 'feature', value: 'auto', description: = 'Whether to install sysctl config for enabling unprivileged userfaultfd') option('tls_priority', type: 'string', value: 'NORMAL', description: 'set = the default TLS session priority string') --=20 2.43.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org