Re: Fix compilation failure against LLVM 11

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Fix compilation failure against LLVM 11
Дата
Msg-id 20200427062147.GE11369@paquier.xyz
обсуждение исходный текст
Ответ на Fix compilation failure against LLVM 11  (Jesse Zhang <sbjesse@gmail.com>)
Ответы Re: Fix compilation failure against LLVM 11
Список pgsql-hackers
On Sat, Apr 25, 2020 at 09:41:20PM -0700, Jesse Zhang wrote:
> I searched my inbox and the archive, strange that nobody else is seeing
> this.
>
> Turns out that LLVM has recently removed "llvm/IR/CallSite.h" in
> (unreleased) version 11 [1][2]. To fix the build I tried conditionally
> (on LLVM_VERSION_MAJOR < 11) including CallSite.h, but that looks yuck.
> Then I poked at llvmjit_inline.cpp a bit and found that CallSite.h
> doesn't seem to be really necessary. PFA a patch that simply removes
> this #include.
>
> In addition, I've done the due dilligence of trying to build against
> LLVM versions 8, 9, 10.

LLVM 11 has not been released yet.  Do you think that this part or
even more are subject to change before the 11 release?  My take would
be to wait more before fixing this issue and make sure that our code
is fixed when their code is GA'd.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: WAL usage calculation patch
Следующее
От: Hamid Akhtar
Дата:
Сообщение: Re: Improving psql slash usage help message