]> git.pld-linux.org Git - packages/postgresql.git/blob - llvm11.patch
- release 9 (by relup.sh)
[packages/postgresql.git] / llvm11.patch
1 From c001c115bcb2accddc23a25c605886e01475db4f Mon Sep 17 00:00:00 2001
2 From: Andres Freund <andres@anarazel.de>
3 Date: Thu, 28 May 2020 15:08:12 -0700
4 Subject: [PATCH] llvmjit: Fix building against LLVM 11 by removing unnecessary
5  include.
6
7 LLVM has removed this header, in the branch that will become llvm
8 11. But as it turns out we didn't actually need it, so just remove it.
9
10 Author: Jesse Zhang <sbjesse@gmail.com>
11 Discussion: https://postgr.es/m/CAGf+fX7bvtP0YXMu7pOsu_NwhxW6dArTkxb=jt7M2-UJkyJ_3g@mail.gmail.com
12 Backpatch: 11, where JIT support using llvm was introduced.
13 ---
14  src/backend/jit/llvm/llvmjit_inline.cpp | 1 -
15  1 file changed, 1 deletion(-)
16
17 diff --git a/src/backend/jit/llvm/llvmjit_inline.cpp b/src/backend/jit/llvm/llvmjit_inline.cpp
18 index aa0473dacd22..c489a632ff9e 100644
19 --- a/src/backend/jit/llvm/llvmjit_inline.cpp
20 +++ b/src/backend/jit/llvm/llvmjit_inline.cpp
21 @@ -56,7 +56,6 @@ extern "C"
22  #include <llvm/Support/Error.h>
23  #endif
24  #include <llvm/IR/Attributes.h>
25 -#include <llvm/IR/CallSite.h>
26  #include <llvm/IR/DebugInfo.h>
27  #include <llvm/IR/IntrinsicInst.h>
28  #include <llvm/IR/IRBuilder.h>
This page took 0.029857 seconds and 3 git commands to generate.