From nobody Tue May 21 06:30:36 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1615830223; cv=none; d=zohomail.com; s=zohoarc; b=V9HHVTzaNZONRvh8aGEf3fHbkuN2Qip81HJtMicCpOK5EQ4TXvnozjugWNRyepizjRkE/SV47dX/Z6iOvnILP4Ps5N11Flu1UYkNnD+lKIOG8oqriLNj9ZjyMzjkcGmh+u0ARIMgmnv6OvUfB+ojTiLzqb+4esAAcjwAcepLQe0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615830223; h=Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ROvDIv+xkeg8KzSTHDshfuJ8iLFDFQ5jv8EnC07Y4kk=; b=DSiISucIauc6TuKOqIsizEJD3oGRAEfFfIsF6krHVu6E50efXovSZraiWHP4WOHp6aTSGzg/GqGLhlnxfrQM41ZhmEfJUUy+wQ+Nm9B7YQ5r4c7hPXIJwtKzHv/QJJI6WBrn44aj0Zm9oXxXzQO+HIPQxDzAnKTJkkdnOG1z7cs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1615830223545190.80021810851565; Mon, 15 Mar 2021 10:43:43 -0700 (PDT) Received: from localhost ([::1]:39334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrFl-0004ws-Ky for importer@patchew.org; Mon, 15 Mar 2021 13:43:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrBY-0002vf-TG for qemu-devel@nongnu.org; Mon, 15 Mar 2021 13:39:20 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:51837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrBW-0006ve-Vu for qemu-devel@nongnu.org; Mon, 15 Mar 2021 13:39:20 -0400 Received: by mail-wm1-x332.google.com with SMTP id l19so8617113wmh.1 for ; Mon, 15 Mar 2021 10:39:18 -0700 (PDT) Received: from localhost.localdomain ([2001:b07:add:ec09:c399:bc87:7b6c:fb2a]) by smtp.gmail.com with ESMTPSA id m132sm295613wmf.45.2021.03.15.10.39.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 10:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ROvDIv+xkeg8KzSTHDshfuJ8iLFDFQ5jv8EnC07Y4kk=; b=Hw7Dp14KEegMevm2JegvhzOIiHvtCqFudIXnNmJzopTSYY0KS/uNeZfUphNgSw6vDf oUyeXMESm/4ME4A+wat8SIOH8Bk72v95LzXs9Z8kEJb+LTXR2+pe07uYHcmTS4f2SDVY z39cazgMYRjjGXsFdn3lBU8fo9K2ZpU8ttGDNaHNaHXXkKEghn+ydhAp3LSwRBDP7/Ku GJ00Uud+GQJXQCTFqTxrNuHrNcNeLly1vg20Sxz7AB5VKp2NuF3WjOE8pgvdps2loj3B GqR8ksCXtQ2SyQ14/eDBFF3194HALvCxv4TEE3JsIWak+4L9doVmafrAZgQma6FcN0+q VR8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ROvDIv+xkeg8KzSTHDshfuJ8iLFDFQ5jv8EnC07Y4kk=; b=Xda9m+rRgvx1AEQC9HL+2p+HKJIPyKHMftD41rhcXY5dfKV2a6LSKetXpVLEk72baS /Abh4o1L7FwUe3CNbg2uIDQRfeSOIvrCs3OaEhQRNp1jl0c01AFJ2E1vy87aghAQmBmM piUly9cc4HyQ0uur6GkKGCazYLNzhmPV2IyAybaVIwPqsDBR/5xQLjmaIGltVTBTpsS5 6RzzGKU4Tw0uUYwNOs7WLxtLev/811x5QtclqbkUegegVTmUIbHPIzlagGeZoTOSQcwV yA8g513gkPrXjkv9ciiCRDKU+eCuEIsL+/wnf1ZaarX5q34ASJZguWlqkaGtlPoVMv2i O4gg== X-Gm-Message-State: AOAM531odB4HvNLSJN66Yw/a5Ein1LsCtgNjZX580BXM95dZ0QyGBnCm Z4Xb1GciDXlVpZ2htXdtlTXdCdWk6cM= X-Google-Smtp-Source: ABdhPJz2uzCc5dkfiqJV7kR1Gx9IW2WwnlsY/B06/cGPFE6ntP2Z6rLGIMt3/ekAsnGXsfWmwi+GFg== X-Received: by 2002:a1c:7519:: with SMTP id o25mr757377wmc.35.1615829957350; Mon, 15 Mar 2021 10:39:17 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 1/5] hexagon: do not specify executables as inputs Date: Mon, 15 Mar 2021 18:39:08 +0100 Message-Id: <20210315173912.197857-2-pbonzini@redhat.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210315173912.197857-1-pbonzini@redhat.com> References: <20210315173912.197857-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=paolo.bonzini@gmail.com; helo=mail-wm1-x332.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" gen_semantics is an executable, not an input. Meson 0.57 special cases the first argument and @INPUT@ is not expanded there. Fix that by not including it in the input, only in the command. Signed-off-by: Paolo Bonzini --- target/hexagon/meson.build | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/target/hexagon/meson.build b/target/hexagon/meson.build index 15318a6fa7..5dd68907b1 100644 --- a/target/hexagon/meson.build +++ b/target/hexagon/meson.build @@ -33,8 +33,7 @@ gen_semantics =3D executable( semantics_generated =3D custom_target( 'semantics_generated.pyinc', output: 'semantics_generated.pyinc', - input: gen_semantics, - command: ['@INPUT@', '@OUTPUT@'], + command: [gen_semantics, '@OUTPUT@'], ) hexagon_ss.add(semantics_generated) =20 @@ -154,8 +153,7 @@ gen_dectree_import =3D executable( iset_py =3D custom_target( 'iset.py', output: 'iset.py', - input: gen_dectree_import, - command: ['@INPUT@', '@OUTPUT@'], + command: [gen_dectree_import, '@OUTPUT@'], ) hexagon_ss.add(iset_py) =20 --=20 2.29.2 From nobody Tue May 21 06:30:36 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1615830224; cv=none; d=zohomail.com; s=zohoarc; b=hmEdKjlEBu+DMunyi6F3a621J03+bebq+ppH4b8NJPxaStEr4qvFi4/v6UEMupPVfpRD9MHQA5VjLaZkqt0B68PXlbFhpVS5MEsxF4NAF/COZ+AvpzkSGhDxt395uV7GHbOmEaoyQ2k7w2YoW7Qr/eVDA89WJoik8e5DgzqTWWA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615830224; h=Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=vmlbfjIORtFM9ouDG6TC7+H2AhddDKhJKH+zFhlyOCk=; b=OZ/KEG85brldVHXofZ5930PiMmGonwE4E6ER497nzkoMrYAKnGAHyhTWVFmMvLABmXfUDzgZP9twmUFob5csoMSocADXjXQLNHTykhIOeX2IQ9JFgsurzSpSFrihnQMNyGv+6/hPUFn2/YvGHuybG2+Dk5+2iK19+a1S7+chfh0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1615830224704962.0970797133459; Mon, 15 Mar 2021 10:43:44 -0700 (PDT) Received: from localhost ([::1]:39502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrFn-00050v-Hk for importer@patchew.org; Mon, 15 Mar 2021 13:43:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrBa-0002xG-O1 for qemu-devel@nongnu.org; Mon, 15 Mar 2021 13:39:22 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:43699) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrBX-0006vx-M3 for qemu-devel@nongnu.org; Mon, 15 Mar 2021 13:39:21 -0400 Received: by mail-wr1-x433.google.com with SMTP id e9so6112662wrw.10 for ; Mon, 15 Mar 2021 10:39:19 -0700 (PDT) Received: from localhost.localdomain ([2001:b07:add:ec09:c399:bc87:7b6c:fb2a]) by smtp.gmail.com with ESMTPSA id m132sm295613wmf.45.2021.03.15.10.39.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 10:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vmlbfjIORtFM9ouDG6TC7+H2AhddDKhJKH+zFhlyOCk=; b=fdgq4Se4b2x3gP0a8PaFKuzMzz814ismew+D1zfGElWkqlf/9CdQnlIdCiiQIvn1QW DBkQEOyGgF23tUO6zffY/x6abqQfNCbzMVyAkhGh1RavqRxv4unUwffOZ6xFSttG+J/p bZYorr4dEyOFPmLyeehQy0OxTYvz7JUUVdsPpNYcerZkeQ73kjmAUSCOxc1RiT5VXEP+ 8W4YzkSv7R+Uvpn6BceZtXNUaFn/zuIsL09ZcFL5kfv+8th0B0iAZewQkEIw7wRrR6R8 +nBhucEglrsH1MJbyETQh2q3ZYTE+d0sSNALT50o/i4F9y5KrrK7RFWkhEHLDczUKlbZ cUmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=vmlbfjIORtFM9ouDG6TC7+H2AhddDKhJKH+zFhlyOCk=; b=OJqj+jmo3jgr02jFvA6LFJBJOQKWSTrwdBXT4gPMcQfPjGTrjP08EMsKyT3xtQmnXR d8wbYGicE80ItLsjroph9X3VqgH9eMfs8bNSjdsY/zBYTUk8K08SN+QigvZ3P4OIrVyK ifwQ3SzBX8EinWgPPEciQ27IVRFYXcmwGXSDl+u1BpElolz9BnBrOqgeDX5jEmZsKAdU 4CILvN4IBQSyY2y7KS4cefLYcvJj4EV+SrwsH1b+36BxHpg9Qe2QHN2EoG24XTHTiaUY sZAIO+hXqZRQIH5wSxr4DZf8OTsaXEEl+tlQXAUt04yXmkt+hVRyTXxABYMfit9FhYdk GkBQ== X-Gm-Message-State: AOAM533B/acqg1FQr6HpWTYRDraxMNtxa0xbt7TNvkgQZCfFX+Dju0ZT hCE/Rhw6WKT80jQ9tO4itbzuR0ybV2Y= X-Google-Smtp-Source: ABdhPJw2xhPBf4W+Cc1fhCPcyxBdKuqFr9tAK0gX1H09ecSLi2YWHib6I3pjPKfPn+wJK/n2N8pheQ== X-Received: by 2002:a5d:4884:: with SMTP id g4mr740197wrq.191.1615829958259; Mon, 15 Mar 2021 10:39:18 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 2/5] hexagon: do not specify Python scripts as inputs Date: Mon, 15 Mar 2021 18:39:09 +0100 Message-Id: <20210315173912.197857-3-pbonzini@redhat.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210315173912.197857-1-pbonzini@redhat.com> References: <20210315173912.197857-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=paolo.bonzini@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Python scripts are not inputs, and putting them in @INPUT@. This puts requirements on the command line format, keeping all inputs close to the name of the script. Avoid that by not including the script in the command and not in the inputs. Also wrap "PYTHONPATH" usage with "env", since setting the environment this way is not valid under Windows. Signed-off-by: Paolo Bonzini --- target/hexagon/meson.build | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/target/hexagon/meson.build b/target/hexagon/meson.build index 5dd68907b1..bb0b4fb621 100644 --- a/target/hexagon/meson.build +++ b/target/hexagon/meson.build @@ -53,90 +53,81 @@ hexagon_ss.add(semantics_generated) shortcode_generated =3D custom_target( 'shortcode_generated.h.inc', output: 'shortcode_generated.h.inc', - input: 'gen_shortcode.py', depends: [semantics_generated], depend_files: [hex_common_py, attribs_def], - command: [python, '@INPUT@', semantics_generated, attribs_def, '@OUTPU= T@'], + command: [python, files('gen_shortcode.py'), semantics_generated, attr= ibs_def, '@OUTPUT@'], ) hexagon_ss.add(shortcode_generated) =20 helper_protos_generated =3D custom_target( 'helper_protos_generated.h.inc', output: 'helper_protos_generated.h.inc', - input: 'gen_helper_protos.py', depends: [semantics_generated], depend_files: [hex_common_py, attribs_def, gen_tcg_h], - command: [python, '@INPUT@', semantics_generated, attribs_def, gen_tcg= _h, '@OUTPUT@'], + command: [python, files('gen_helper_protos.py'), semantics_generated, = attribs_def, gen_tcg_h, '@OUTPUT@'], ) hexagon_ss.add(helper_protos_generated) =20 tcg_funcs_generated =3D custom_target( 'tcg_funcs_generated.c.inc', output: 'tcg_funcs_generated.c.inc', - input: 'gen_tcg_funcs.py', depends: [semantics_generated], depend_files: [hex_common_py, attribs_def, gen_tcg_h], - command: [python, '@INPUT@', semantics_generated, attribs_def, gen_tcg= _h, '@OUTPUT@'], + command: [python, files('gen_tcg_funcs.py'), semantics_generated, attr= ibs_def, gen_tcg_h, '@OUTPUT@'], ) hexagon_ss.add(tcg_funcs_generated) =20 tcg_func_table_generated =3D custom_target( 'tcg_func_table_generated.c.inc', output: 'tcg_func_table_generated.c.inc', - input: 'gen_tcg_func_table.py', depends: [semantics_generated], depend_files: [hex_common_py, attribs_def], - command: [python, '@INPUT@', semantics_generated, attribs_def, '@OUTPU= T@'], + command: [python, files('gen_tcg_func_table.py'), semantics_generated,= attribs_def, '@OUTPUT@'], ) hexagon_ss.add(tcg_func_table_generated) =20 helper_funcs_generated =3D custom_target( 'helper_funcs_generated.c.inc', output: 'helper_funcs_generated.c.inc', - input: 'gen_helper_funcs.py', depends: [semantics_generated], depend_files: [hex_common_py, attribs_def, gen_tcg_h], - command: [python, '@INPUT@', semantics_generated, attribs_def, gen_tcg= _h, '@OUTPUT@'], + command: [python, files('gen_helper_funcs.py'), semantics_generated, a= ttribs_def, gen_tcg_h, '@OUTPUT@'], ) hexagon_ss.add(helper_funcs_generated) =20 printinsn_generated =3D custom_target( 'printinsn_generated.h.inc', output: 'printinsn_generated.h.inc', - input: 'gen_printinsn.py', depends: [semantics_generated], depend_files: [hex_common_py, attribs_def], - command: [python, '@INPUT@', semantics_generated, attribs_def, '@OUTPU= T@'], + command: [python, files('gen_printinsn.py'), semantics_generated, attr= ibs_def, '@OUTPUT@'], ) hexagon_ss.add(printinsn_generated) =20 op_regs_generated =3D custom_target( 'op_regs_generated.h.inc', output: 'op_regs_generated.h.inc', - input: 'gen_op_regs.py', depends: [semantics_generated], depend_files: [hex_common_py, attribs_def], - command: [python, '@INPUT@', semantics_generated, attribs_def, '@OUTPU= T@'], + command: [python, files('gen_op_regs.py'), semantics_generated, attrib= s_def, '@OUTPUT@'], ) hexagon_ss.add(op_regs_generated) =20 op_attribs_generated =3D custom_target( 'op_attribs_generated.h.inc', output: 'op_attribs_generated.h.inc', - input: 'gen_op_attribs.py', depends: [semantics_generated], depend_files: [hex_common_py, attribs_def], - command: [python, '@INPUT@', semantics_generated, attribs_def, '@OUTPU= T@'], + command: [python, files('gen_op_attribs.py'), semantics_generated, att= ribs_def, '@OUTPUT@'], ) hexagon_ss.add(op_attribs_generated) =20 opcodes_def_generated =3D custom_target( 'opcodes_def_generated.h.inc', output: 'opcodes_def_generated.h.inc', - input: 'gen_opcodes_def.py', depends: [semantics_generated], depend_files: [hex_common_py, attribs_def], - command: [python, '@INPUT@', semantics_generated, attribs_def, '@OUTPU= T@'], + command: [python, files('gen_opcodes_def.py'), semantics_generated, at= tribs_def, '@OUTPUT@'], ) hexagon_ss.add(opcodes_def_generated) =20 @@ -164,9 +155,8 @@ hexagon_ss.add(iset_py) dectree_generated =3D custom_target( 'dectree_generated.h.inc', output: 'dectree_generated.h.inc', - input: 'dectree.py', depends: [iset_py], - command: ['PYTHONPATH=3D' + meson.current_build_dir(), '@INPUT@', '@OU= TPUT@'], + command: ['env', 'PYTHONPATH=3D' + meson.current_build_dir(), files('d= ectree.py'), '@OUTPUT@'], ) hexagon_ss.add(dectree_generated) =20 --=20 2.29.2 From nobody Tue May 21 06:30:36 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1615830383; cv=none; d=zohomail.com; s=zohoarc; b=czzGdsxy66/ZXxYv6sGqADGnQ4b0Oayrds0RDvpPA76IGbKg7sR5IxpT3OZuDXo0NjtVju477BLVQBIHrUoycJZACkmVnIzZbtgrT0I7ZKfKDUbV9Okx21gQGXLRZXOmXtXMvcfT7eYdMH+7oOb0YFkuimJ06hBkDOXFFLrAIn8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615830383; h=Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=2fdnCYcGz/rNz0f0M+8dUoADYZZ+wtTRYedFfAAe2jw=; b=LBoGpWo/eZJHQIqOyTS1LFkcbuoBIeJUILl3F5qmjh2pCG/2tl35q/3iL7lhJcDD/XZcNk2BJsUZv/SpkL18sz1MMl16gm78+ttPM2CGkcpsGpsoHX2HbYZ6vwsio+ekEfmv4DQJM5g6S1i3m6NsexcV9oc+KEi3jLVqQ08zFoQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1615830383573286.451982211059; Mon, 15 Mar 2021 10:46:23 -0700 (PDT) Received: from localhost ([::1]:45248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrIM-0007b1-7t for importer@patchew.org; Mon, 15 Mar 2021 13:46:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrBa-0002xL-Qu for qemu-devel@nongnu.org; Mon, 15 Mar 2021 13:39:22 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:53859) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrBY-0006wD-Jx for qemu-devel@nongnu.org; Mon, 15 Mar 2021 13:39:22 -0400 Received: by mail-wm1-x329.google.com with SMTP id g20so8622241wmk.3 for ; Mon, 15 Mar 2021 10:39:19 -0700 (PDT) Received: from localhost.localdomain ([2001:b07:add:ec09:c399:bc87:7b6c:fb2a]) by smtp.gmail.com with ESMTPSA id m132sm295613wmf.45.2021.03.15.10.39.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 10:39:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2fdnCYcGz/rNz0f0M+8dUoADYZZ+wtTRYedFfAAe2jw=; b=AtaEbmYOhMS9fc8v4UC/ad7G4SRclAIN+2SQhGp1kE63SRYfmu6RE7fo+SX7eyYeVf PviyxW/USXOLQKx3Rdx2h9OxkypjWi+GeCg52RnnMJJHVWXr5jSrM1ljs1eGSEgfBO1u qLVTuH/npPvXac8CX5kbMK7ROAN/bFfOfivC2swkfBU/aJRqQrzP1f8+JAAcEYI36vgf PTpGCI2oKdXhuSCI2+IzSi4Htwzd3lG8DYWNFj9qrdOVv0a0a6vpBZp5trZlnAYZXnax MhTabAJgmfr966HmXpw8TmO4MrutaQvK9r7Z/PikDjmv47djR0bNK6DXSmx69Pw6wSaz iDEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=2fdnCYcGz/rNz0f0M+8dUoADYZZ+wtTRYedFfAAe2jw=; b=tBLnIEpgsbVTQESMlGA5HlXfZXifwqNqJr4qGbE9ZCIt3v4jjH9trp9AKw+OaC6t8P XPJXnJ9eI/EXiJmJlbb8FIC5nO0R+If/cTWaFCGj7wxRQvYFrnmkePWkg26ecJkjGsMZ 8D5r/eY0XRo+lvXSmatZE0nkGNiw8btKCgCq3yomTNHPU30aQO7bmE8Ts9Dg7S0R/Lel p47+Y9Ysvlkrvs4/JogCky5eIifU86I2MzRwJ9zMiXjgSIJz0+k9YTRMmziKyIlBYp1T mTvVqRis+eddvtkqCkjlOT/4QSJhSf9UkkjcakOyjgKF9PL0BWpnGkh2Ht3PC67BIvzV 5sYg== X-Gm-Message-State: AOAM533aHcBFe9wdyCQ4KC7ANOMsvsa1ujH+eZjpagRS6qsMHztKps6t Bm4BREEdyuWLkYXtVZfRZ6EaFXAwQlA= X-Google-Smtp-Source: ABdhPJxRUdBI3axY0Z5wHvS9FbnlhshPm4jD+MLJhY6tS5mkHG16FAl7CcQlj9xdEOemcFDxBJQtYw== X-Received: by 2002:a05:600c:4f4f:: with SMTP id m15mr767209wmq.29.1615829958830; Mon, 15 Mar 2021 10:39:18 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 3/5] meson: bump submodule to 0.57.1 Date: Mon, 15 Mar 2021 18:39:10 +0100 Message-Id: <20210315173912.197857-4-pbonzini@redhat.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210315173912.197857-1-pbonzini@redhat.com> References: <20210315173912.197857-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=paolo.bonzini@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" The main advantage of 0.57 is that it fixes https://github.com/mesonbuild/meson/pull/7900, thus avoiding unnecessary rebuilds after running meson. Signed-off-by: Paolo Bonzini Tested-by: Philippe Mathieu-Daud=C3=A9 --- meson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson b/meson index 776acd2a80..7182685b22 160000 --- a/meson +++ b/meson @@ -1 +1 @@ -Subproject commit 776acd2a805c9b42b4f0375150977df42130317f +Subproject commit 7182685b2241e88340b6c3340afba59a26be213f --=20 2.29.2 From nobody Tue May 21 06:30:36 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1615830581; cv=none; d=zohomail.com; s=zohoarc; b=JL//EN5V3downh3Y05UB7E409v/hWI20guqocDAy8BpNyVTyoRr+Obsi2tNyIT9Qn7uAjYpqCuDSEU3cX5yTn5Wv3TYOXrpncZbd1GbArxT184GAKIQGlr2rmumyBRPZ14awALjZlmpZ3MpKkHy3X5LFxbSQyh8dNDCIUxw5jiI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615830581; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=onMoUBLviSPCS3bpGBpIbx41tpTqISJsM1IU2zfIpXI=; b=hdnJU32SHxfQz5Axxqvs9+8MbhsQqZxlxxTskTejDTgbIADCyAwoM+t+Ql5rAvL7GKLC0SvH+4+ph71hBaCjQ1qjJBkj9PQoGyvMM4ESA6nN2eVnx09rtMoAra7Wq9Qj4pl353QpQEUZ2ht79qPncGjL9Jc+dahqdRneWJ5YwEg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1615830581583478.24438213380336; Mon, 15 Mar 2021 10:49:41 -0700 (PDT) Received: from localhost ([::1]:54186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrLY-0003Cg-BV for importer@patchew.org; Mon, 15 Mar 2021 13:49:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrBb-0002y0-6j for qemu-devel@nongnu.org; Mon, 15 Mar 2021 13:39:23 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:40674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrBY-0006we-T2 for qemu-devel@nongnu.org; Mon, 15 Mar 2021 13:39:22 -0400 Received: by mail-wr1-x42d.google.com with SMTP id v11so6114853wro.7 for ; Mon, 15 Mar 2021 10:39:20 -0700 (PDT) Received: from localhost.localdomain ([2001:b07:add:ec09:c399:bc87:7b6c:fb2a]) by smtp.gmail.com with ESMTPSA id m132sm295613wmf.45.2021.03.15.10.39.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 10:39:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=onMoUBLviSPCS3bpGBpIbx41tpTqISJsM1IU2zfIpXI=; b=frfHuBPjYwQ+iUARrIOIYT38/w7MuNvB+WV9tq7lySA/OPUxQ9sDGOnqGD0zjpxtna A54Gqk95dmsvsfRXADn8ZHQamxGV0mgS0aaRCZKalG76la7QF2/K8CNcWYl45K9Fnv5y qKthm8LMaqi+dQIQBk3fkfkdI1O6ntEzTOn5YjAYLNpLUrk+wLG/BViDVtPE3Fd6vVHU ojWmBlwQ+1m5/OF8e9mcU2C93ZnZ9xWN6WNgdWYr6OHLI6Fn3Fbn/lL3ahHMvPb5KmF0 kX9HXRfnQG9YKKxPDmEhOpSnheh6fdXTuJsVwoF2hSk+BxWuxjkRTsXdCB2tKfAV4RgZ PxUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=onMoUBLviSPCS3bpGBpIbx41tpTqISJsM1IU2zfIpXI=; b=Ib2Mf8yt+verBFRMbvcc5Kw8xkvB2oiM9Apjkx56ZA205PMXAoMXP7R69wqOTKfAZI p3huRpzn+0WfYAgZ0/+Uflcl8HUx2OzLAoUObEfJBd5SQ2La9eckAKl9r3fyDBOOe5bA KN95XIpayM4fqohCd2PsHOwftCf8iO4HHYWm1Rx2mgcU6tc66c2MKFUX+xsw21xfKgqF xKiQjcS7BoTRH62Uf9FgeBxp53QzG0cShEpbTSGLqHAbj0rNyiQVmqRrpzEpagB3I0r5 LzdjA9eDZCR5nWDHxnscqA+Fyn9oOjHN3yCq8fHxKiU4JhGUhMIXdX3psvP3txTg74aV CxUA== X-Gm-Message-State: AOAM530wrIRyqf9uNKMLmzYFmPRMwQzSjYSxFMz8mM58Mv/C6dkcsrQp xE+UVJ9Jo1y62zaHLD5iGWSKndEDDCg= X-Google-Smtp-Source: ABdhPJwj/jPEsET0NS3sq9HIBPG9Wn2NHSP3CmR5kHTNhsCUFwElVN3dv9wKsTHI/s3Rz4l9a+KwCw== X-Received: by 2002:a05:6000:1546:: with SMTP id 6mr764360wry.398.1615829959523; Mon, 15 Mar 2021 10:39:19 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 4/5] meson: switch minimum meson version to 0.57.0 Date: Mon, 15 Mar 2021 18:39:11 +0100 Message-Id: <20210315173912.197857-5-pbonzini@redhat.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210315173912.197857-1-pbonzini@redhat.com> References: <20210315173912.197857-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=paolo.bonzini@gmail.com; helo=mail-wr1-x42d.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Meson 0.57.0 does not need b_staticpic=3D$pie anymore, and has stabilized the keyval module. Remove the workaround and use a few replacements for features deprecated in the 0.57.0 release cycle. The CentOS 7 dockerfile change forces the rebuild of the container. Reviewed-by: Marc-Andr=C3=A9 Lureau Signed-off-by: Paolo Bonzini --- configure | 7 +--- docs/meson.build | 12 +++--- meson.build | 54 ++++++++++++------------- plugins/meson.build | 4 +- scripts/mtest2make.py | 7 +--- tests/docker/dockerfiles/centos7.docker | 2 +- tests/qapi-schema/meson.build | 4 +- tests/qtest/meson.build | 2 +- tests/unit/meson.build | 2 +- trace/meson.build | 4 +- 10 files changed, 43 insertions(+), 55 deletions(-) diff --git a/configure b/configure index f7d022a5db..0be5a5c148 100755 --- a/configure +++ b/configure @@ -1945,7 +1945,7 @@ python_version=3D$($python -c 'import sys; print("%d.= %d.%d" % (sys.version_info[0] python=3D"$python -B" =20 if test -z "$meson"; then - if test "$explicit_python" =3D no && has meson && version_ge "$(meson = --version)" 0.55.3; then + if test "$explicit_python" =3D no && has meson && version_ge "$(meson = --version)" 0.57.0; then meson=3Dmeson elif test $git_submodules_action !=3D 'ignore' ; then meson=3Dgit @@ -6384,10 +6384,6 @@ fi mv $cross config-meson.cross =20 rm -rf meson-private meson-info meson-logs -unset staticpic -if ! version_ge "$($meson --version)" 0.56.0; then - staticpic=3D$(if test "$pie" =3D yes; then echo true; else echo false; f= i) -fi NINJA=3D$ninja $meson setup \ --prefix "$prefix" \ --libdir "$libdir" \ @@ -6407,7 +6403,6 @@ NINJA=3D$ninja $meson setup \ -Dwerror=3D$(if test "$werror" =3D yes; then echo true; else echo = false; fi) \ -Dstrip=3D$(if test "$strip_opt" =3D yes; then echo true; else ech= o false; fi) \ -Db_pie=3D$(if test "$pie" =3D yes; then echo true; else echo fals= e; fi) \ - ${staticpic:+-Db_staticpic=3D$staticpic} \ -Db_coverage=3D$(if test "$gcov" =3D yes; then echo true; else ech= o false; fi) \ -Db_lto=3D$lto -Dcfi=3D$cfi -Dcfi_debug=3D$cfi_debug \ -Dmalloc=3D$malloc -Dmalloc_trim=3D$malloc_trim -Dsparse=3D$sparse= \ diff --git a/docs/meson.build b/docs/meson.build index f84306ba7e..0aa98719af 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -38,12 +38,12 @@ endif if build_docs SPHINX_ARGS +=3D ['-Dversion=3D' + meson.project_version(), '-Drelease= =3D' + config_host['PKGVERSION']] =20 - sphinx_extn_depends =3D [ meson.source_root() / 'docs/sphinx/depfile.py', - meson.source_root() / 'docs/sphinx/hxtool.py', - meson.source_root() / 'docs/sphinx/kerneldoc.py', - meson.source_root() / 'docs/sphinx/kernellog.py', - meson.source_root() / 'docs/sphinx/qapidoc.py', - meson.source_root() / 'docs/sphinx/qmp_lexer.py', + sphinx_extn_depends =3D [ meson.current_source_dir() / 'sphinx/depfile.p= y', + meson.current_source_dir() / 'sphinx/hxtool.py', + meson.current_source_dir() / 'sphinx/kerneldoc.p= y', + meson.current_source_dir() / 'sphinx/kernellog.p= y', + meson.current_source_dir() / 'sphinx/qapidoc.py', + meson.current_source_dir() / 'sphinx/qmp_lexer.p= y', qapi_gen_depends ] =20 have_ga =3D have_tools and config_host.has_key('CONFIG_GUEST_AGENT') diff --git a/meson.build b/meson.build index a7d2dd429d..e03ba6543a 100644 --- a/meson.build +++ b/meson.build @@ -1,14 +1,10 @@ -project('qemu', ['c'], meson_version: '>=3D0.55.0', - default_options: ['warning_level=3D1', 'c_std=3Dgnu99', 'cpp_std= =3Dgnu++11', 'b_colorout=3Dauto'] + - (meson.version().version_compare('>=3D0.56.0') ? = [ 'b_staticpic=3Dfalse' ] : []), - version: run_command('head', meson.source_root() / 'VERSION').stdo= ut().strip()) +project('qemu', ['c'], meson_version: '>=3D0.57.0', + default_options: ['warning_level=3D1', 'c_std=3Dgnu99', 'cpp_std= =3Dgnu++11', 'b_colorout=3Dauto', + 'b_staticpic=3Dfalse'], + version: files('VERSION')) =20 not_found =3D dependency('', required: false) -if meson.version().version_compare('>=3D0.56.0') - keyval =3D import('keyval') -else - keyval =3D import('unstable-keyval') -endif +keyval =3D import('keyval') ss =3D import('sourceset') fs =3D import('fs') =20 @@ -1646,21 +1642,21 @@ genh +=3D configure_file(output: 'config-host.h', c= onfiguration: config_host_data) hxtool =3D find_program('scripts/hxtool') shaderinclude =3D find_program('scripts/shaderinclude.pl') qapi_gen =3D find_program('scripts/qapi-gen.py') -qapi_gen_depends =3D [ meson.source_root() / 'scripts/qapi/__init__.py', - meson.source_root() / 'scripts/qapi/commands.py', - meson.source_root() / 'scripts/qapi/common.py', - meson.source_root() / 'scripts/qapi/error.py', - meson.source_root() / 'scripts/qapi/events.py', - meson.source_root() / 'scripts/qapi/expr.py', - meson.source_root() / 'scripts/qapi/gen.py', - meson.source_root() / 'scripts/qapi/introspect.py', - meson.source_root() / 'scripts/qapi/parser.py', - meson.source_root() / 'scripts/qapi/schema.py', - meson.source_root() / 'scripts/qapi/source.py', - meson.source_root() / 'scripts/qapi/types.py', - meson.source_root() / 'scripts/qapi/visit.py', - meson.source_root() / 'scripts/qapi/common.py', - meson.source_root() / 'scripts/qapi-gen.py' +qapi_gen_depends =3D [ meson.current_source_dir() / 'scripts/qapi/__init__= .py', + meson.current_source_dir() / 'scripts/qapi/commands.p= y', + meson.current_source_dir() / 'scripts/qapi/common.py', + meson.current_source_dir() / 'scripts/qapi/error.py', + meson.current_source_dir() / 'scripts/qapi/events.py', + meson.current_source_dir() / 'scripts/qapi/expr.py', + meson.current_source_dir() / 'scripts/qapi/gen.py', + meson.current_source_dir() / 'scripts/qapi/introspect= .py', + meson.current_source_dir() / 'scripts/qapi/parser.py', + meson.current_source_dir() / 'scripts/qapi/schema.py', + meson.current_source_dir() / 'scripts/qapi/source.py', + meson.current_source_dir() / 'scripts/qapi/types.py', + meson.current_source_dir() / 'scripts/qapi/visit.py', + meson.current_source_dir() / 'scripts/qapi/common.py', + meson.current_source_dir() / 'scripts/qapi-gen.py' ] =20 tracetool =3D [ @@ -2205,14 +2201,14 @@ foreach target : target_dirs if target.endswith('-softmmu') execs =3D [{ 'name': 'qemu-system-' + target_name, - 'gui': false, + 'win_subsystem': 'console', 'sources': files('softmmu/main.c'), 'dependencies': [] }] if targetos =3D=3D 'windows' and (sdl.found() or gtk.found()) execs +=3D [{ 'name': 'qemu-system-' + target_name + 'w', - 'gui': true, + 'win_subsystem': 'windows', 'sources': files('softmmu/main.c'), 'dependencies': [] }] @@ -2221,7 +2217,7 @@ foreach target : target_dirs specific_fuzz =3D specific_fuzz_ss.apply(config_target, strict: fals= e) execs +=3D [{ 'name': 'qemu-fuzz-' + target_name, - 'gui': false, + 'win_subsystem': 'console', 'sources': specific_fuzz.sources(), 'dependencies': specific_fuzz.dependencies(), }] @@ -2229,7 +2225,7 @@ foreach target : target_dirs else execs =3D [{ 'name': 'qemu-' + target_name, - 'gui': false, + 'win_subsystem': 'console', 'sources': [], 'dependencies': [] }] @@ -2249,7 +2245,7 @@ foreach target : target_dirs link_language: link_language, link_depends: [block_syms, qemu_syms] + exe.get('link_depen= ds', []), link_args: link_args, - gui_app: exe['gui']) + win_subsystem: exe['win_subsystem']) =20 if exe_sign emulators +=3D {exe['name'] : custom_target(exe['name'], diff --git a/plugins/meson.build b/plugins/meson.build index e77723010e..d58efc980e 100644 --- a/plugins/meson.build +++ b/plugins/meson.build @@ -1,7 +1,7 @@ if 'CONFIG_HAS_LD_DYNAMIC_LIST' in config_host - plugin_ldflags =3D ['-Wl,--dynamic-list=3D' + (meson.build_root() / 'qem= u-plugins-ld.symbols')] + plugin_ldflags =3D ['-Wl,--dynamic-list=3D' + (meson.project_build_root(= ) / 'qemu-plugins-ld.symbols')] elif 'CONFIG_HAS_LD_EXPORTED_SYMBOLS_LIST' in config_host - plugin_ldflags =3D ['-Wl,-exported_symbols_list,' + (meson.build_root() = / 'qemu-plugins-ld64.symbols')] + plugin_ldflags =3D ['-Wl,-exported_symbols_list,' + (meson.project_build= _root() / 'qemu-plugins-ld64.symbols')] else plugin_ldflags =3D [] endif diff --git a/scripts/mtest2make.py b/scripts/mtest2make.py index ee072c0502..02c0453e67 100644 --- a/scripts/mtest2make.py +++ b/scripts/mtest2make.py @@ -60,11 +60,8 @@ def process_tests(test, targets, suites): if test['workdir'] is not None: print('.test.dir.%d :=3D %s' % (i, shlex.quote(test['workdir']))) =20 - if 'depends' in test: - deps =3D (targets.get(x, []) for x in test['depends']) - deps =3D itertools.chain.from_iterable(deps) - else: - deps =3D ['all'] + deps =3D (targets.get(x, []) for x in test['depends']) + deps =3D itertools.chain.from_iterable(deps) =20 print('.test.name.%d :=3D %s' % (i, test['name'])) print('.test.driver.%d :=3D %s' % (i, driver)) diff --git a/tests/docker/dockerfiles/centos7.docker b/tests/docker/dockerf= iles/centos7.docker index 75fdb53c7c..dc36b4ebc3 100644 --- a/tests/docker/dockerfiles/centos7.docker +++ b/tests/docker/dockerfiles/centos7.docker @@ -28,7 +28,7 @@ ENV PACKAGES \ mesa-libEGL-devel \ mesa-libgbm-devel \ nettle-devel \ - ninja-build \ + 'ninja-build >=3D 1.8' \ perl-Test-Harness \ pixman-devel \ python3 \ diff --git a/tests/qapi-schema/meson.build b/tests/qapi-schema/meson.build index 304ef939bd..26588396d2 100644 --- a/tests/qapi-schema/meson.build +++ b/tests/qapi-schema/meson.build @@ -1,5 +1,5 @@ test_env =3D environment() -test_env.set('PYTHONPATH', meson.source_root() / 'scripts') +test_env.set('PYTHONPATH', meson.project_source_root() / 'scripts') test_env.set('PYTHONIOENCODING', 'utf-8') =20 schemas =3D [ @@ -240,7 +240,7 @@ if build_docs # clutter up the build dir with the cache. command: [SPHINX_ARGS, '-b', 'text', '-E', - '-c', meson.source_root() / 'docs= ', + '-c', meson.project_source_root()= / 'docs', '-D', 'master_doc=3Ddoc-good', meson.current_source_dir(), meson.current_build_dir()]) diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build index 2688e1bfad..50dd85e1df 100644 --- a/tests/qtest/meson.build +++ b/tests/qtest/meson.build @@ -261,7 +261,7 @@ foreach dir : target_dirs qtest_env.set('QTEST_QEMU_IMG', './qemu-img') test_deps +=3D [qemu_img] endif - qtest_env.set('G_TEST_DBUS_DAEMON', meson.source_root() / 'tests/dbus-vm= state-daemon.sh') + qtest_env.set('G_TEST_DBUS_DAEMON', meson.project_source_root() / 'tests= /dbus-vmstate-daemon.sh') qtest_env.set('QTEST_QEMU_BINARY', './qemu-system-' + target_base) =20 foreach test : target_qtests diff --git a/tests/unit/meson.build b/tests/unit/meson.build index 4bfe4627ba..907e9f5f26 100644 --- a/tests/unit/meson.build +++ b/tests/unit/meson.build @@ -42,7 +42,7 @@ tests =3D { 'test-keyval': [testqapi], 'test-logging': [], 'test-uuid': [], - 'ptimer-test': ['ptimer-test-stubs.c', meson.source_root() / 'hw/core/pt= imer.c'], + 'ptimer-test': ['ptimer-test-stubs.c', meson.project_source_root() / 'hw= /core/ptimer.c'], 'test-qapi-util': [], } =20 diff --git a/trace/meson.build b/trace/meson.build index 08f83a15c3..317b557915 100644 --- a/trace/meson.build +++ b/trace/meson.build @@ -3,7 +3,7 @@ specific_ss.add(files('control-target.c')) =20 trace_events_files =3D [] foreach dir : [ '.' ] + trace_events_subdirs - trace_events_file =3D meson.source_root() / dir / 'trace-events' + trace_events_file =3D meson.project_source_root() / dir / 'trace-events' trace_events_files +=3D [ trace_events_file ] group_name =3D dir =3D=3D '.' ? 'root' : dir.underscorify() group =3D '--group=3D' + group_name @@ -69,7 +69,7 @@ foreach d : [ ] gen =3D custom_target(d[0], output: d[0], - input: meson.source_root() / 'trace-events', + input: meson.project_source_root() / 'trace-events', command: [ tracetool, '--group=3Droot', '--format=3D@0@'.f= ormat(d[1]), '@INPUT@', '@OUTPUT@' ], depend_files: tracetool_depends) specific_ss.add(when: 'CONFIG_TCG', if_true: gen) --=20 2.29.2 From nobody Tue May 21 06:30:36 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1615830532; cv=none; d=zohomail.com; s=zohoarc; b=F2kMikj8gdqz6f3ko3E1ocgRPCNTefferE3hmOrRQfR+mreoxFEna8SP0uEnQJ8CREfKB3uY1RlCny4quAyVjFDvRKopLilQd6KPC+CsSqhf/9fzAxmTWA2u9KQsaeeZ/Hu+tz/ujYDdDuvWngT/akAWNlJMV84cvddcbm1X/dg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615830532; h=Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=YhBo1ZSoIBwZQ5KKbNpd+bGBZNvKDhx/Uj/CIpS1xWc=; b=cfvPFnEdOMxb1PMXw21n6uGZ6BKEa8P7uoeyMaOTS0YQLMwc54nwBm9JXTyxQpZC8hs/iqz7YwuT6wpRHrxbuBNs/2Qe4wqTKX3pNlh0iDpo2PgSPoWOmJZUXinmIaxH6Jg0RiYEyebdouj6LaBAnllNUjl4g9kvY5eV77BBmWc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1615830532797175.1609839550689; Mon, 15 Mar 2021 10:48:52 -0700 (PDT) Received: from localhost ([::1]:51778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrKl-00020v-NB for importer@patchew.org; Mon, 15 Mar 2021 13:48:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrBb-0002yZ-VJ for qemu-devel@nongnu.org; Mon, 15 Mar 2021 13:39:24 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:42281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrBa-0006x5-1L for qemu-devel@nongnu.org; Mon, 15 Mar 2021 13:39:23 -0400 Received: by mail-wr1-x429.google.com with SMTP id j2so9102891wrx.9 for ; Mon, 15 Mar 2021 10:39:20 -0700 (PDT) Received: from localhost.localdomain ([2001:b07:add:ec09:c399:bc87:7b6c:fb2a]) by smtp.gmail.com with ESMTPSA id m132sm295613wmf.45.2021.03.15.10.39.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 10:39:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YhBo1ZSoIBwZQ5KKbNpd+bGBZNvKDhx/Uj/CIpS1xWc=; b=ojUcBlMlQT6SyQ+aNpC+Fd/4siE4SBsrUZn1z3ZRMF9VxKPYbMWgKx6YPbPmPe2x+x D8sgd4G0i2QVzj+DnuBvbU9ORnShvLrdDJAOwSx+UA7DZHUE9jVNzFMi6EJnflO1O879 bFVxsnlNU/eM+kqMnldipEECd8iy6UygX/nrS4AS7p9QLddKD8Je1oNYeC/+FNYHUEjw 5Wv+r5gRPK/GSOpW9ZE1v5myCO7PyJyPE+tS4JAHhSi1JRQ8xPccAOpB3HhAuqNRoP7q WV+6eGCyFGhThYj6GEewtNpKk0iLviYJklKaDwJN3uxiE828l9hAIjQEjyxpQM+ABlHt 5JDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=YhBo1ZSoIBwZQ5KKbNpd+bGBZNvKDhx/Uj/CIpS1xWc=; b=MH0XfJkRmeA7l1G/IdwrrKYdeE50qjOV31iIMu/M4JdhPart8NzEwqOkYg504SBrjM +QF05mAyhqRnBYFY4rU0V80w467Ll7hrShH5iAaskCzQUD/X0Lh7BU4ymBHKUARYObqK 2xerekYgd28hqaMe57QP9c1+UkKJIB0baq+p12DTEf4m9QhK7WEE0VAAYutbj6BTHMCi sExWgZF2TYG3a00IdQLYvrllk0hiM0y3D3S5LK03jtR8jNaTPF8pMYckcaygqEiaNjEm 2lJTbEywa4IaP1HyKSMGSsaT/UQeQSewx/rOFgh7L5u2rGgUU15hcy+w+0lxxWkWGOBe TCbw== X-Gm-Message-State: AOAM5334MA9ErTLA1lLdJdNhH7ckEZoQ9LM92WyHHW4H/1eb8V179LRS 3AVlz/M3spaEiaX8VbRyaIPnNIUuSXQ= X-Google-Smtp-Source: ABdhPJxea+BCixMUgyMsgvvw4JV5m5vwYlI4JPb+hYml7MOK7AbQqq4PENtWbgcQo2MLSqYlGMYzmg== X-Received: by 2002:adf:fec5:: with SMTP id q5mr733259wrs.43.1615829960109; Mon, 15 Mar 2021 10:39:20 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 5/5] hexagon: use env keyword argument to pass PYTHONPATH Date: Mon, 15 Mar 2021 18:39:12 +0100 Message-Id: <20210315173912.197857-6-pbonzini@redhat.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210315173912.197857-1-pbonzini@redhat.com> References: <20210315173912.197857-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=paolo.bonzini@gmail.com; helo=mail-wr1-x429.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" This feature is new in meson 0.57 and allows getting rid of the "env" wrapp= er. Signed-off-by: Paolo Bonzini --- target/hexagon/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/hexagon/meson.build b/target/hexagon/meson.build index bb0b4fb621..aaeee11ac1 100644 --- a/target/hexagon/meson.build +++ b/target/hexagon/meson.build @@ -156,7 +156,8 @@ dectree_generated =3D custom_target( 'dectree_generated.h.inc', output: 'dectree_generated.h.inc', depends: [iset_py], - command: ['env', 'PYTHONPATH=3D' + meson.current_build_dir(), files('d= ectree.py'), '@OUTPUT@'], + env: {'PYTHONPATH': meson.current_build_dir()}, + command: [python, files('dectree.py'), '@OUTPUT@'], ) hexagon_ss.add(dectree_generated) =20 --=20 2.29.2