]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
jit: configure: Explicitly reference 'native' component.
authorAndres Freund <andres@anarazel.de>
Tue, 8 Dec 2020 02:12:23 +0000 (18:12 -0800)
committerAndres Freund <andres@anarazel.de>
Tue, 8 Dec 2020 02:40:27 +0000 (18:40 -0800)
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 <coelho@cri.ensmp.fr>
Reported-By: Andres Freund <andres@anarazel.de>
Reported-By: Thomas Munro <thomas.munro@gmail.com>
Author: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20201201064949.mex6kvi2kygby3ni@alap3.anarazel.de
Backpatch: 11-, where jit support was added

config/llvm.m4
configure

index c1e4bb1375a2a6273cc8758e78c0b4ad9539cc1d..d5ddee3e6df09a814776c8c103207fa98a6c4c68 100644 (file)
@@ -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;
index 04f07ca869437b3e0d65e4c3c02aba448f061b1a..95f07fc785cda69e81b4f9ca3eee825182851b71 100755 (executable)
--- 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;