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

Python build adjustment #203

Merged
merged 2 commits into from
Sep 2, 2024

Conversation

zacikpa
Copy link
Contributor

@zacikpa zacikpa commented Sep 1, 2024

In the process of packaging the new bindings for Fedora, I encountered two issues that are resolved in this PR.

  1. The PR changes the way the bindings are built. During the build, the libcpuid dynamic library needs to be linked. Previously, the bindings linked the system-installed library. Now, the shared library is linked from {repo_directory}/libcpuid/.libs (as built by make). This should simplify the builds in Linux distributions and the build for the live docs.

  2. The sanity tests have been adjusted to pass when the current CPU is not recognized.

When building the binding, link the dynamic
C library as built by `make` instead of linking
the system-installed C library. This simplifies
packaging in Linux distributions and also the
build of the live docs.
@TheTumultuousUnicornOfDarkness
Copy link
Collaborator

LGTM, thanks.

@TheTumultuousUnicornOfDarkness TheTumultuousUnicornOfDarkness merged commit bcd2dea into anrieff:master Sep 2, 2024
19 checks passed
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