NVIDIA / NVIDIA/TensorRT

Bug in build script for python - There is no TENSORRT_LIBPATH variable it should TENSORRT_BUILDDIR

Open
#4,083 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.