From 616f70a209c74cfc178dbe5af24abd2566972eb0 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Thu, 6 Feb 2025 16:58:22 -0800 Subject: [PATCH] update --- tools/ci_build/build.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/ci_build/build.py b/tools/ci_build/build.py index 6fc5510e9d..078f84fc7e 100644 --- a/tools/ci_build/build.py +++ b/tools/ci_build/build.py @@ -986,6 +986,7 @@ def number_of_nvcc_threads(args): # See https://learn.microsoft.com/en-us/vcpkg/commands/install def generate_vcpkg_install_options(source_dir, args): + # NOTE: each option string should not contain any whitespace. vcpkg_install_options = ["--x-feature=tests"] if args.use_acl: vcpkg_install_options.append("--x-feature=acl-ep") @@ -1076,9 +1077,9 @@ def generate_vcpkg_install_options(source_dir, args): "--x-asset-sources=x-azurl,https://vcpkg.storage.devpackages.microsoft.io/artifacts/\\;x-block-origin" ) if SYSTEM_COLLECTIONURI == "https://dev.azure.com/onnxruntime/": - vcpkg_install_options.append(" --binarysource=x-az-universal,onnxruntime,onnxruntime,onnxruntime,rw") + vcpkg_install_options.append("--binarysource=x-az-universal,onnxruntime,onnxruntime,onnxruntime,rw") elif SYSTEM_COLLECTIONURI == "https://dev.azure.com/aiinfra/" or SYSTEM_COLLECTIONURI == "https://aiinfra.visualstudio.com/": - vcpkg_install_options.append(" --binarysource=x-az-universal,aiinfra,Lotus,Lotus,rw") + vcpkg_install_options.append("--binarysource=x-az-universal,aiinfra,Lotus,Lotus,rw") # Config binary cache return vcpkg_install_options