🌐 AI搜索 & 代理 主页
Skip to content

Commit f5d0708

Browse files
committed
headerscheck: Document that --with-llvm is required
We already documented that other --with-* options are required for a successful run. It turns out --with-llvm is also required. Suggested-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/1127775.1754417387%40sss.pgh.pa.us
1 parent da04133 commit f5d0708

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

src/tools/pginclude/README

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,12 @@ and are skipped by the headerscheck script.
5555

5656
The easy way to run the script is to say "make -s headerscheck" in
5757
the top-level build directory after completing a build. You should
58-
have included "--with-perl --with-python" in your configure options,
59-
else you're likely to get errors about related headers not being found.
58+
have included at least
59+
60+
--with-llvm --with-perl --with-python
61+
62+
in your configure options, else you're likely to get errors about
63+
related headers not being found.
6064

6165
A limitation of the current script is that it doesn't know exactly which
6266
headers are for frontend or backend; when in doubt it uses postgres.h as
@@ -78,8 +82,12 @@ and are skipped by the script in the --cplusplus mode.
7882

7983
The easy way to run the script is to say "make -s cpluspluscheck" in
8084
the top-level build directory after completing a build. You should
81-
have included "--with-perl --with-python" in your configure options,
82-
else you're likely to get errors about related headers not being found.
85+
have included at least
86+
87+
--with-llvm --with-perl --with-python
88+
89+
in your configure options, else you're likely to get errors about
90+
related headers not being found.
8391

8492
If you are using a non-g++-compatible C++ compiler, you may need to
8593
override the script's CXXFLAGS setting by setting a suitable environment

0 commit comments

Comments
 (0)