mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
update
This commit is contained in:
parent
4f9a34dd50
commit
db2d590a3e
2 changed files with 12 additions and 11 deletions
|
|
@ -10,6 +10,7 @@ BUILD_ARGS=('--config'
|
|||
'--skip_submodule_sync'
|
||||
'--build_shared_lib'
|
||||
'--parallel'
|
||||
'--use_vcpkg'
|
||||
'--use_binskim_compliant_compile_flags'
|
||||
'--build_wheel'
|
||||
'--enable_onnx_tests'
|
||||
|
|
|
|||
|
|
@ -7,20 +7,20 @@ SHORT_CUDA_VERSION=$(echo $CUDA_VERSION | sed 's/\([[:digit:]]\+\.[[:digit:]]\
|
|||
BUILD_ARGS=('--config' 'Release'
|
||||
'--skip_submodule_sync'
|
||||
'--build_shared_lib'
|
||||
'--parallel' '--use_binskim_compliant_compile_flags'
|
||||
'--parallel' '--use_vcpkg' '--use_binskim_compliant_compile_flags'
|
||||
'--build_wheel'
|
||||
'--enable_onnx_tests'
|
||||
'--use_cuda'
|
||||
"--cuda_version=$SHORT_CUDA_VERSION"
|
||||
"--cuda_home=/usr/local/cuda-$SHORT_CUDA_VERSION"
|
||||
"--cudnn_home=/usr/local/cuda-$SHORT_CUDA_VERSION"
|
||||
"--use_tensorrt" "--tensorrt_home" "/usr"
|
||||
'--use_cuda'
|
||||
"--cuda_version=$SHORT_CUDA_VERSION"
|
||||
"--cuda_home=/usr/local/cuda-$SHORT_CUDA_VERSION"
|
||||
"--cudnn_home=/usr/local/cuda-$SHORT_CUDA_VERSION"
|
||||
"--use_tensorrt" "--tensorrt_home" "/usr"
|
||||
"--enable_pybind"
|
||||
"--build_java"
|
||||
"--build_java"
|
||||
"--cmake_extra_defines"
|
||||
"CMAKE_CUDA_ARCHITECTURES=75"
|
||||
"onnxruntime_BUILD_UNIT_TESTS=ON"
|
||||
"onnxruntime_ENABLE_CUDA_EP_INTERNAL_TESTS=ON")
|
||||
"CMAKE_CUDA_ARCHITECTURES=75"
|
||||
"onnxruntime_BUILD_UNIT_TESTS=ON"
|
||||
"onnxruntime_ENABLE_CUDA_EP_INTERNAL_TESTS=ON")
|
||||
|
||||
# Parse external args
|
||||
for arg in "$@"; do
|
||||
|
|
@ -53,7 +53,7 @@ if [ -f /opt/python/cp312-cp312/bin/python3 ]; then
|
|||
else
|
||||
python3 tools/ci_build/build.py "${BUILD_ARGS[@]}"
|
||||
fi
|
||||
if [ -x "$(command -v ccache)" ]; then
|
||||
if [ -x "$(command -v ccache)" ]; then
|
||||
ccache -sv
|
||||
ccache -z
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue