mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-10 17:37:14 +00:00
Add tensorrt_provider_factory.h to artifact (#8869)
This commit is contained in:
parent
7e53a1df6f
commit
6a477acecf
3 changed files with 6 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ steps:
|
|||
copy $(Build.SourcesDirectory)\include\onnxruntime\core\session\onnxruntime_*.h $(Build.BinariesDirectory)\${{parameters.artifactName}}\include
|
||||
copy $(Build.SourcesDirectory)\include\onnxruntime\core\framework\provider_options.h $(Build.BinariesDirectory)\${{parameters.artifactName}}\include
|
||||
copy $(Build.SourcesDirectory)\include\onnxruntime\core\providers\cpu\cpu_provider_factory.h $(Build.BinariesDirectory)\${{parameters.artifactName}}\include
|
||||
copy $(Build.SourcesDirectory)\include\onnxruntime\core\providers\tensorrt\tensorrt_provider_factory.h $(Build.BinariesDirectory)\${{parameters.artifactName}}\include
|
||||
|
||||
REM copy the README, licence and TPN
|
||||
copy $(Build.SourcesDirectory)\README.md $(Build.BinariesDirectory)\${{parameters.artifactName}}\README.md
|
||||
|
|
|
|||
|
|
@ -28,3 +28,4 @@ rm $ARTIFACT_DIR/onnxruntime-linux-x64-cuda-*.tgz
|
|||
cp onnxruntime-linux-x64-tensorrt/*/lib/libonnxruntime.so* onnxruntime-linux-x64-gpu/*/lib
|
||||
cp onnxruntime-linux-x64-tensorrt/*/lib/libonnxruntime_providers_tensorrt.so onnxruntime-linux-x64-gpu/*/lib
|
||||
cp onnxruntime-linux-x64-tensorrt/*/lib/libonnxruntime_providers_shared.so onnxruntime-linux-x64-gpu/*/lib
|
||||
cp onnxruntime-linux-x64-tensorrt/*/include/*tensorrt* onnxruntime-linux-x64-gpu/*/include
|
||||
|
|
|
|||
|
|
@ -19,5 +19,9 @@ FOR /R %%i IN (*.nupkg) do (
|
|||
move onnxruntime-win-x64-tensorrt\lib\onnxruntime.lib runtimes\win-x64\native\onnxruntime.lib
|
||||
move onnxruntime-win-x64-tensorrt\lib\onnxruntime.pdb runtimes\win-x64\native\onnxruntime.pdb
|
||||
7z a %%~ni.nupkg runtimes
|
||||
|
||||
mkdir build\native\include
|
||||
move onnxruntime-linux-x64-tensorrt\include\tensorrt_provider_factory.h build\native\include\tensorrt_provider_factory.h
|
||||
7z a %%~ni.nupkg build
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue