Typo fixes, also LDFLAGS addition

Rohit Goswami
2022-02-28 04:58:57 +00:00
parent ee451b5139
commit 0850c2073b

@ -60,6 +60,8 @@ Set more environment variables in your .envrc file:
export USE_CUDA=0 export USE_CUDA=0
# Only if you're building with ccache. # Only if you're building with ccache.
PATH_add /usr/lib/ccache PATH_add /usr/lib/ccache
# Needed for older compilers or conda compilers
export LDFLAGS='-lrt'
# Build with debug symbols. # Build with debug symbols.
export DEBUG=1 export DEBUG=1
``` ```
@ -123,7 +125,7 @@ python test/onnx/test_pytorch_onnx_onnxruntime.py TestONNXRuntime.test_arithmeti
And this should fail: And this should fail:
```sh ```sh
echo "assert False >> torch/onnx/utils.py" echo "assert False" >> torch/onnx/utils.py
python test/onnx/test_pytorch_onnx_onnxruntime.py TestONNXRuntime.test_arithmetic_prim_long python test/onnx/test_pytorch_onnx_onnxruntime.py TestONNXRuntime.test_arithmetic_prim_long
git restore torch/onnx/utils.py git restore torch/onnx/utils.py
``` ```