Re: JIT compiling with LLVM v10.0

Поиск
Список
Период
Сортировка
От Andreas Karlsson
Тема Re: JIT compiling with LLVM v10.0
Дата
Msg-id 32c81639-ef7a-ad50-f4fd-d7ac7deb51a8@proxel.se
обсуждение исходный текст
Ответ на Re: JIT compiling with LLVM v10.0  (Andres Freund <andres@anarazel.de>)
Ответы Re: JIT compiling with LLVM v10.0
Список pgsql-hackers
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.

Error:

In file included from planner.c:32:0:
../../../../src/include/jit/llvmjit.h:13:10: fatal error: 
llvm-c/Types.h: No such file or directory
  #include <llvm-c/Types.h>
           ^~~~~~~~~~~~~~~~

Options:

./configure --prefix=/home/andreas/dev/postgresql-inst 
--enable-tap-tests --enable-cassert --enable-debug

I also noticed the following typo:

diff --git a/configure.in b/configure.in
index b035966c0a..b89c4a138a 100644
--- a/configure.in
+++ b/configure.in
@@ -499,7 +499,7 @@ fi
  if test "$enable_coverage" = yes; then
    if test "$GCC" = yes; then
      CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
-    CFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
+    CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
    else
      AC_MSG_ERROR([--enable-coverage is supported only when using GCC])
    fi

Andreas


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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: [HACKERS] More stats about skipped vacuums
Следующее
От: Etsuro Fujita
Дата:
Сообщение: Re: non-bulk inserts and tuple routing