Skip to content
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

ode: set ODE_WITH_LIBCCD=ON #167521

Closed
wants to merge 1 commit into from
Closed

Conversation

scpeters
Copy link
Member

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

The --enable-libccd configure argument was dropped when converting to a cmake build in #167158, which has impacted some downstream projects:

I've enabled the equivalent cmake option ODE_WITH_LIBCCD=ON and tested locally with the downstream projects and confirm that this fixes them.

This is the cmake equivalent to --enable-libccd
that was lost in Homebrew#167158.
Bo98
Bo98 previously approved these changes Mar 29, 2024
Copy link
Member

@Bo98 Bo98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this!

@Bo98
Copy link
Member

Bo98 commented Mar 29, 2024

Actually, it look like ODE_WITH_LIBCCD_SYSTEM might also be needed to actually use Homebrew libccd?

@Bo98 Bo98 dismissed their stale review March 29, 2024 19:05

see above

@Bo98
Copy link
Member

Bo98 commented Mar 29, 2024

Relatedly, might be worth seeing if we can disable ODE_WITH_TESTS. I'm guessing ODE_WITH_DEMOS was enabled before but maybe worth checking too (the demos/drawstuff might not even be installed anyway?).

@scpeters
Copy link
Member Author

ok, I'll take a look at these suggestions, and also at the configuration in conda-forge/libode-feedstock#23

@scpeters
Copy link
Member Author

scpeters commented Apr 1, 2024

Actually, it look like ODE_WITH_LIBCCD_SYSTEM might also be needed to actually use Homebrew libccd?

yeah, you're right, setting ODE_WITH_LIBCCD without ODE_WITH_LIBCCD_SYSTEM will use a vendored copy of ccd

unfortunately, there are several cmake errors in the code path for ODE_WITH_LIBCCD_SYSTEM. I will submit some fixes upstream, but in the meantime, I will propose reverting to autotools in a separate pull request

@scpeters
Copy link
Member Author

scpeters commented Apr 1, 2024

Actually, it look like ODE_WITH_LIBCCD_SYSTEM might also be needed to actually use Homebrew libccd?

yeah, you're right, setting ODE_WITH_LIBCCD without ODE_WITH_LIBCCD_SYSTEM will use a vendored copy of ccd

unfortunately, there are several cmake errors in the code path for ODE_WITH_LIBCCD_SYSTEM. I will submit some fixes upstream, but in the meantime, I will propose reverting to autotools in a separate pull request

Relatedly, might be worth seeing if we can disable ODE_WITH_TESTS. I'm guessing ODE_WITH_DEMOS was enabled before but maybe worth checking too (the demos/drawstuff might not even be installed anyway?).

reverting to autotools in #167721 and also disabling the demos

@chenrui333
Copy link
Member

unfortunately, there are several cmake errors in the code path for ODE_WITH_LIBCCD_SYSTEM. I will submit some fixes upstream, but in the meantime, I will propose reverting to autotools in a separate pull request

can you post the cmake build configuration changes?

@chenrui333 chenrui333 added the superseded PR was replaced by another PR label Apr 1, 2024
@github-actions github-actions bot added the outdated PR was locked due to age label May 2, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age superseded PR was replaced by another PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants