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

Fix ignition-math6 #1910

Closed
wants to merge 2 commits into from
Closed

Fix ignition-math6 #1910

wants to merge 2 commits into from

Conversation

dlech
Copy link
Contributor

@dlech dlech commented May 1, 2022

This fixes #1872 and forces use of the homebrew python.

See individual commit messages for more details.

Building the ignition-math6 formula currently fails with:

    CMake Error at /home/linuxbrew/.linuxbrew/share/cmake/pybind11/pybind11NewTools.cmake:207 (python3_add_library):
      Unknown CMake command "python3_add_library".

This adds a patch that is a mini version of an upstream PR that fixes
the build.

Fixes: osrf#1872
This modifies the ignition-math6 formula to use the homebrew python3.9.
Without this, cmake will find and the highest available version of
python which may not be the homebrew version.
@osrf-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

1 similar comment
@osrf-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@dlech
Copy link
Contributor Author

dlech commented May 1, 2022

FYI, in the future, we also need to add -DUSE_SYSTEM_PATHS_FOR_PYTHON_INSTALLATION, however this currently fails and will require more patches.

@scpeters
Copy link
Member

scpeters commented Jan 9, 2024

my apologies for not reviewing this earlier. I take it this is intended to fix the formula when using linuxbrew?

this pull request has conflicts; are you able to resolve them?

@dlech
Copy link
Contributor Author

dlech commented Jan 9, 2024

I'm no longer using this software.

@dlech dlech closed this Jan 9, 2024
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.

Pybind11 CMake error when installing ignition-math6 with homebrew
3 participants