-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onnxruntime: More compatibility patches for 1.16 #22563
Conversation
This patch hunk is essentially copied from the patch for 1.15. Without it, onnxruntime seems to be pulling Abseil on its own, causing weird errors in some builds.
Upstream onnxruntime dropped VS2019 from their CI, allowing for a bug with <stacktrace> header. It is fixed in their `main`, but not in 1.16.* releases.
Conan v1 pipeline ❌Failure in build 1 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. Conan v2 pipeline ❌
The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping See details:Failure in build 1 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
I think this should be closed by #22557 |
Specify library name and version: onnxruntime/1.16.X
We have a custom
onnxruntime
recipe with CUDA support for internal use, and while adapting upstream changes to support 1.16 I noticed some weirdness in the patches.1.16.0-0001-cmake-dependencies.patch
to the predecessor1.15.1-0001-cmake-dependencies.patch
, it lost the hunk about Abseil. Because of this our CMake configuration logs were lacking a bunch ofConan: Component target declared 'absl::something'
and we were getting weirdtarget_link_libraries: target absl::something not found
. Not sure why it doesn't happen in C3I, maybe because we use older version of Abseil.<stacktrace>
header from C++23; then in FIX: memory leak checker is incompatible with std::stacktrace microsoft/onnxruntime#17209 they made it optional - but left a bug for VS2019 and below. The bug got a fix in Remove unnecessary #incldue <stacktrace> microsoft/onnxruntime#17716 but 1.16.0-3 were already released. I backported the fix to enable VS2019 builds in 1.16.