onnxruntime/tools/ci_build/github/azure-pipelines
Changming Sun 5f6a3158f8
Enable VCPKG in CI build (#23426)
### Description
1. Enable VCPKG flag in Windows CPU CI build pipelines. 
2. Increased the min supported cmake version from 3.26 to 3.28. Because
of it, drop the support for the old way of finding python by
"find_package(PythonLibs)". Therefore, in build.py we no longer set
"PYTHON_EXECUTABLE" cmake var when doing cmake configure.
3. Added "xnnpack-ep" as a feature for ORT's vcpkg config.
4. Added asset cache support for ORT's vcpkg build
5. Added VCPKG triplet files for Android build.
6. Set VCPKG triplet to "universal2-osx" if CMAKE_OSX_ARCHITECTURES was
found in cmake extra defines.
7. Removed a small piece of code in build.py, which was for support CUDA
version < 11.8.
8. Fixed an issue that CMAKE_OSX_ARCHITECTURES sometimes got specified
twice when build.py invoked cmake.
9. Added more model tests to Android build. After this change, we will
test all ONNX versions instead of just the latest one.
10. Fixed issues that are related to build.py's "--build_nuget"
parameter. Also, enable the flag in most Windows CPU CI build jobs.
11. Removed a restriction in build.py that disallowed cross-compiling
Windows ARM64 nuget package on Windows x86.
 
### Motivation and Context
Adopt vcpkg.
2025-02-05 10:58:53 -08:00
..
nodejs/templates
nuget Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
stages Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
templates Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
triggers
android-arm64-v8a-QNN-crosscompile-ci-pipeline.yml
android-x86_64-crosscompile-ci-pipeline.yml
bigmodels-ci-pipeline.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
binary-size-checks-pipeline.yml
build-perf-test-binaries-pipeline.yml
c-api-noopenmp-packaging-pipelines.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
c-api-training-packaging-pipelines.yml
cuda-packaging-pipeline.yml
linux-ci-pipeline.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
linux-cpu-minimal-build-ci-pipeline.yml
linux-dnnl-ci-pipeline.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
linux-gpu-ci-pipeline.yml
linux-gpu-tensorrt-ci-pipeline.yml
linux-gpu-tensorrt-cuda-minimal-ci-pipeline.yml
linux-gpu-tensorrt-daily-perf-pipeline.yml
linux-migraphx-ci-pipeline.yml
linux-openvino-ci-pipeline.yml
linux-qnn-ci-pipeline.yml
linux-rocm-ci-pipeline.yml
mac-ci-pipeline.yml
mac-coreml-ci-pipeline.yml
mac-ios-ci-pipeline.yml
mac-ios-packaging-pipeline.yml
mac-react-native-ci-pipeline.yml
npm-packaging-pipeline.yml
nuget-cuda-publishing-pipeline.yml
nuget-windows-ai.yml
post-merge-jobs.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
publish-nuget.yml
py-cuda-alt-package-test-pipeline.yml
py-cuda-alt-packaging-pipeline.yml
py-cuda-package-test-pipeline.yml
py-cuda-packaging-pipeline.yml
py-cuda-publishing-pipeline.yml
py-dml-packaging-pipeline.yml
py-package-test-pipeline.yml
py-packaging-pipeline.yml
qnn-ep-nuget-packaging-pipeline.yml
rocm-nuget-packaging-pipeline.yml
rocm-publish-nuget-pipeline.yml
web-ci-pipeline.yml
win-ci-fuzz-testing.yml
win-ci-pipeline.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
win-gpu-cuda-ci-pipeline.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
win-gpu-dml-ci-pipeline.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
win-gpu-doc-gen-ci-pipeline.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
win-gpu-reduce-op-ci-pipeline.yml
win-gpu-tensorrt-ci-pipeline.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
win-gpu-tensorrt-cuda-minimal-ci-pipeline.yml
win-gpu-training-ci-pipeline.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
win-gpu-webgpu-ci-pipeline.yml
win-qnn-arm64-ci-pipeline.yml
win-qnn-ci-pipeline.yml