Loading pkgs/development/compilers/llvm/common/default.nix +13 −10 Original line number Diff line number Diff line Loading @@ -507,9 +507,11 @@ let llvm = tools.libllvm; tblgen = callPackage ./tblgen.nix { patches = builtins.filter patches = builtins.filter # Crude method to drop polly patches if present, they're not needed for tblgen. (p: (!lib.hasInfix "-polly" p)) tools.libllvm.patches; (p: (!lib.hasInfix "-polly" p)) tools.libllvm.patches; clangPatches = [ # Would take tools.libclang.patches, but this introduces a cycle due # to replacements depending on the llvm outpath (e.g. the LLVMgold patch). Loading @@ -532,7 +534,8 @@ let # libraries. eg: `clang -munsupported hello.c -lc` ./clang/clang-unsupported-option.patch ] ++ lib.optional (lib.versions.major metadata.release_version == "13") ++ lib.optional (lib.versions.major metadata.release_version == "13") # Revert of https://reviews.llvm.org/D100879 # The malloc alignment assumption is incorrect for jemalloc and causes # mis-compilation in firefox. Loading Loading
pkgs/development/compilers/llvm/common/default.nix +13 −10 Original line number Diff line number Diff line Loading @@ -507,9 +507,11 @@ let llvm = tools.libllvm; tblgen = callPackage ./tblgen.nix { patches = builtins.filter patches = builtins.filter # Crude method to drop polly patches if present, they're not needed for tblgen. (p: (!lib.hasInfix "-polly" p)) tools.libllvm.patches; (p: (!lib.hasInfix "-polly" p)) tools.libllvm.patches; clangPatches = [ # Would take tools.libclang.patches, but this introduces a cycle due # to replacements depending on the llvm outpath (e.g. the LLVMgold patch). Loading @@ -532,7 +534,8 @@ let # libraries. eg: `clang -munsupported hello.c -lc` ./clang/clang-unsupported-option.patch ] ++ lib.optional (lib.versions.major metadata.release_version == "13") ++ lib.optional (lib.versions.major metadata.release_version == "13") # Revert of https://reviews.llvm.org/D100879 # The malloc alignment assumption is incorrect for jemalloc and causes # mis-compilation in firefox. Loading