aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2020-12-07 18:12:23 -0800
committerAndres Freund <andres@anarazel.de>2020-12-07 18:32:56 -0800
commit4f64daf73af76cbf32a01c7cba1c3a6fccf3062a (patch)
tree8e1f7bad77fe68d5015a5b2e971a865d86816ad2
parent6a192c77d21b5eafc7f431cbf5e7ecdd6c8b5462 (diff)
downloadpostgresql-4f64daf73af76cbf32a01c7cba1c3a6fccf3062a.tar.gz
postgresql-4f64daf73af76cbf32a01c7cba1c3a6fccf3062a.zip
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 <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
-rw-r--r--config/llvm.m41
-rwxr-xr-xconfigure1
2 files changed, 2 insertions, 0 deletions
diff --git a/config/llvm.m4 b/config/llvm.m4
index a5f4a9af448..3a75cd8b4df 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 9ce1dcb890d..d372c60d9de 100755
--- 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;