Skip to content

Use CMake ARCH_INDEPENDENT #34

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

Merged
merged 1 commit into from
Nov 2, 2020
Merged

Conversation

chronitis
Copy link
Contributor

The current configuration generates a pointer-size check in pybind11_jsonConfigVersion.cmake, and installs the CMake files in CMAKE_INSTALL_LIBDIR, which on (some) systems will be an architecture-specific directory like usr/lib/x86_64-linux-gnu.

Since the library is header only, it shouldn't be necessary to encode any architecture dependence in the result.

(This matches changes in pybind11: pybind/pybind11#2584 pybind/pybind11#2338 )

@martinRenou
Copy link
Collaborator

Thanks!

@martinRenou martinRenou merged commit 1baeddb into pybind:master Nov 2, 2020
@chronitis chronitis deleted the arch-independent branch November 2, 2020 08:17
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