jit: configure: Explicitly reference 'native' component.
authorAndres Freund
Tue, 8 Dec 2020 02:12:23 +0000 (18:12 -0800)
committerAndres Freund
Tue, 8 Dec 2020 02:32:56 +0000 (18:32 -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
Reported-By: Andres Freund
Reported-By: Thomas Munro
Author: Andres Freund 
Discussion: https://postgr.es/m/20201201064949[email protected]
Backpatch: 11-, where jit support was added

config/llvm.m4
configure

index a5f4a9af4485675d3bfac8cacae2745bb6b9385a..3a75cd8b4dfe9fcc8df655cd06fdc14a36669244 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 9ce1dcb890dddfde16e3897885ae08478b6e533b..d372c60d9deb69abd80ab225644d7f6bba0e740c 100755 (executable)
--- a/configure
+++ b/configure
@@ -5167,6 +5167,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;