Skip to content

Commit

Permalink
vstrt: fix long path support on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframRhodium committed Apr 27, 2024
1 parent 4c4616a commit 4548734
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions vstrt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ set(TENSORRT_LIBRARY_SUFFIX "" CACHE STRING "TensorRT library suffix")
FIND_PACKAGE(CUDAToolkit REQUIRED)

add_library(vstrt SHARED
$<$<PLATFORM_ID:Windows>: longpath.manifest>
vs_tensorrt.cpp
win32.cpp
)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion vstrt/trtexec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(TENSORRT_LIBRARY_SUFFIX "" CACHE STRING "TensorRT library suffix")
find_package(CUDAToolkit REQUIRED)

add_executable(trtexec
$<$<PLATFORM_ID:Windows>: trtexec.manifest>
$<$<PLATFORM_ID:Windows>: ../longpath.manifest>
trtexec.cpp
logfile.cpp
../common/bfloat16.cpp
Expand Down

0 comments on commit 4548734

Please sign in to comment.