File size: 610 Bytes
66c9c8a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
set -e

SCRIPT_DIR=$(dirname ${BASH_SOURCE})
"$SCRIPT_DIR/../../../../repo.sh" build --fetch-only $@

PYTHON="$SCRIPT_DIR/../../../../_build/target-deps/python/python"

echo "Installing test dependencies"
#$PYTHON -m pip install matplotlib
#$PYTHON -m pip install usd-core
#$PYTHON -m pip install torch --extra-index-url https://download.pytorch.org/whl/cu113
#$PYTHON -m pip install "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

echo "Installing Warp to Python"
$PYTHON -m pip install -e "$SCRIPT_DIR/../../../../."

echo "Running tests"
$PYTHON -m warp.tests