mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-24 08:30:56 +01:00
13 lines
369 B
Bash
13 lines
369 B
Bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
|
. "$DIR/prelude.sh"
|
|
|
|
cd src
|
|
|
|
activate_venv
|
|
if [ "Windows_NT" = "$OS" ]; then
|
|
vcvars="$(vswhere -latest -property installationPath | tr '\\' '/' | dos2unix.exe)/VC/Auxiliary/Build/"
|
|
cd "$vcvars" && cmd /K "vcvarsall.bat amd64 && cd ${workdir}\src"
|
|
fi
|
|
python -m pip install ninja
|
|
ninja install-core
|