llvmPackages_20.llvm: fix test failure on riscv64

authored by misuzu.tngl.sh and committed by Alyssa Ross a1f49393 86ee22f2

+12 -1
+12 -1
pkgs/development/compilers/llvm/common/llvm/default.nix
··· 294 294 ++ 295 295 lib.optional (lib.versionAtLeast release_version "15") 296 296 # Just like the `llvm-lit-cfg` patch, but for `polly`. 297 - (getVersionFile "llvm/polly-lit-cfg-add-libs-to-dylib-path.patch"); 297 + (getVersionFile "llvm/polly-lit-cfg-add-libs-to-dylib-path.patch") 298 + ++ 299 + lib.optional (lib.versions.major release_version == "20" && stdenv.hostPlatform.isRiscV) 300 + # Test failure on riscv64, fixed in llvm 21 301 + # https://github.com/llvm/llvm-project/issues/150818 302 + ( 303 + fetchpatch { 304 + url = "https://github.com/llvm/llvm-project/commit/bd49bbaaafc98433a2cb4e95ce25b7a201baf5a5.patch"; 305 + hash = "sha256-3hkbYPUVRAtWpo5qBmc2jLZLivURMx8T0GQomvNZesc="; 306 + stripLen = 1; 307 + } 308 + ); 298 309 299 310 nativeBuildInputs = [ 300 311 cmake