spirv-llvm-translator: mark as broken for LLVM 21 with SPIRV Headers 1.4.321

This commit is contained in:
blenderfreaky
2025-08-19 23:38:16 +02:00
committed by Sandro Jäckel
parent 5e3cff9cb5
commit 9eaf6ae368
@@ -133,5 +133,13 @@ stdenv.mkDerivation {
license = licenses.ncsa;
platforms = platforms.unix;
maintainers = with maintainers; [ gloaming ];
# For the LLVM 21 build some commits to spirv-headers
# are required that didn't make it into the final release of 1.4.321
# For example: 9e3836d Add SPV_INTEL_function_variants
# Once spirv-headers are released again and updated on nixpkgs,
# this will switch over to the nixpkgs version and should no
# longer be broken.
broken = llvmMajor == "21" && lib.versionOlder spirv-headers.version "1.4.322";
};
}