mirror of
https://github.com/mudler/LocalAI
synced 2026-04-29 09:17:16 +00:00
18 lines
379 B
Bash
18 lines
379 B
Bash
|
|
#!/bin/bash
|
||
|
|
set -e
|
||
|
|
|
||
|
|
EXTRA_PIP_INSTALL_FLAGS="--no-build-isolation"
|
||
|
|
|
||
|
|
backend_dir=$(dirname $0)
|
||
|
|
if [ -d $backend_dir/common ]; then
|
||
|
|
source $backend_dir/common/libbackend.sh
|
||
|
|
else
|
||
|
|
source $backend_dir/../common/libbackend.sh
|
||
|
|
fi
|
||
|
|
|
||
|
|
if [ "x${BUILD_PROFILE}" == "xintel" ]; then
|
||
|
|
EXTRA_PIP_INSTALL_FLAGS+=" --upgrade --index-strategy=unsafe-first-match"
|
||
|
|
fi
|
||
|
|
|
||
|
|
installRequirements
|