Merge pull request #817 from ae-utbm/skia/faster_install_xapian

Faster install xapian
This commit is contained in:
thomas girod 2024-09-09 15:37:12 +02:00 committed by GitHub
commit 5b427bee35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"