mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-03 03:58:54 +00:00
format code
This commit is contained in:
parent
4a25755687
commit
f3f95a94b6
2 changed files with 13 additions and 2 deletions
|
|
@ -2773,7 +2773,17 @@ def main():
|
|||
args = parse_arguments()
|
||||
|
||||
print(args)
|
||||
|
||||
if args.build_wasm:
|
||||
# No custom triplet for the wasm builds yet
|
||||
args.use_vcpkg = False
|
||||
elif args.minimal_build is not None:
|
||||
# Minimal build uses a custom ONNX cmake file. Don't know how to deal with it yet
|
||||
args.use_vcpkg = False
|
||||
elif args.ios or args.macos == "Catalyst":
|
||||
args.use_vcpkg = False
|
||||
elif not args.use_vcpkg:
|
||||
sys.exit(1)
|
||||
|
||||
if os.getenv("ORT_BUILD_WITH_CACHE") == "1":
|
||||
args.use_cache = True
|
||||
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ stages:
|
|||
additionalBuildFlags: >-
|
||||
--build_nodejs
|
||||
--use_webgpu
|
||||
--use_vcpkg
|
||||
--cmake_extra_defines onnxruntime_BUILD_UNIT_TESTS=ON onnxruntime_BUILD_DAWN_MONOLITHIC_LIBRARY=ON
|
||||
msbuildPlatform: x64
|
||||
isX86: false
|
||||
|
|
@ -91,7 +92,7 @@ stages:
|
|||
Today: $(TODAY)
|
||||
CacheDir: $(ORT_CACHE_DIR)
|
||||
AdditionalKey: " $(System.StageName) | RelWithDebInfo "
|
||||
BuildPyArguments: '--config RelWithDebInfo --build_dir $(Build.BinariesDirectory) --skip_submodule_sync --update --parallel --cmake_generator "Visual Studio 17 2022" --use_webgpu --use_external_dawn --skip_tests --target onnxruntime_webgpu_external_dawn_test'
|
||||
BuildPyArguments: '--use_vcpkg --config RelWithDebInfo --build_dir $(Build.BinariesDirectory) --skip_submodule_sync --update --parallel --cmake_generator "Visual Studio 17 2022" --use_webgpu --use_external_dawn --skip_tests --target onnxruntime_webgpu_external_dawn_test'
|
||||
MsbuildArguments: '-maxcpucount'
|
||||
BuildArch: x64
|
||||
Platform: x64
|
||||
|
|
|
|||
Loading…
Reference in a new issue