| From: | Jesper Pedersen <jesper(dot)pedersen(at)redhat(dot)com> |
|---|---|
| To: | Pierre Ducroquet <p(dot)psql(at)pinaraf(dot)info> |
| Cc: | pgsql-hackers(at)postgresql(dot)org, Andres Freund <andres(at)anarazel(dot)de> |
| Subject: | Re: JIT compiling with LLVM v12 |
| Date: | 2018-03-29 15:55:00 |
| Message-ID: | bc59e956-b52b-84db-e62a-a74032b80cac@redhat.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
On 03/29/2018 11:03 AM, Pierre Ducroquet wrote:
> Clang is needed to emit the LLVM bitcode required for inlining. The "-emit-
> llvm" flag is used for that. A dual compilation is required for inlining to
> work, one compilation with gcc/clang/msvc/… to build the postgresql binary,
> one with clang to generate the .bc files for inlining.
> It can be surprising, but there is little way around that (or we accept only
> clang to build postgresql, but there would be a riot).
>
Thanks Pierre.
Best regards,
Jesper
| Attachment | Content-Type | Size |
|---|---|---|
| README.patch | text/x-patch | 595 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2018-03-29 16:04:06 | Re: Commit 4dba331cb3 broke ATTACH PARTITION behaviour. |
| Previous Message | Rushabh Lathia | 2018-03-29 15:43:30 | Re: Commit 4dba331cb3 broke ATTACH PARTITION behaviour. |