From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 194F64599D; Fri, 20 Sep 2024 14:57:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6079B43405; Fri, 20 Sep 2024 14:57:52 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by mails.dpdk.org (Postfix) with ESMTP id 1C36D433C6 for ; Fri, 20 Sep 2024 14:57:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726837072; x=1758373072; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+bup/g7QoNrPL9agLTItMqFiRktKf7F0uszOsDWvw04=; b=d/JLfP6Yi8I+fUEJx7YDeXBfzFOje4OdVkYG0qvHS1PMIoSy0Ncj0if3 lj9TfFz2IWdPXB+CwZ6I++tN+0juUHaTm4vkr3puhsuy1lkuvZIYH1Dl/ DTO09ExaroRXOqYe2yrxZd62/giKegr+dd1JfPlf+DPbQ52Eh7oR25ysD 4jsjtN8uVcVlaPnEEqF/6yWZNsdrVwwvHriEpfPlufP6TntWpBijfsDWL Dz5NLMer0W5BHIQetYHCgFx/LeWAeIvs7qCAEs2whlrCAAOsTV+us3HAh 0tQFS1yI6mIy4TUjjVeIpsn4vsKNEOq+rVStIdCuaZDcWcaeULp4fH9NL w==; X-CSE-ConnectionGUID: 9XsMCdYXQX+kxT+jAFKg9A== X-CSE-MsgGUID: fdDKKCT4Smm1uhznSy921A== X-IronPort-AV: E=McAfee;i="6700,10204,11200"; a="25991092" X-IronPort-AV: E=Sophos;i="6.10,244,1719903600"; d="scan'208";a="25991092" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Sep 2024 05:57:51 -0700 X-CSE-ConnectionGUID: ttCZgXzsTY6pDV7RcTF9gw== X-CSE-MsgGUID: BOFcj+N/SQec1RlL3f95yg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,244,1719903600"; d="scan'208";a="71135891" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by orviesa008.jf.intel.com with ESMTP; 20 Sep 2024 05:57:50 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: mb@smartsharesystems.com, thomas@monjalon.net, david.marchand@redhat.com, Bruce Richardson Subject: [PATCH 1/5] build: increase minimum meson version to 0.57 Date: Fri, 20 Sep 2024 13:57:33 +0100 Message-ID: <20240920125737.1197969-2-bruce.richardson@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240920125737.1197969-1-bruce.richardson@intel.com> References: <20240920125737.1197969-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org In order to work around some deprecated functions in meson, we need to increase meson version. Increasing to 0.57 to also gain support for other useful features for us in DPDK. Changes of interest to DPDK include: * Use get_external_property instead of get_cross_property * Ability to use a VERSION file rather than hacking it with scripting * Ability to set built-in options in cross-build files * Ability to set pkg_config_libdir in cross-build files Signed-off-by: Bruce Richardson --- .ci/linux-setup.sh | 2 +- doc/guides/linux_gsg/sys_reqs.rst | 2 +- doc/guides/prog_guide/build-sdk-meson.rst | 2 +- meson.build | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh index 975bf32144..8512a92b21 100755 --- a/.ci/linux-setup.sh +++ b/.ci/linux-setup.sh @@ -4,7 +4,7 @@ [ "$(id -u)" != '0' ] || alias sudo= # need to install as 'root' since some of the unit tests won't run without it -sudo python3 -m pip install --upgrade 'meson==0.53.2' +sudo python3 -m pip install --upgrade 'meson==0.57.0' # setup hugepages. error ignored because having hugepage is not mandatory. cat /proc/meminfo diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst index 9c5282573e..13d632cec7 100644 --- a/doc/guides/linux_gsg/sys_reqs.rst +++ b/doc/guides/linux_gsg/sys_reqs.rst @@ -44,7 +44,7 @@ Compilation of the DPDK * Python 3.6 or later. -* Meson (version 0.53.2+) and ninja +* Meson (version 0.57+) and ninja * ``meson`` & ``ninja-build`` packages in most Linux distributions * If the packaged version is below the minimum version, the latest versions diff --git a/doc/guides/prog_guide/build-sdk-meson.rst b/doc/guides/prog_guide/build-sdk-meson.rst index 93aa1f80e3..fdb5d484fa 100644 --- a/doc/guides/prog_guide/build-sdk-meson.rst +++ b/doc/guides/prog_guide/build-sdk-meson.rst @@ -35,7 +35,7 @@ The ``meson`` tool is used to configure a DPDK build. On most Linux distributions this can be got using the local package management system, e.g. ``dnf install meson`` or ``apt-get install meson``. If meson is not available as a suitable package, it can also be installed using the Python -3 ``pip`` tool, e.g. ``pip3 install meson``. Version 0.53.2 or later of meson is +3 ``pip`` tool, e.g. ``pip3 install meson``. Version 0.57 or later of meson is required - if the version packaged is too old, the latest version is generally available from "pip". diff --git a/meson.build b/meson.build index 8b248d4505..69888834b4 100644 --- a/meson.build +++ b/meson.build @@ -13,7 +13,7 @@ project('DPDK', 'c', 'default_library=static', 'warning_level=2', ], - meson_version: '>= 0.53.2' + meson_version: '>= 0.57' ) # check for developer mode -- 2.43.0