Skip to content

Commit 347e50f

Browse files
authored
Add local build instructions (#498)
1 parent 9136170 commit 347e50f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,15 @@ Current supported ONNX operators are found in the [operator support matrix](oper
4343

4444
### Building
4545

46-
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.
46+
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.
4747

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

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

5156
## Executable usage
5257

0 commit comments

Comments
 (0)