Skip to content

Conversation

@KarthikRIyer
Copy link
Contributor

Summarize your change.

We were adding pybind11 as a subdirectory in cmake even if the building python bindings was disabled. This PR conditionally adds pybind11.

To build the Java bindings for android we do not need the python bindings. While building for 32-bit android I was getting an error (here) saying that the pybind11 cmake was looking for 32-bit python, but couldn't find it. The easy solution is to just disable building python bindings and not search for python at all. I've tested this and am able to build for 32-bit.

Copy link
Collaborator

@meshula meshula left a comment

Choose a reason for hiding this comment

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

good call, no need to bring pybind11 along on non-python builds

@meshula meshula merged commit 846bfb1 into AcademySoftwareFoundation:master Mar 29, 2021
@ssteinbach ssteinbach added this to the Public Beta 14 milestone Apr 12, 2021
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.

3 participants