Re: [PATCH] Skip llvm bytecode generation if LLVM is missing - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: [PATCH] Skip llvm bytecode generation if LLVM is missing
Date
Msg-id CAOBaU_YWbUMz6dh6L5AFunaid+V2ACJJ_zRZbc145ddKVmWV=Q@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Skip llvm bytecode generation if LLVM is missing  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: [PATCH] Skip llvm bytecode generation if LLVM is missing  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Le mer. 11 mars 2020 à 05:28, Laurenz Albe <laurenz.albe@cybertec.at> a écrit :
On Wed, 2020-03-11 at 11:25 +0800, Craig Ringer wrote:
> Short version: Currently if the server is built with --with-llvm the
> -devel packages must depend on clang for PGXS to work, even though
> llvm is otherwise optional. This is a particular problem on older
> platforms where 3rd party LLVM may be required to build the server's
> llvmjit support. Work around by skipping the default .bc generation if
> no clang is found by PGXS, as if $(with_llvm) was false.

+1

I have struggled with this, as have several users trying to build oracle_fdw.

+1, I had similar experience with other extensions. 

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Do we need to handle orphaned prepared transactions in the server?
Next
From: Pavel Stehule
Date:
Subject: Re: [PATCH] Skip llvm bytecode generation if LLVM is missing