onnxruntime/tools/ci_build
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
..
github Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
requirements Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
__init__.py
amd_hipify.py [MigraphX EP] [ROCm EP] Upstream ROCm changes for bugfixes and features (#23249) 2025-01-15 12:57:04 -08:00
build.py Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
compile_triton.py Use ruff as the formatter to replace black-isort (#23397) 2025-01-16 11:14:15 -08:00
coverage.py
gen_def.py Bump ruff from 0.5.4 to 0.9.1 (#23328) 2025-01-15 11:11:17 -08:00
get_docker_image.py Change docker buildx's driver to default (#23388) 2025-01-16 09:38:34 -08:00
hipify-perl [MigraphX EP] [ROCm EP] Upstream ROCm changes for bugfixes and features (#23249) 2025-01-15 12:57:04 -08:00
logger.py
op_registration_utils.py Enable comprehension simplification in ruff rules (#23414) 2025-01-17 08:43:06 -08:00
op_registration_validator.py Target py310 and modernize codebase with ruff (#23401) 2025-01-16 19:10:14 -08:00
patch_manylinux.py Target py310 and modernize codebase with ruff (#23401) 2025-01-16 19:10:14 -08:00
policheck_exclusions.xml
reduce_op_kernels.py Enable comprehension simplification in ruff rules (#23414) 2025-01-17 08:43:06 -08:00
set-trigger-rules.py Target py310 and modernize codebase with ruff (#23401) 2025-01-16 19:10:14 -08:00
update_tsaoptions.py Target py310 and modernize codebase with ruff (#23401) 2025-01-16 19:10:14 -08:00
upload_python_package_to_azure_storage.py Target py310 and modernize codebase with ruff (#23401) 2025-01-16 19:10:14 -08:00