Synchronize patch files, fix resource compiler invocations in some situations#23855
Synchronize patch files, fix resource compiler invocations in some situations#23855zwassall-gentuity wants to merge 5 commits intomicrosoft:mainfrom
Conversation
This introduces some extra changes to the vcpkg configuration that were in cmake/patches/onnx/onnx.patch but not cmake/vcpkg-ports/onnx/binskim.patch, but they should be good.
This introduces some extra changes to the non-vcpkg configuration that were in cmake/vcpkg-ports/protobuf/protobuf_cmake.patch but not cmake/patches/protobuf/protobuf_cmake.patch. I believe that the changes are all welcome; in particular, the new changes to CMakeLists.txt in the patch file (from protocolbuffers/protobuf#10293) fix resource compiler invocations in some situations, as was the case for me using clang-cl on Windows.
There was a problem hiding this comment.
This is the first of the 3 patch files for eigen3, all of which were unreferenced. I removed the files with the assumption that they are unnecessary, but if this is not correct, please let me know.
| HEAD_REF master | ||
| PATCHES | ||
| protobuf_cmake.patch | ||
| PATCHES ../../patches/protobuf/protobuf_cmake.patch |
There was a problem hiding this comment.
I'm unsure how to test that a reference like this works as intended. Is there some CI step that will execute this and verify its validity?
|
@microsoft-github-policy-service agree company="Gentuity" |
|
/azp run Big Models, Linux Android Emulator QNN CI Pipeline, Linux CPU CI Pipeline, Linux CPU Minimal Build E2E CI Pipeline, Linux GPU CI Pipeline, Linux GPU TensorRT CI Pipeline, Linux OpenVINO CI Pipeline |
|
/azp run Linux QNN CI Pipeline, MacOS CI Pipeline, ONNX Runtime Web CI Pipeline, onnxruntime-binary-size-checks-ci-pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline |
|
Azure Pipelines successfully started running 7 pipeline(s). |
|
/azp run Windows CPU CI Pipeline, Windows GPU CUDA CI Pipeline, Windows GPU DML CI Pipeline, Windows GPU Doc Gen CI Pipeline, Windows GPU TensorRT CI Pipeline, Windows x64 QNN CI Pipeline, Windows GPU WebGPU CI Pipeline |
|
Azure Pipelines successfully started running 6 pipeline(s). |
1 similar comment
|
Azure Pipelines successfully started running 6 pipeline(s). |
Description
Deduplicates/synchronizes patch files in "cmake/patches" and "cmake/vcpkg-ports".
Motivation and Context
Addresses #23426 (comment) with Deduplicate/synchronize protobuf patch files:
The other deduplication/synchronization changes don't address immediate issues, but will ideally make future maintenance of these patch files less vulnerable to the possible mistake of updating one location but forgetting to consider the other.