From patchwork Wed Aug 14 23:36:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 819155 Delivered-To: patch@linaro.org Received: by 2002:adf:cd01:0:b0:367:895a:4699 with SMTP id w1csp921061wrm; Wed, 14 Aug 2024 16:38:27 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVkmQxIUSCbexcT0S2FSXUHH51GMz/qeETbCamGmOrlckNOI0hOnYFeXRhqCp364AGDJ3xsEcI28nbe0/IJcvbd X-Google-Smtp-Source: AGHT+IGvv4NF6RE/XqRgvTtakaLjmW+jncI6kSsWpVnFnF7Owma9MmxL1/OgNWTl9klQHILqNf3q X-Received: by 2002:a05:620a:d84:b0:7a3:570e:ec94 with SMTP id af79cd13be357-7a4fd144061mr214591585a.6.1723678706859; Wed, 14 Aug 2024 16:38:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723678706; cv=none; d=google.com; s=arc-20160816; b=FlXWLwx9pSR82gkdrTtdVXyUthz4hsj1onoaHv22z+av+3bX9bF6JKv+w37xKkCtKx oM13yesTsoyuxKFC6gLbyw2h8Wnp8pAXqY6H52Mj+DxpX3D/WpnORl+gWtQztfwrlyKi l9iuSkRNkdiTAskXdwywbDz+DKQy5Sumrss7XyF/3brAIyXgE0B7+bMxsevPg9tozFXB Fj0FYluLuLVyNA8jSifgdX96sqj1TkQyDNKPfCxHrsRZfQzUrTlyqNWDmEx8nP7xQALk bSTFiehVb1ak8y6X1Ps/F9UP1LL1pN+/W4w9vJZtwvTqegrErfvYHTDcIQFrCdWSL9a5 HnLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=IGS4bdB+9eTz8vEajfbjLybPSF9As7459mfj2MYdVLM=; fh=oXkr8tRtU3V0Y/ys4wmfLP1vjmnh5XTVxxercrnp+aA=; b=SW3IASY7FU/IjUauLgCaIVGlhqci+CkA78uhDAjpmJmaIUwJ29bWn9Gpp96Um+Qf2n yBYFG0gTswLrDpcIY4PzKU5jfB8M5IngVXsgBgePW7jgdTgM+LXrbTuUGV3xbTr/UbAc Tnwbqd1hDNrQx3+e4Ir36jvuaYFvlh/pakQdrbzRTc1LaZAXmOqKWx17IzMD4Sjs44wG 44ZdBieSM9K37wzOW27nQQfGyeW+0JhnMVCTjzgDjTsM1jb4RXrr/wJ4CF6kS/iy0+Cc yuRutFSWCsaWVwWGUU4n3WMWd/yPlxOt8gDauv51mc9MA8s0uhzh2G7KiHj9z4xk8IOl k9cg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="U/VEeuU4"; 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-7a4ff02b688si43663885a.166.2024.08.14.16.38.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Aug 2024 16:38:26 -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="U/VEeuU4"; 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 1seNY4-0001fL-Vc; Wed, 14 Aug 2024 19:37:00 -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 1seNY2-0001cK-Gg for qemu-devel@nongnu.org; Wed, 14 Aug 2024 19:36:58 -0400 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1seNY0-0006Vn-Jl for qemu-devel@nongnu.org; Wed, 14 Aug 2024 19:36:58 -0400 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-710dc3015bfso273251b3a.0 for ; Wed, 14 Aug 2024 16:36:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723678614; x=1724283414; 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=IGS4bdB+9eTz8vEajfbjLybPSF9As7459mfj2MYdVLM=; b=U/VEeuU4kqeH3Uo1QavS0a3UtqFvyF+3BPyRpdA3667GnkbL9HWYCll4IxxgB01/NB DQaEaugOfWqQXf4zNYB6DsOHY4qPXqdqbBYP/mVEUueRYtPPh4oT5fSO8O2X5oQeniy3 +snXcnMKfrwViDU83fAKHlOkLFp8Uwag8YW2GQ+4YEaCNnrJ4e8ARNnHKwAxB39QSfNZ Yab/aejCXDGW1rG/xpC4ShL3Cw23awvOBjE3md03i81TnHEb0sb1KHOCYCVZQ8VTvsva k8RX/tsytHIKnHVnlU3G9DqyEIgkUDKN8PeQNGYj6ZkNq9kqdk97XT3GUgNS1sQ45jIJ le7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723678614; x=1724283414; 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=IGS4bdB+9eTz8vEajfbjLybPSF9As7459mfj2MYdVLM=; b=A6Y2SYxBmcGi1d/i4+3I4WJnXgRJtoa/UO/g7BH34GYZx8kVkmzKC7uBc/MGpZWpjQ 2HEhFfi94+pnTUpep5QCosmmDf5s3j3JIDACwfElTl0NA4b/zIqjE+KXVM/Q9dy694nS f1sOac+R9ajS9PLFTWhR8ZwqFL3KMmhY7BEYt4tsRahk3/BKW4FHncFVLSt7AjRo8EJt mxx0ARsMPtuley62LQZN6F7sVBQn5JAzg3TPu0GgDfM9cJb9ceTk2eU+e3IZCt644kNi yEI2q/By5CXXim963cAESjjU4otQR1nOcRih8Owt9p2Jocz/mX9Tj6v+2bEJxiz//Tdz 9FUg== X-Gm-Message-State: AOJu0YxQNqMAuIkjwBl1BDYJ9X4vsJuW7YhDrHUBwYweKJVK/gBvj5xz wwTwSPK4Na+ZnnZhRJ0lGPk38FlTgt6pCqtfgquvsoBHTu/OtMW9esXl8RddvDzDSHa4eE8JhFU prhg= X-Received: by 2002:a05:6a00:6f14:b0:70d:2e89:de2b with SMTP id d2e1a72fcca58-71276efcab5mr2243861b3a.4.1723678614548; Wed, 14 Aug 2024 16:36:54 -0700 (PDT) Received: from linaro.vn.shawcable.net ([2604:3d08:9384:1d00::b861]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7127aef57dfsm112164b3a.115.2024.08.14.16.36.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Aug 2024 16:36:54 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Paolo Bonzini , Mahmoud Mandour , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Alexandre Iooss , Thomas Huth , Pierrick Bouvier , =?utf-8?q?Marc-Andr=C3=A9_L?= =?utf-8?q?ureau?= , =?utf-8?q?Philippe_Mathieu?= =?utf-8?q?-Daud=C3=A9?= Subject: [PATCH 0/6] build contrib/plugins using meson Date: Wed, 14 Aug 2024 16:36:39 -0700 Message-Id: <20240814233645.944327-1-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x434.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 Pierrick Bouvier (6): contrib/plugins/execlog: fix warning contrib/plugins/cache: fix warning when compiling on 32bits host contrib/plugins/hwprofile: fix warning when compiling on 32bits host contrib/plugins/hotblocks: fix warning when compiling on 32bits host meson: build contrib/plugins with meson contrib/plugins: remove Makefile for contrib/plugins configure | 18 -------- Makefile | 10 ----- meson.build | 4 ++ contrib/plugins/cache.c | 6 +-- contrib/plugins/execlog.c | 4 +- contrib/plugins/hotblocks.c | 4 +- contrib/plugins/hwprofile.c | 9 ++-- contrib/plugins/Makefile | 85 ------------------------------------- contrib/plugins/meson.build | 23 ++++++++++ 9 files changed, 39 insertions(+), 124 deletions(-) delete mode 100644 contrib/plugins/Makefile create mode 100644 contrib/plugins/meson.build