From f4f924b3ed77ff8b3a6901a545e7c2943edcf9a1 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Mon, 7 Dec 2020 18:12:23 -0800 Subject: [PATCH] jit: configure: Explicitly reference 'native' component. Until recently 'native' was implicitly included via 'orcjit', but a change included in LLVM 11 (not yet released) removed a number of such indirect component references. Reported-By: Fabien COELHO Reported-By: Andres Freund Reported-By: Thomas Munro Author: Andres Freund Discussion: https://postgr.es/m/20201201064949.mex6kvi2kygby3ni@alap3.anarazel.de Backpatch: 11-, where jit support was added --- config/llvm.m4 | 1 + configure | 1 + 2 files changed, 2 insertions(+) diff --git a/config/llvm.m4 b/config/llvm.m4 index c1e4bb1375..d5ddee3e6d 100644 --- a/config/llvm.m4 +++ b/config/llvm.m4 @@ -76,6 +76,7 @@ AC_DEFUN([PGAC_LLVM_SUPPORT], debuginfodwarf) pgac_components="$pgac_components $pgac_component";; orcjit) pgac_components="$pgac_components $pgac_component";; passes) pgac_components="$pgac_components $pgac_component";; + native) pgac_components="$pgac_components $pgac_component";; perfjitevents) pgac_components="$pgac_components $pgac_component";; esac done; diff --git a/configure b/configure index 04f07ca869..95f07fc785 100755 --- a/configure +++ b/configure @@ -4994,6 +4994,7 @@ fi debuginfodwarf) pgac_components="$pgac_components $pgac_component";; orcjit) pgac_components="$pgac_components $pgac_component";; passes) pgac_components="$pgac_components $pgac_component";; + native) pgac_components="$pgac_components $pgac_component";; perfjitevents) pgac_components="$pgac_components $pgac_component";; esac done;