Skip to content

Commit

Permalink
vstrt/trtexec/CMakeLists.txt, trtexec.manifest: build long-path-aware…
Browse files Browse the repository at this point in the history
… trtexec

Signed-off-by: akarin <[email protected]>
  • Loading branch information
AkarinVS authored and WolframRhodium committed Apr 24, 2024
1 parent b84f47d commit e839321
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/windows-trt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
mv trtexec/CMakeLists.txt ../tensorrt-oss/samples/trtexec
mv trtexec/*.cpp ../tensorrt-oss/samples/trtexec
mv trtexec/*.manifest ../tensorrt-oss/samples/trtexec
- name: Configure trtexec
run: cmake -S ../tensorrt-oss/samples/trtexec -B build_trtexec -G Ninja
Expand Down
1 change: 1 addition & 0 deletions vstrt/trtexec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ set(TENSORRT_HOME "" CACHE PATH "Path to TensorRT")
find_package(CUDAToolkit REQUIRED)

add_executable(trtexec
$<$<PLATFORM_ID:Windows>: trtexec.manifest>
trtexec.cpp
logfile.cpp
../common/bfloat16.cpp
Expand Down
8 changes: 8 additions & 0 deletions vstrt/trtexec/trtexec.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
<ws2:longPathAware>true</ws2:longPathAware>
</windowsSettings>
</application>
</assembly>

0 comments on commit e839321

Please sign in to comment.