From 14759757ddd95f609823e4c3718bcad6123e63d1 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 30 Sep 2025 15:10:17 +0200 Subject: [PATCH] meson.build: remove dead code This is already inside an `if with_clc`, so there was no case where _llvmspirvlib_min_version was set to >= 8.0.1.3. Part-of: --- meson.build | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/meson.build b/meson.build index d7ed229b14a..b6d5d9fcc01 100644 --- a/meson.build +++ b/meson.build @@ -1835,14 +1835,7 @@ if with_clc # Require an SPIRV-LLVM-Translator version compatible with the chosen LLVM # one. - # This first version check is still needed as maybe LLVM 8.0 was picked but - # we do not want to accept SPIRV-LLVM-Translator 8.0.0.1 as that version - # does not have the required API and those are only available starting from - # 8.0.1.3. - _llvmspirvlib_min_version = '>= 8.0.1.3' - if with_clc - _llvmspirvlib_min_version = '>= 15.0.0.0' - endif + _llvmspirvlib_min_version = '>= 15.0.0.0' _llvmspirvlib_version = [ _llvmspirvlib_min_version,