Detect LLVM 7 without specifying binaries explicitly

Enterprise / PostgreSQL - Andres Freund [anarazel.de] - 13 September 2018 17:42 EDT

Before this commit LLVM 7 was supported, but only if one explicitly provided LLVM_CONFIG= and CLANG= paths. As LLVM 7 is the first
version that includes our upstreamed debugging and profiling features, and as debian is planning to default to 7 due to wider architecture support, it seems good to support auto-detecting that version.

Author: Christoph Berg Discussion: https://postgr.es/m/20180912124517.GD24584@msg.df7cb.de Backpatch: 11, where LLVM was introduced

240d40db88 Detect LLVM 7 without specifying binaries explicitly.
config/llvm.m4 | 4 ++--
configure | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

Upstream: git.postgresql.org


  • Share