mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
* Merge CPU/GPU nuget pipeline * Include TensorRT EP libraries into existing GPU nuget package pipeline * modify to use correct YAML * Modify for test * modify for test * Add depedance * Add depedance (cont.) * modify for test * Add create TensorRT nuget package * modify for test * modify for test * Merge CPU/GPU nuget pipeline * Include TensorRT EP libraries into existing GPU nuget package pipeline * modify to use correct YAML * Modify for test * modify for test * Add depedance * Add depedance (cont.) * modify for test * Add create TensorRT nuget package * modify for test * fix merge bug * code refactor * code refactor * modify for test * modify for test * modify for test * modify for test * modify for test * modify for test * cleanup * modify for test * fix bug * modify for test * refactor * fix bug and test * Modify for test * Modify for test * Modify for test * Modify for test * Prepare for PR * Prepare for PR * code refacotr from review * Remove naming 'Microsoft.ML.OnnxRuntime.TensorRT' to avoid confusion * Add linux TensorRT libraries * Remove redundant variable in YMAL * revert file * undo revert file * Modify regular expression so that it can capture the correct file * Remove newline at end of file * small fix * Revert to CUDA11.1 on Windows * Add unit tests for nuget package on Linux Co-authored-by: Changming Sun <chasun@microsoft.com>
22 lines
No EOL
1.4 KiB
Batchfile
22 lines
No EOL
1.4 KiB
Batchfile
REM Copyright (c) Microsoft Corporation. All rights reserved.
|
|
REM Licensed under the MIT License.
|
|
|
|
REM for available runtime identifiers, see https://github.com/dotnet/corefx/blob/release/3.1/pkg/Microsoft.NETCore.Platforms/runtime.json
|
|
set PATH=%CD%;%PATH%
|
|
SETLOCAL EnableDelayedExpansion
|
|
FOR /R %%i IN (*.nupkg) do (
|
|
set filename=%%~ni
|
|
IF NOT "!filename:~25,7!"=="Managed" (
|
|
mkdir runtimes\linux-x64\native
|
|
move onnxruntime-linux-x64-gpu\lib\libonnxruntime_providers_* runtimes\linux-x64\native
|
|
move onnxruntime-linux-x64-gpu-tensorrt\lib\libonnxruntime.so.1* runtimes\linux-x64\native\libonnxruntime.so
|
|
move onnxruntime-linux-x64-gpu-tensorrt\lib\libonnxruntime_providers_shared.so runtimes\linux-x64\native\libonnxruntime_providers_shared.so
|
|
move onnxruntime-linux-x64-gpu-tensorrt\lib\libonnxruntime_providers_tensorrt.so runtimes\linux-x64\native\libonnxruntime_providers_tensorrt.so
|
|
mkdir runtimes\win-x64\native
|
|
move onnxruntime-win-tensorrt-x64\lib\onnxruntime_providers_tensorrt.dll runtimes\win-x64\native\onnxruntime_providers_tensorrt.dll
|
|
move onnxruntime-win-tensorrt-x64\lib\onnxruntime.dll runtimes\win-x64\native\onnxruntime.dll
|
|
move onnxruntime-win-tensorrt-x64\lib\onnxruntime.lib runtimes\win-x64\native\onnxruntime.lib
|
|
move onnxruntime-win-tensorrt-x64\lib\onnxruntime.pdb runtimes\win-x64\native\onnxruntime.pdb
|
|
7z a %%~ni.nupkg runtimes
|
|
)
|
|
) |