-
Notifications
You must be signed in to change notification settings - Fork 40
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
Python binding should be conditional on a special option, not on BUILD_SHARED_LIBS #911
Comments
@Thomasb81 can you take a look at this and #901 |
python binding should be conditional on a special option, like |
I can probably provide a PR for an option as suggest by @yurivict but not sure to understand the separate project option. Are you referring to cmake project or git dependency ? |
I am referring to a separate git project for the Python binding. For example, there is a Heyoka C++ project here: https://github.com/bluescarni/heyoka If you would look at the Python binding itself - it has nothing to do with the C++ project, except that it links to it like any other dependency would. The Python binding is not a "part" of UHDM: The rest of UHDM does not use the Python binding code. The Python binding is a separate project that actually can be installed multiple times for multiple concurrent Python versions. |
What you say make sense, in particular if this additional project is host by chipsalliance. |
Fixed by #924. |
This code makes
add_subdirectory(python)
conditional onBUILD_SHARED_LIBS
.I think that this is a mistake.
Version: 1.54
The text was updated successfully, but these errors were encountered: