NVIDIA / TensorRT

NVIDIA® TensorRT™ is an SDK for high-performance deep learning inference on NVIDIA GPUs. This repository contains the open source components of TensorRT.
https://developer.nvidia.com/tensorrt
Apache License 2.0
10.56k stars 2.1k forks source link

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

Open jlewi opened 1 month ago

jlewi commented 1 month ago

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

lix19937 commented 4 weeks ago

Yes.