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

Expose cross compiling configuration from pyo3-build-config #1996

Merged
merged 21 commits into from Dec 16, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
fbab45c
Initial refactor - expose cross-compiling functions and add necessary…
Nov 13, 2021
1bd27f7
Refactor cross_compiling to take arch/vendor/os separately.
Nov 15, 2021
69cd710
Address review comments.
Nov 16, 2021
1a326c2
Merge branch 'main' into expose-cross-compiling
Nov 16, 2021
52301f0
Update changelog with note about pyo3-build-config APIs.
Nov 16, 2021
7ab810a
Fix panic when parsing ABI tag on Windows.
Nov 16, 2021
c8f0785
Update parse_sysconfigdata test to best-guess values for linux.
Nov 16, 2021
490fe61
Revert added fields in InterpreterConfig.
Nov 19, 2021
4974fc8
Refactor parse_sysconfigdata to return Sysconfigdata (HashMap). Add I…
Nov 19, 2021
c698c2e
Update BuildFlags test to use from_sysconfigdata.
Nov 22, 2021
40fa4be
Merge branch 'main' into expose-cross-compiling
Nov 22, 2021
011d8fb
Add tests for from_sysconfigdata. Refactor Sysconfigdata API to be mo…
Nov 22, 2021
79565d7
Add basic tests for not cross compiling. Add some error handling.
Nov 23, 2021
8b0c391
Address review comments.
Nov 29, 2021
6b40cb4
Update search_lib_dir to recurse into lib and pypy dirs.
Nov 30, 2021
bc128e1
Merge branch 'main' into expose-cross-compiling
Nov 30, 2021
edb59c3
Look even harder for sysconfigdata.
Dec 1, 2021
c0f5ce5
Add skip-build-config feature.
Dec 1, 2021
2986aca
Revert skip-build-config feature.
Dec 2, 2021
41cc76d
Suppress cargo:rerun-if-env-changed without resolve-config feature.
Dec 3, 2021
fa09343
Merge branch 'main' into expose-cross-compiling
Dec 13, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions pyo3-build-config/build.rs
Expand Up @@ -61,6 +61,9 @@ pub fn abi3_config() -> Option<InterpreterConfig> {
// NB PyPy doesn't support abi3 yet
implementation: PythonImplementation::CPython,
abi3: true,
abi_flags: None,
abi_tag: None,
ext_suffix: Some(".abi3.so".to_string()),
lib_name: None,
lib_dir: None,
build_flags: BuildFlags::abi3(),
Expand Down