mirror of https://github.com/llvm/torch-mlir
Add env var to enable experimental numpy array function handling.
parent
0092b912ab
commit
497f1de5a2
|
@ -25,6 +25,7 @@ fi
|
|||
# Write a .env file for python tooling.
|
||||
echo "Updating $td/.env file"
|
||||
echo "PYTHONPATH=\"$(realpath "$build_dir/python_native"):$(realpath "$build_dir/python")\"" > "$td/.env"
|
||||
echo "NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=1" >> "$td/.env"
|
||||
|
||||
set -x
|
||||
cmake -GNinja \
|
||||
|
|
Loading…
Reference in New Issue