Skip to content

Add cmake option to disable the stacktrace functionality. #3777

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

Conversation

jreichel-nvidia
Copy link
Contributor

Setting the cmake option OIIO_DISABLE_BOOST_STACKTRACE to ON disables the use of Boost stacktrace at compile time. This avoids dependencies on helper libraries like dbgeng.dll.

See issue #3776.

Checklist:

  • I have read the contribution guidelines.
  • If this is more extensive than a small change to existing code, I
    have previously submitted a Contributor License Agreement
    (individual, and if there is any way my
    employers might think my programming belongs to them, then also
    corporate).
  • I have updated the documentation, if applicable.
  • I have ensured that the change is tested somewhere in the testsuite
    (adding new test cases if necessary).
  • My code follows the prevailing code style of this project.

Setting the cmake option OIIO_DISABLE_BOOST_STACKTRACE to ON disables the use of
Boost stacktrace at compile time. This avoids dependencies on helper libraries
like dbgeng.dll.
@lgritz
Copy link
Collaborator

lgritz commented Feb 21, 2023

I'm not sure what's up with the CI jobs that die. It doesn't seem related to your patch. They're not actually failing, the entire job never starts. I assume it's a temporary GHA outage.

@lgritz lgritz merged commit 2ac5797 into AcademySoftwareFoundation:master Feb 21, 2023
lgritz pushed a commit to lgritz/OpenImageIO that referenced this pull request Mar 1, 2023
…twareFoundation#3777)

Setting the cmake option OIIO_DISABLE_BOOST_STACKTRACE to ON disables the use of
Boost stacktrace at compile time. This avoids dependencies on helper libraries
like dbgeng.dll.
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