spirv-llvm-translator: 15.0.0 -> 15.0.11

This commit is contained in:
Sandro Jäckel 2025-04-23 16:32:52 +02:00
parent 2dd09f1837
commit 6f32b112d4
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -43,9 +43,9 @@ let
} }
else if llvmMajor == "15" then else if llvmMajor == "15" then
rec { rec {
version = "15.0.0"; version = "15.0.11";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-OsDohXRxovtEXaWiRGp8gJ0dXmoALyO+ZimeSO8aPVI="; hash = "sha256-q4WhUaBDw0cnv1eqC6wSvrApHKvyg5/4QetybDLQkEw=";
} }
else if llvmMajor == "14" then else if llvmMajor == "14" then
{ {
@ -82,7 +82,7 @@ stdenv.mkDerivation {
hash = "sha256-71sJuGqVjTcB549eIiCO0LoqAgxkdEHCoxh8Pd/Qzz8="; hash = "sha256-71sJuGqVjTcB549eIiCO0LoqAgxkdEHCoxh8Pd/Qzz8=";
}) })
] ]
++ lib.optionals (lib.versionAtLeast llvmMajor "15" && lib.versionOlder llvmMajor "18") [ ++ lib.optionals (lib.versionAtLeast llvmMajor "16" && lib.versionOlder llvmMajor "18") [
# Fixes build after spirv-headers breaking change # Fixes build after spirv-headers breaking change
(fetchpatch { (fetchpatch {
url = "https://github.com/KhronosGroup/SPIRV-LLVM-Translator/commit/0166a0fb86dc6c0e8903436bbc3a89bc3273ebc0.patch"; url = "https://github.com/KhronosGroup/SPIRV-LLVM-Translator/commit/0166a0fb86dc6c0e8903436bbc3a89bc3273ebc0.patch";