Skip to content

Commit 0c7ec3b

Browse files
committed
doc: remove llvm-config search from configure documentation
As of 4dd29b6, we no longer attempt to locate any other llvm-config variant than plain llvm-config in configure-based builds; update the documentation accordingly. (For Meson-based builds, we still use Meson's LLVMDependencyConfigTool [0], which runs through a set of possible suffixes [1], so no need to update the documentation there.) [0]: https://github.com/mesonbuild/meson/blob/7d28ff29396f9d7043204de8ddc52226b9903811/mesonbuild/dependencies/dev.py#L184 [1]: https://github.com/mesonbuild/meson/blob/7d28ff29396f9d7043204de8ddc52226b9903811/mesonbuild/environment.py#L183 Author: Ole Peder Brandtzæg <olebra@samfundet.no> Discussion: https://www.postgresql.org/message-id/20240518224601.gtisttjerylukjr5%40samfundet.no
1 parent 915aafe commit 0c7ec3b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

doc/src/sgml/installation.sgml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -941,12 +941,10 @@ build-postgresql:
941941
<para>
942942
<command>llvm-config</command><indexterm><primary>llvm-config</primary></indexterm>
943943
will be used to find the required compilation options.
944-
<command>llvm-config</command>, and then
945-
<command>llvm-config-$major-$minor</command> for all supported
946-
versions, will be searched for in your <envar>PATH</envar>. If
947-
that would not yield the desired program,
948-
use <envar>LLVM_CONFIG</envar> to specify a path to the
949-
correct <command>llvm-config</command>. For example
944+
<command>llvm-config</command> will be searched for in your
945+
<envar>PATH</envar>. If that would not yield the desired program,
946+
use <envar>LLVM_CONFIG</envar> to specify a path to the correct
947+
<command>llvm-config</command>. For example
950948
<programlisting>
951949
./configure ... --with-llvm LLVM_CONFIG='/path/to/llvm/bin/llvm-config'
952950
</programlisting>

0 commit comments

Comments
 (0)