mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
Merge pull request #817 from ae-utbm/skia/faster_install_xapian
Faster install xapian
This commit is contained in:
commit
5b427bee35
@ -32,13 +32,13 @@ tar xf "${BINDINGS}.tar.xz"
|
|||||||
# install
|
# install
|
||||||
echo "Installing Xapian-core..."
|
echo "Installing Xapian-core..."
|
||||||
cd "$VIRTUAL_ENV/packages/${CORE}" || exit 1
|
cd "$VIRTUAL_ENV/packages/${CORE}" || exit 1
|
||||||
./configure --prefix="$VIRTUAL_ENV" && make && make install
|
./configure --prefix="$VIRTUAL_ENV" && make -j"$(nproc)" && make install
|
||||||
|
|
||||||
PYTHON_FLAG=--with-python3
|
PYTHON_FLAG=--with-python3
|
||||||
|
|
||||||
echo "Installing Xapian-bindings..."
|
echo "Installing Xapian-bindings..."
|
||||||
cd "$VIRTUAL_ENV/packages/${BINDINGS}" || exit 1
|
cd "$VIRTUAL_ENV/packages/${BINDINGS}" || exit 1
|
||||||
./configure --prefix="$VIRTUAL_ENV" $PYTHON_FLAG XAPIAN_CONFIG="$VIRTUAL_ENV/bin/xapian-config" && make && make install
|
./configure --prefix="$VIRTUAL_ENV" $PYTHON_FLAG XAPIAN_CONFIG="$VIRTUAL_ENV/bin/xapian-config" && make -j"$(nproc)" && make install
|
||||||
|
|
||||||
# clean
|
# clean
|
||||||
rm -rf "$VIRTUAL_ENV/packages"
|
rm -rf "$VIRTUAL_ENV/packages"
|
||||||
|
Loading…
Reference in New Issue
Block a user