postgresql/src/backend/jit/llvm
Tom Lane 3b8f6e75f3 Fix partial-build problems introduced by having more generated headers.
Commit 372728b0d created some problems for usages like building a
subdirectory without having first done "make all" at the top level,
or for proceeding directly to "make install" without "make all".
The only reasonably clean way to fix this seems to be to force the
submake-generated-headers rule to fire in *any* "make all" or "make
install" command anywhere in the tree.  To avoid lots of redundant work,
as well as parallel make jobs possibly clobbering each others' output, we
still need to be sure that the rule fires only once in a recursive build.
For that, adopt the same MAKELEVEL hack previously used for "temp-install".
But try to document it a bit better.

The submake-errcodes mechanism previously used in src/port/ and src/common/
is subsumed by this, so we can get rid of those special cases.  It was
inadequate for src/common/ anyway after the aforesaid commit, and it always
risked parallel attempts to build errcodes.h.

Discussion: https://postgr.es/m/E1f5FAB-0006LU-MB@gemulon.postgresql.org
2018-04-09 16:42:10 -04:00
..
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
llvmjit.c Add inlining support to LLVM JIT provider. 2018-03-28 13:19:08 -07:00
llvmjit_deform.c Quick adaption of JIT tuple deforming to the fast default patch. 2018-03-27 21:03:10 -07:00
llvmjit_error.cpp Correct some typos in the new JIT code. 2018-03-26 12:58:17 -07:00
llvmjit_expr.c Fix a boatload of typos in C comments. 2018-04-01 15:01:28 -04:00
llvmjit_inline.cpp Add inlining support to LLVM JIT provider. 2018-03-28 13:19:08 -07:00
llvmjit_types.c Quick adaption of JIT tuple deforming to the fast default patch. 2018-03-27 21:03:10 -07:00
llvmjit_wrap.cpp Add file containing extensions of the LLVM C API. 2018-03-21 19:44:17 -07:00