Re: pg_bsd_indent compiles bytecode

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pg_bsd_indent compiles bytecode
Дата
Msg-id 20200629074858.GB330401@paquier.xyz
обсуждение исходный текст
Ответ на Re: pg_bsd_indent compiles bytecode  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Jun 27, 2020 at 06:54:04PM -0400, Tom Lane wrote:
> Having now checked, there isn't any such problem.  No .bc files are
> getting built except in src/backend and in other modules that feed
> into the backend, such as src/timezone and most of contrib.
>
> I do see .bc files getting built for pg_bsd_indent, as Alvaro reported.
> Seems like it must be a bug in the pgxs make logic, not anything more
> generic.

Yeah, and I think that it is caused by the following bit:
ifeq ($(with_llvm), yes)
all: $(addsuffix .bc, $(MODULES)) $(patsubst %.o,%.bc, $(OBJS))
endif

Shouldn't the latter part be ignored if PROGRAM is used?
--
Michael

Вложения

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

Предыдущее
От: "Andrey V. Lepikhov"
Дата:
Сообщение: Re: POC and rebased patch for CSN based snapshots
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: TAP tests and symlinks on Windows