summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund2020-12-08 02:12:23 +0000
committerAndres Freund2020-12-08 03:34:13 +0000
commit9543f0861b1d9b566be88edae21f24fb1377f45c (patch)
treeee3c136695912f41105e928b65d228b3f051047e
parent947789f1f5fb61daf663f26325cbe7cad8197d58 (diff)
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 <[email protected]> Reported-By: Andres Freund <[email protected]> Reported-By: Thomas Munro <[email protected]> Author: Andres Freund <[email protected]> Discussion: https://postgr.es/m/[email protected] 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 a5f4a9af44..3a75cd8b4d 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 ffcd0c5b1d..2a03ed0a01 100755
--- a/configure
+++ b/configure
@@ -5168,6 +5168,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;