From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB3CEC433F5 for ; Sat, 18 Sep 2021 09:37:16 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 64B9F60F48 for ; Sat, 18 Sep 2021 09:37:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 64B9F60F48 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:49116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRWmZ-0006fP-GW for qemu-devel@archiver.kernel.org; Sat, 18 Sep 2021 05:37:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRWhT-0008Uc-DP for qemu-devel@nongnu.org; Sat, 18 Sep 2021 05:31:59 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:38583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRWhO-0003eS-7r for qemu-devel@nongnu.org; Sat, 18 Sep 2021 05:31:59 -0400 Received: by mail-wr1-x42e.google.com with SMTP id u18so17435010wrg.5 for ; Sat, 18 Sep 2021 02:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VMxPJY6t4uoMf/I961hE4R2GzgtcCFDrssDoN4r5NzQ=; b=q3G+od+yz7iSO+EBAcPqU0Bi7hsQQQYLj0ua/sHQ67crBT7DxVK9MjDOrcKoRSyHe3 US7x8zYS3Maq9K2mjeb/VdowLkWfQ1ONnc8y/LpAluRx5iho3vhxAXw7j39JoBMVosLK b/P7IyrTLCa2/yIV1OVZ9FV6muCtwCapjcbUmrUvMq9sV+Ctw+26QnM6l406o/l6wkZU yMPzftCEZKhRbo3+KBNwh7MzsS/9lQHdQHKnKNcZpIVosh12gTtVhYmq18Y7lO68sUO0 yJhKX2s6LuK3Sdr81QSaX7XuL6JWG/AE6NlWnEC5QfiQFjM2iHU7X+vtS6yO2q/oUM1U YwlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=VMxPJY6t4uoMf/I961hE4R2GzgtcCFDrssDoN4r5NzQ=; b=lbT+XxXUuh2xNMdmBDcaJpjTLWSeiG8Pwi1/HWYYa7hPwadkvzS8oLMuD9waEsYbTV 0yYQKd3qBcyUAIzerSDorWRcF5Nilg+Hm67KhHbC2GMEGBO9dN9TYrkq/KFNpd9e0a86 fBU5ahXPWGj3s5Fw84LGN/y1u4px4CgV4hOpLc9H2zudqFZyBpkimvHDy3Z+ULE4S6Ts CDyRChTrv9ifKKIt22HGznSn3d7KKsiQyoFcdEG/hnyfm4wIuZy86b6BIA36NNEj8rTx Ydxf+IhyDvKirZpsoBs+jy3Tf6j8IlfDRKc0wHDokh3hs/EKgO8S8mfRcFlaIKWoHOdz SNDg== X-Gm-Message-State: AOAM530HonJMfLGSnW0pHMk9nuY+eZg+0LXfL007oL3/tJftD6LENnHP 2TtpDtN1+tbRB8256m8A4+3msW87pv4= X-Google-Smtp-Source: ABdhPJywTtw8ol7uVZxuSBH09gpL/+Qdm37XsvuFvm1+p+OUGI1xg5LsT3FXurJ+7fKdgLJ8bATxZg== X-Received: by 2002:a5d:5258:: with SMTP id k24mr17188869wrc.390.1631957512973; Sat, 18 Sep 2021 02:31:52 -0700 (PDT) Received: from localhost.localdomain ([2001:b07:6468:f312:63a7:c72e:ea0e:6045]) by smtp.gmail.com with ESMTPSA id j14sm9233858wrp.21.2021.09.18.02.31.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Sep 2021 02:31:52 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 3/3] hexagon: use env keyword argument to pass PYTHONPATH Date: Sat, 18 Sep 2021 11:31:40 +0200 Message-Id: <20210918093140.5797-4-pbonzini@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210918093140.5797-1-pbonzini@redhat.com> References: <20210918093140.5797-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=paolo.bonzini@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) 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_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" This feature is new in meson 0.57 and allows getting rid of the "env" wrapper. 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 6fd9360b74..c6d858ffb2 100644 --- a/target/hexagon/meson.build +++ b/target/hexagon/meson.build @@ -156,7 +156,8 @@ dectree_generated = custom_target( 'dectree_generated.h.inc', output: 'dectree_generated.h.inc', depends: [iset_py], - command: ['env', 'PYTHONPATH=' + meson.current_build_dir(), files('dectree.py'), '@OUTPUT@'], + env: {'PYTHONPATH': meson.current_build_dir()}, + command: [python, files('dectree.py'), '@OUTPUT@'], ) hexagon_ss.add(dectree_generated) -- 2.31.1