We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5059c3b commit bd1a5a4Copy full SHA for bd1a5a4
test/cpp/run_tests.sh
@@ -47,6 +47,11 @@ if [[ "$TPUVM_MODE" != "1" ]]; then
47
export XLA_EXPERIMENTAL
48
fi
49
50
+# We need to configure the libtpu path to test on TPUVM
51
+if python -c "import libtpu" &> /dev/null; then
52
+ export TPU_LIBRARY_PATH=$(dirname $(python -c "import libtpu; print(libtpu.__file__)"))/libtpu.so
53
+fi
54
+
55
rm -rf "$BUILDDIR"
56
mkdir "$BUILDDIR" 2>/dev/null
57
pushd "$BUILDDIR"
0 commit comments