Skip to content

Commit

Permalink
Add bootstrap_venv.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
isherman committed Jan 17, 2023
1 parent 73af2e7 commit f324c98
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions bootstrap_venv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash -ex
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR
python3 -m venv venv
. venv/bin/activate
pip install -U pip
pip install -U wheel
pip install -U cmake ninja

mkdir -p build.venv
cd build.venv
cmake \
-DFARM_NG_DEV_BUILD=On \
-Dfarm_ng_INSTALL_PREFIX=$DIR/venv \
-G Ninja \
$DIR/farm_ng_cmake

ninja -v

0 comments on commit f324c98

Please sign in to comment.