Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 67800C98314 for ; Thu, 24 Sep 2026 10:24:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0CFDB10F455; Thu, 24 Sep 2026 10:24:59 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="RztutVzb"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by gabe.freedesktop.org (Postfix) with ESMTPS id 83A9710F452 for ; Thu, 24 Sep 2026 10:24:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1790245450; x=1821781450; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=jymlKJEGhzFrh+J8FsBdIbD2Tw9v8d2KGeuyJA18Nd0=; b=RztutVzbutFEdpvYPC7/0nz+9JtSq5ZPSc4oM+2N6dlLKYSs4dTmYhcl u2Uy7RmHvCKda/UqpyEUCrcMD5LvXOq/JnIZun4HiZBJ6SF1F3AoL2ftR NGRrncBBxiqVVfvSlbeVHjUsb2+RLuQLkTXWkifnM1Ryv/5kHiC+mWbFy /sd/wJYyJFuiWoanb8DaKXXcnkF5htUTRGdo2krzYYseQCeyNFWrG/Wtx pMjVFOySOXBOqEiA6gmTh8Ak7bVhEvqNdkN76ztuoHOsmZN7zNPIbFj9S VKOEfkqkNXDD708Lsc+/sBjeHwmMOwB7WbuTioCmsdyh8IAXya10j2bxu Q==; X-CSE-ConnectionGUID: IzMqeO6ZR8afVKITEixf5A== X-CSE-MsgGUID: 5/T4K+WlTMy2rPbF7AWSng== X-IronPort-AV: E=McAfee;i="6800,10657,11914"; a="90133929" X-IronPort-AV: E=Sophos;i="6.27,120,1787036400"; d="scan'208";a="90133929" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2026 03:24:10 -0700 X-CSE-ConnectionGUID: dDKW7O/PTl+6bmHg/d6hkA== X-CSE-MsgGUID: OI8jXShSSLK9cXLv4oCQdA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,120,1787036400"; d="scan'208";a="301918976" Received: from mkosciow-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.244.149]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2026 03:24:08 -0700 From: Kamil Konieczny To: igt-dev@lists.freedesktop.org Cc: Kamil Konieczny , Andrzej Hajda , Boris Brezillon , Mark Yacoub , Ryszard Knop , Thadeu Lima de Souza Cascardo , Vitaly Prosyak Subject: [PATCH i-g-t v2] meson: Bump meson version to 1.3.0 Date: Thu, 24 Sep 2026 12:24:04 +0200 Message-ID: <20260924102404.86580-1-kamil.konieczny@linux.intel.com> X-Mailer: git-send-email 2.55.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" Bump meson version to 1.3.0 and update minimal version used in fedora Dokerfile. Also, update some old deprecated functions with a new ones. v2: update fedora dockerfile (Kamil) Cc: Andrzej Hajda Cc: Boris Brezillon Cc: Mark Yacoub Cc: Ryszard Knop Cc: Thadeu Lima de Souza Cascardo Cc: Vitaly Prosyak Closes: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/work_items/206 Signed-off-by: Kamil Konieczny --- Dockerfile.build-fedora | 2 +- data/meson.build | 4 +++- lib/meson.build | 4 ++-- meson.build | 2 +- runner/testdata/meson.build | 7 +++---- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Dockerfile.build-fedora b/Dockerfile.build-fedora index a65f1030d..26d069d55 100644 --- a/Dockerfile.build-fedora +++ b/Dockerfile.build-fedora @@ -46,6 +46,6 @@ RUN dnf install -y findutils # Meson version switching shenanigans RUN dnf install -y python3-pip -RUN curl -o "/usr/src/#1" "https://files.pythonhosted.org/packages/43/9a/e0bcec70d290986c6265d32e0a2d16ace7ef38f58aa5a65308967129d094/{meson-0.52.1.tar.gz}" +RUN curl -o "/usr/src/#1" "https://files.pythonhosted.org/packages/aa/2c/75bcc2722460ef94a9eb3231f6b3466d04a1766ddcd7d660a11ee1cee53a/{meson-1.3.0.tar.gz}" RUN dnf clean all diff --git a/data/meson.build b/data/meson.build index 9490d20ac..8898c27e3 100644 --- a/data/meson.build +++ b/data/meson.build @@ -1,3 +1,5 @@ +fs = import('fs') + image_files = [ '1080p-left.png', '1080p-right.png', @@ -5,7 +7,7 @@ image_files = [ ] foreach img : image_files - configure_file(output:img, input:img, copy:true) + fs.copyfile(img) endforeach install_data(sources : image_files, install_dir : datadir) diff --git a/lib/meson.build b/lib/meson.build index f3e6d9669..66558d5d3 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -218,7 +218,7 @@ if libdrm_amdgpu.found() if llvm_mc_prog.found() add_project_arguments('-DAMDGPU_LLVM_ENABLED', language : ['c']) lib_sources += ['amdgpu/shaders/amd_llvm_asm.c'] - message('Found ' + llvm_mc_prog.path() + ' enabling runtime AMDGPU ISA assembly') + message('Found ' + llvm_mc_prog.full_path() + ' enabling runtime AMDGPU ISA assembly') else lib_sources += ['amdgpu/shaders/amd_llvm_asm_stub.c'] message('llvm-mc not found: using stub implementation (tests will skip)') @@ -295,7 +295,7 @@ foreach f: iga64_assembly_sources iga64_codes_targets += custom_target(name, input: [ f + '.gen.iga64_codes.c', libiga64_asms.extract_objects(f) ], output: name, - depend_files: [ 'iga64_macros.h', generate_iga64_codes.path() ], + depend_files: [ 'iga64_macros.h', generate_iga64_codes.full_path() ], command: [ 'env', 'IGT_SRCDIR=@SOURCE_ROOT@', generate_iga64_codes, '-o', '@OUTPUT@', '-i', '@INPUT0@', '@INPUT1@' ], console: true, ) diff --git a/meson.build b/meson.build index 980fb6421..b05385795 100644 --- a/meson.build +++ b/meson.build @@ -7,7 +7,7 @@ project('igt-gpu-tools', 'c', 'buildtype=debugoptimized', ], license : 'MIT', - meson_version : '>=0.52.1') + meson_version : '>=1.3.0') if get_option('b_ndebug') != 'false' error('Building without -Db_ndebug=false is not supported') diff --git a/runner/testdata/meson.build b/runner/testdata/meson.build index 1f8225918..574067cdb 100644 --- a/runner/testdata/meson.build +++ b/runner/testdata/meson.build @@ -1,3 +1,4 @@ +fs = import('fs') testdata_progs = [ 'successtest', 'no-subtests', @@ -17,10 +18,8 @@ foreach prog : testdata_progs install : false) endforeach -configure_file(input : 'test-blacklist.txt', - output : 'test-blacklist.txt', copy : true) -configure_file(input : 'test-blacklist2.txt', - output : 'test-blacklist2.txt', copy : true) +fs.copyfile('test-blacklist.txt') +fs.copyfile('test-blacklist2.txt') testdata_list = custom_target('testdata_testlist', output : 'test-list.txt', -- 2.55.0