Bug in build script for python - There is no TENSORRT_LIBPATH variable it should TENSORRT_BUILDDIR
Open
@kevinch-nv is already working on this.
Since Feb 11, 2025.
Module:OSS Build
triaged
- Dominant language
- C++
- Stars
- 13.4k
- Forks
- 2.4k
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 2
Description
Description
I think there is a bug in the build script for the python module.
It is defining a variable TENSORRT_LIBPATH
https://github.com/NVIDIA/TensorRT/blob/c5b9de37f7ef9034e2efc621c664145c7c12436e/python/build.sh#L39
That variable doesn't appear to be used anywhere in the repository or the CMakefile.
Should it be TENSORRT_BUILD which is referenced here in the CMakeLists.txt and used to set the linking directories
https://github.com/NVIDIA/TensorRT/blob/c5b9de37f7ef9034e2efc621c664145c7c12436e/python/CMakeLists.txt#L114
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.