git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 947789f)
jit: configure: Explicitly reference 'native' component.
Tue, 8 Dec 2020 02:12:23 +0000 (18:12 -0800)
Tue, 8 Dec 2020 03:34:13 +0000 (19:34 -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


diff --git a/config/llvm.m4 b/config/llvm.m4
index a5f4a9af4485675d3bfac8cacae2745bb6b9385a..3a75cd8b4dfe9fcc8df655cd06fdc14a36669244 100644 (file)
--- 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 ffcd0c5b1d4d8f3249b9c63906bdb54dba75f89a..2a03ed0a01823fd109766a056133a5d5354d62c3 100755 (executable)
--- 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;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /