Re: JIT compiling with LLVM v12 - Mailing list pgsql-hackers

From Jesper Pedersen
Subject Re: JIT compiling with LLVM v12
Date
Msg-id bc59e956-b52b-84db-e62a-a74032b80cac@redhat.com
Whole thread Raw
In response to Re: JIT compiling with LLVM v12  (Pierre Ducroquet <p.psql@pinaraf.info>)
List 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

pgsql-hackers by date:

Previous
From: Rushabh Lathia
Date:
Subject: Re: Commit 4dba331cb3 broke ATTACH PARTITION behaviour.
Next
From: Alvaro Herrera
Date:
Subject: Re: Commit 4dba331cb3 broke ATTACH PARTITION behaviour.