mirror of https://github.com/zulip/zulip.git
provision: Refactor handling of dependencies for building pgroonga.
This lets us leave build-pgroonga platform-agnostic.
This commit is contained in:
parent
5c20ee998c
commit
0ab8cd9ca3
|
@ -4,9 +4,6 @@ set -e
|
|||
|
||||
PGROONGA_VERSION="2.1.6"
|
||||
|
||||
# Currently only tested for Fedora systems.
|
||||
|
||||
yum install -y groonga-devel msgpack-devel
|
||||
cd "$(mktemp -d)"
|
||||
|
||||
wget https://packages.groonga.org/source/pgroonga/pgroonga-"$PGROONGA_VERSION".tar.gz
|
||||
|
|
|
@ -183,6 +183,9 @@ if vendor in ["Ubuntu", "Debian"]:
|
|||
pkg.format(POSTGRES_VERSION) for pkg in [
|
||||
"postgresql-{0}",
|
||||
"postgresql-server-dev-{0}",
|
||||
# Needed to build pgroonga from source
|
||||
"libgroonga-dev",
|
||||
"libmsgpack-dev",
|
||||
]
|
||||
]
|
||||
else:
|
||||
|
@ -209,6 +212,9 @@ elif vendor == "Fedora":
|
|||
"postgresql{0}-server",
|
||||
"postgresql{0}",
|
||||
"postgresql{0}-devel",
|
||||
# Needed to build pgroonga from source
|
||||
"groonga-devel",
|
||||
"msgpack-devel",
|
||||
]
|
||||
] + FEDORA_VENV_DEPENDENCIES
|
||||
BUILD_TSEARCH_FROM_SOURCE = True
|
||||
|
|
Loading…
Reference in New Issue