mirror of https://github.com/zulip/zulip.git
build-pgroonga: Update PGroonga to 2.3.6.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
e8e0b045fc
commit
080a806d60
|
@ -1,14 +1,17 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -x
|
set -euxo pipefail
|
||||||
set -e
|
|
||||||
|
|
||||||
PGROONGA_VERSION="2.2.8"
|
version="2.3.6"
|
||||||
|
sha256=fc68a66a216e304bb0e2ef627f767fff528f4fbf2bbda27e8cd8db1b7ba090b0
|
||||||
|
|
||||||
cd "$(mktemp -d)"
|
tmpdir="$(mktemp -d)"
|
||||||
|
trap 'rm -r "$tmpdir"' EXIT
|
||||||
|
cd "$tmpdir"
|
||||||
|
tarball="pgroonga-$version.tar.gz"
|
||||||
|
curl -fLO "https://packages.groonga.org/source/pgroonga/$tarball"
|
||||||
|
sha256sum -c <<<"$sha256 $tarball"
|
||||||
|
tar -xzf "$tarball"
|
||||||
|
cd "pgroonga-$version"
|
||||||
|
|
||||||
curl -fLO https://packages.groonga.org/source/pgroonga/pgroonga-"$PGROONGA_VERSION".tar.gz
|
make -j "$(nproc)" HAVE_MSGPACK=1
|
||||||
tar xf pgroonga-"$PGROONGA_VERSION".tar.gz
|
|
||||||
cd pgroonga-"$PGROONGA_VERSION"
|
|
||||||
|
|
||||||
make HAVE_MSGPACK=1
|
|
||||||
make install
|
make install
|
||||||
|
|
|
@ -174,8 +174,7 @@ if vendor == "debian" and os_version in [] or vendor == "ubuntu" and os_version
|
||||||
f"postgresql-server-dev-{POSTGRESQL_VERSION}",
|
f"postgresql-server-dev-{POSTGRESQL_VERSION}",
|
||||||
"libgroonga-dev",
|
"libgroonga-dev",
|
||||||
"libmsgpack-dev",
|
"libmsgpack-dev",
|
||||||
"clang-9",
|
"clang",
|
||||||
"llvm-9-dev",
|
|
||||||
*VENV_DEPENDENCIES,
|
*VENV_DEPENDENCIES,
|
||||||
]
|
]
|
||||||
elif "debian" in os_families():
|
elif "debian" in os_families():
|
||||||
|
|
Loading…
Reference in New Issue