Skip to content

Commit

Permalink
Add local build instructions (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinch-nv authored Jul 9, 2020
1 parent 9136170 commit 347e50f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,15 @@ Current supported ONNX operators are found in the [operator support matrix](oper

### Building

For building on master, we recommend following the instructions on the [master branch of TensorRT](https://github.com/NVIDIA/TensorRT/) as there are new dependencies that were introduced to support these new features.
For building on master, we recommend following the instructions on the [master branch of TensorRT](https://github.com/NVIDIA/TensorRT/) to take advatange of the latest plugin code required for importing certain operators.

To build on older branches refer to their respective READMEs.
To build only the ONNX-TensorRT parser, follow the following steps:

cd onnx-tensorrt
mkdir build && cd build
cmake .. -DTENSORRT_ROOT=<path_to_trt> && make -j
// Ensure that you update your LD_LIBRARY_PATH to pick up the location of the newly built library:
export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH

## Executable usage

Expand Down

0 comments on commit 347e50f

Please sign in to comment.