From patchwork Wed Sep 25 20:48:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 830484 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:1374:b0:367:895a:4699 with SMTP id q20csp938093wrz; Wed, 25 Sep 2024 13:50:02 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVYEwdOJoDvEUNcRTLWnmZfgP+PX4XX2XTYwSu3GEChgmP16ifo1Gk0ZxWDDtiGUsprb6TsGg==@linaro.org X-Google-Smtp-Source: AGHT+IE2JZoDPUMWqQIyqvNRRwg32OHIFS1CU3CxFLXKm1za9Gk/mjDd62CQ8s2/BHeG825gumLu X-Received: by 2002:a05:620a:1926:b0:7a3:51ed:38c0 with SMTP id af79cd13be357-7ace7158473mr702706785a.0.1727297402324; Wed, 25 Sep 2024 13:50:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727297402; cv=none; d=google.com; s=arc-20240605; b=NUiI1AcQ39DD9C291fTISXdeRyH9z/aoZESihCnVQhnDTJb96SAiXaCyljmipqIANO e7n2I19LXJU1JVXCojhFtK8hTDRels3joim/69MTt9Yo7Kehi/SKk/P1zWcmYUEbYwJT 6S90QTMH3suXbaq+exZBEj5j94/JlA1TzxL6cUkeN12+2aTSB3UHZwcIBqvGLpPzZC6b MQCXBnX58rm6K/QvMJrDUgCB8hCw6eWoPpte4THDfBG0x8i/aHNwGfsFrDbEPUaWi9iz ngemBO1ExIp1utYPbRdhoLYrZ9MbcWwDO+MpHQElthG6XQOOCefjKd9gBsep4ZulgZGL aJVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=TPgjLd8ThMq5vhcmB5udYg4Vp/dcx2zmQuQ06G4BMHU=; fh=ElfVJ0WJTGk8vzaHUUPcIoe1bAggW/mMs9haJd48S2k=; b=dFaWoNB8XnXSPsVG+81SR6ctEeLuWgygEJqV5WtWwS5T4tStYWIKrGxcG3ICPA4vM6 smCb4v+XHDssPlUXFQBOIKOMj4nYflhKCwtMur3Nghy/yEyPZew+gbUbAtYkkxIdspwm 3n2dwheEKnJ0i6rnsvftnphxiQmtYwyVPDLN2sfqIq2FGov7sQHOKO3RvhC63SmvHiEP PxgHGGOVPGCXLpbKap0BOlwukjRZMyHUj5oTZnwLNZhuFpjVEC+g7hfjzc8p8atqe9Zc wbPU64Bzug341u6uibJ4eHJOCKIOOz9V5gK+BYqcaaOzUQobgSBuZBHcXkp1TIBcic4X DBgw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wNzR6hiR; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7acde633029si477368885a.678.2024.09.25.13.50.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Sep 2024 13:50:02 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wNzR6hiR; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stYwX-0005du-0s; Wed, 25 Sep 2024 16:49:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stYwU-0005b2-8T for qemu-devel@nongnu.org; Wed, 25 Sep 2024 16:48:58 -0400 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1stYwS-0006b9-KY for qemu-devel@nongnu.org; Wed, 25 Sep 2024 16:48:57 -0400 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-2053616fa36so2576865ad.0 for ; Wed, 25 Sep 2024 13:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727297334; x=1727902134; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=TPgjLd8ThMq5vhcmB5udYg4Vp/dcx2zmQuQ06G4BMHU=; b=wNzR6hiRDKhxtoKntOsrbkzcrzVPO+1OttlMGI9EnAk2pMEG2qTquDaqBUxJCef9Yp yZKOX+RWP4ZVAAOP59Zqgf1W8zuk4Uo8xuN8C4E4ZY3F35jq/FB3lJ1WVc7cAe9c7tc6 QRM5cufrNtjEE8dPGKwQo73gBcIF54zKZ4nPniMEyhTPqtSxf3C520P9AxnMA49PsI38 DhqnokTytO3tByhEAI+lwTe2a7y0OsF3KjUNKTEdMp2ORPYe3P3KNMaFiqa85u9rc0rR OZfpE7yUS/774uli+5qcQIh6Lx3mPwGkLPxICVmralptOt7ujg0AaN4gnETJHxNBwjWs FWqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727297334; x=1727902134; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TPgjLd8ThMq5vhcmB5udYg4Vp/dcx2zmQuQ06G4BMHU=; b=Nofz8ds4OmNOjftR7G/XJCB6yzF8Rnj3bIyjZalWUKMrSDLfJAO5O9ytcmpxkGxZfV deo00XBrGgzeUoLHBYHFjnnXCrdVy1gLmhDrTPLFBgxb4vMH/DlIC7fQDmCGzdXFEwkI wheXZjrbaMZRS7+r6i+l8E5DGePxZWsBrnWFny0gqnNjgA6/fB/RhpGf6DiTnrZS7xWc MVekdTRmydj4K/bFBU/1azB5p9s9ZnAExu5FptOfBl675AIGEyUvhMnD20PqBbchIBcZ YxA2M9kuj9Yxl+jmfThSiTzbFwLZtrSp0JRB871uMRbZLL1l81doISishSiLof4UTVxI /zeQ== X-Gm-Message-State: AOJu0Yz1jptsUmCpOf14c9BvwtAArsEjHu47K7SOzviFGBEZ5LFp6nWj KkcLmbMiHQ0ukpz14226FrRGjZxeE/Sgb2/CMputO9kowbcyT/Fa+TbKkd+vvzknAHvn/oHKTmV SpneFAtNY X-Received: by 2002:a17:903:1c1:b0:207:15f4:2637 with SMTP id d9443c01a7336-20afc3f8c67mr73108895ad.12.1727297333920; Wed, 25 Sep 2024 13:48:53 -0700 (PDT) Received: from linaro.. (216-180-64-156.dyn.novuscom.net. [216.180.64.156]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20af16e6ce6sm27991435ad.19.2024.09.25.13.48.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 13:48:53 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Pierrick Bouvier , Alexandre Iooss , Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Mahmoud Mandour Subject: [PATCH v2 0/2] build contrib/plugins using meson Date: Wed, 25 Sep 2024 13:48:43 -0700 Message-Id: <20240925204845.390689-1-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pl1-x62e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Contrib plugins have been built out of tree so far, thanks to a Makefile. However, it is quite inconvenient for maintenance, as we may break them, especially for specific architectures. First patches are fixing warnings for existing plugins, then we add meson support, and finally, we remove Makefile for contrib/plugins. Based on the proposal of Anton Kochkov on associated gitlab issue. Solves: https://gitlab.com/qemu-project/qemu/-/issues/1710 Plugins are now deactivated by default on 32-bits hosts (since cf2a78), so we can enable with meson without worrying of warnings when building plugins for 32 bits. v2 --- - removed warnings fix for 32 bits as they were incorrect. They are not needed anymore as plugins are deprecated for 32 bits hosts. Removed patches for individual plugins. Pierrick Bouvier (2): meson: build contrib/plugins with meson contrib/plugins: remove Makefile for contrib/plugins configure | 18 -------- Makefile | 10 ----- meson.build | 4 ++ contrib/plugins/Makefile | 87 ------------------------------------- contrib/plugins/meson.build | 23 ++++++++++ 5 files changed, 27 insertions(+), 115 deletions(-) delete mode 100644 contrib/plugins/Makefile create mode 100644 contrib/plugins/meson.build