mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-10 00:03:24 +00:00
core: commands: make 'install_xapian' way faster
This commit is contained in:
parent
99a25d5e9b
commit
d1c88a5cef
@ -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