mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 19:43:47 +00:00
provision: Add build-pgroonga and use it for Fedora.
This commit is contained in:
17
scripts/lib/build-pgroonga
Executable file
17
scripts/lib/build-pgroonga
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
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
|
||||
tar xvf pgroonga-"$PGROONGA_VERSION".tar.gz
|
||||
cd pgroonga-"$PGROONGA_VERSION"
|
||||
|
||||
make HAVE_MSGPACK=1
|
||||
make install
|
||||
Reference in New Issue
Block a user