Skip to content

chore: Add CV_TRACE option to opencv recipe #27351

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

clarkholdham
Copy link

Summary

Changes to recipe: opencv/4.11.0

Motivation

The opencv recipe did not expose an option to toggle the CV_TRACE compile flag. This is needed to work around a known memory leak in opencv: opencv/opencv#19727

Details

Option: cv_trace defaulted to True (as this seems to be the default state from opencv CMakeLists.txt https://github.com/opencv/opencv/blob/4ad4bd5dc09b343b2be6c8137b563f143d68584d/CMakeLists.txt#L541). Will toggle CV_TRACE flag to False if cv_trace option is set to False.


@CLAassistant
Copy link

CLAassistant commented May 2, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants