crossenv
crossenv copied to clipboard
Cross-compiling virtualenv for Python
``` (cross) rudra@DESKTOP-S5FHTQH:~/env$ python Python 3.11.0rc1 (main, Aug 12 2022, 10:02:14) [GCC 11.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> exit() (cross) rudra@DESKTOP-S5FHTQH:~/env$ python -m...
i am trying to use crossenv in WSL to crosscompile the regex package for an openwrt, mipsel architecture. i have downloaded the openwrt sdk and compiled python3-dev package inside it...
``` rudra@rudra:~/crossenv/usr/bin$ python3 -m crossenv /home/rudra/crossenv/usr/bin/python3 venv WARNING: The cross-compiler ('/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang') does not appear to be for the correct architecture (got aarch64-unknown-linux-android24, expected aarch64-unknown-linux-android). Use --cc to correct, if necessary....
Building lxml requires libxslt. I have compiled it separately with the same toolchain. After setting CPATH, the compile step works, but even though I have set LIBRARY_PATH correctly (via `--env`),...
The current crossenv does not seems to be aware of them.
The openwrt build system does not install the cross binary while building additional python packages, would be better to be able to pass the path since doesn't seem that the...
Thank you for the great tool! In our case host Python distributive is built on VM with Android SDK installed at `/usr/lib/android-sdk/ndk/26.2.11394342/toolchains/llvm/prebuilt/linux-x86_64` and if a user has toolchain installed in...
[PEP 730](https://peps.python.org/pep-0730/) adds iOS as a Tier 3 supported platform for CPython 3.13. This PR adds the modifications to crossenv to support cross-compiling for iOS devices (ARM64) and iOS Simulators...
Stemming from #117, this PR attempts to restore CI configuration, independent of any other changes. It upgrades the project configuration to PEP 621 format (i.e., pyproject.toml). A pyproject.toml file with...
I'm trying to cross-compile a package for openwrt (python3.7, cpu mips). This is what I did to set up the environment: ```bash cd build-mipsel/ mkdir build-python host-python wheels tar zxvf...