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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.orjson: specify the interpreter version to maturin #279145

Merged
merged 1 commit into from
Feb 4, 2024

Conversation

misuzu
Copy link
Contributor

@misuzu misuzu commented Jan 6, 2024

Description of changes

Fixes: #279133
Related: #115601

x86_64-linux -> x86_64-linux python311

Executing maturinBuildHook
++ env CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/cc CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/cc CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu HOST_CC=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/cc HOST_CXX=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/c++ maturin build --jobs=16 --frozen --target x86_64-unknown-linux-gnu --manylinux off --strip --release --interpreter python3.11
馃摝 Including license file "/build/source/LICENSE-APACHE"
馃摝 Including license file "/build/source/LICENSE-MIT"
馃嵐 Building a mixed python/rust project
馃敆 Found pyo3-ffi bindings
馃悕 Found CPython 3.11 at /nix/store/5k91mg4qjylxbfvrv748smfh51ppjq0g-python3-3.11.6/bin/python3.11

x86_64-linux -> x86_64-linux python310

Executing maturinBuildHook
++ env CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/cc CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/cc CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu HOST_CC=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/cc HOST_CXX=/nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/c++ maturin build --jobs=16 --frozen --target x86_64-unknown-linux-gnu --manylinux off --strip --release --interpreter python3.10
馃摝 Including license file "/build/source/LICENSE-APACHE"
馃摝 Including license file "/build/source/LICENSE-MIT"
馃嵐 Building a mixed python/rust project
馃敆 Found pyo3-ffi bindings
馃悕 Found CPython 3.10 at /nix/store/l8d6q4y9cvp2d5qf2sxxj072668bfcjr-python3-3.10.13/bin/python3.10

x86_64-linux -> riscv64-linux python311

Executing maturinBuildHook
++ env CC_RISCV64GC_UNKNOWN_LINUX_GNU=/nix/store/xg2599knh81a19z9k3qq1fdp69c9lzkf-riscv64-linux-gcc-wrapper-13.2.0/bin/riscv64-linux-cc CXX_RISCV64GC_UNKNOWN_LINUX_GNU=/nix/store/xg2599knh81a19z9k3qq1fdp69c9lzkf-riscv64-linux-gcc-wrapper-13.2.0/bin/riscv64-linux-c++ CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER=/nix/store/xg2599knh81a19z9k3qq1fdp69c9lzkf-riscv64-linux-gcc-wrapper-13.2.0/bin/riscv64-linux-cc CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/cc CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/cc CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu HOST_CC=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/cc HOST_CXX=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/c++ maturin build --jobs=16 --frozen --target riscv64gc-unknown-linux-gnu --manylinux off --strip --release --interpreter python3.11
馃摝 Including license file "/build/source/LICENSE-APACHE"
馃摝 Including license file "/build/source/LICENSE-MIT"
馃嵐 Building a mixed python/rust project
馃敆 Found pyo3-ffi bindings
馃悕 Found CPython 3.11

x86_64-linux -> riscv64-linux python310

Executing maturinBuildHook
++ env CC_RISCV64GC_UNKNOWN_LINUX_GNU=/nix/store/xg2599knh81a19z9k3qq1fdp69c9lzkf-riscv64-linux-gcc-wrapper-13.2.0/bin/riscv64-linux-cc CXX_RISCV64GC_UNKNOWN_LINUX_GNU=/nix/store/xg2599knh81a19z9k3qq1fdp69c9lzkf-riscv64-linux-gcc-wrapper-13.2.0/bin/riscv64-linux-c++ CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER=/nix/store/xg2599knh81a19z9k3qq1fdp69c9lzkf-riscv64-linux-gcc-wrapper-13.2.0/bin/riscv64-linux-cc CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/cc CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/cc CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu HOST_CC=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/cc HOST_CXX=/nix/store/94xwlhrjl0z82l7x83hixbspy32slz70-gcc-wrapper-13.2.0/bin/c++ maturin build --jobs=16 --frozen --target riscv64gc-unknown-linux-gnu --manylinux off --strip --release --interpreter python3.10
馃摝 Including license file "/build/source/LICENSE-APACHE"
馃摝 Including license file "/build/source/LICENSE-MIT"
馃嵐 Building a mixed python/rust project
馃敆 Found pyo3-ffi bindings
馃悕 Found CPython 3.10

Things done

  • Built on platform(s)
    • x86_64-linux
    • riscv64-linux (cross)
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 馃憤 reaction to pull requests you find important.

This fixes cross compilation to riscv64-linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants