Re: JIT compiling with LLVM v10.0

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: JIT compiling with LLVM v10.0
Дата
Msg-id 20180208142406.tjhxt5kekfd2glkc@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: JIT compiling with LLVM v10.0  (Dmitry Dolgov <9erthalion6@gmail.com>)
Список pgsql-hackers
On 2018-02-08 15:14:42 +0100, Dmitry Dolgov wrote:
> > On 8 February 2018 at 10:29, Andreas Karlsson <andreas@proxel.se> wrote:
> >> On 02/07/2018 03:54 PM, Andres Freund wrote:
> >>
> >> I've pushed v10.0. The big (and pretty painful to make) change is that
> >> now all the LLVM specific code lives in src/backend/jit/llvm, which is
> >> built as a shared library which is loaded on demand.
> >
> >
> > It does not seem to be possible build without LLVM anymore.

Yea, wrong header included. Will fix.


> Maybe I'm doing something wrong, but I also see some issues during compilation
> even with llvm included (with gcc 5.4.0 and 7.1.0). Is it expected, do I need
> to use another version to check it out?
> 
>     $ git rev-parse HEAD
>     e24cac5951575cf86f138080acec663a0a05983e
> 
>     $ ./configure --prefix=/build/postgres-jit/ --with-llvm
> --enable-debug --enable-depend --enable-cassert

Seems you need to provide a decent C++ compiler (via CXX=... to
configure). Will test that it actually works with a recent clang.

Greetings,

Andres Freund


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: non-bulk inserts and tuple routing
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAP support