-
-
Notifications
You must be signed in to change notification settings - Fork 286
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
MIPS architectures support #1022
Comments
FYI, we already added 64-bit RISC-V in #1001. |
@messense Great job 🎉 I've tested the latest beta verson on mips(eb), mipsel and 64-bit RISC-V this weekend, and everything worked smoothly. However I did not test the "upload to PyPI" command yet; I did not have a actual maturin project, so I'm trying to figure out how to upload to https://test.pypi.org/. hass@K3C ~ $ pip3 --version
pip 22.2 from /usr/lib/python3.10/site-packages/pip (python 3.10)
hass@K3C ~ $ uname -m
mips
hass@K3C ~ $ head -15 /proc/cpuinfo
system type : GRX500 rev 1.2
machine : EASY350 ANYWAN (GRX350) Router model
processor : 0
cpu model : MIPS interAptiv V2.0
cpu MHz : 600.000
BogoMIPS : 387.07
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : dsp mt eva
shadow register sets : 1
kscratch registers : 0
hass@K3C ~ $ pip install --user maturin==0.13.2-beta.2
Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple
Collecting maturin==0.13.2-beta.2
Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/6d/cf/035fe84d715a6f2af4561ca1f0eb27ba6d4e4745ee47db1063ecb9f03e80/maturin-0.13.2b2.tar.gz (143 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: tomli>=1.1.0 in /usr/lib/python3.10/site-packages (from maturin==0.13.2-beta.2) (2.0.1)
Building wheels for collected packages: maturin
Building wheel for maturin (pyproject.toml) ... done
Created wheel for maturin: filename=maturin-0.13.2b2-cp310-cp310-linux_mips.whl size=8559225 sha256=72ba1885bda6129f9e31e4d00a8d2c65328189ec0badcde5fe6c1a6411470c8b
Stored in directory: /home/hass/.cache/pip/wheels/f9/00/b0/3ed5070408f9c155a7afe4d7bd39cc6f9cfe2d895f01f0ed2e
Successfully built maturin
Installing collected packages: maturin
Successfully installed maturin-0.13.2b2 |
I think upload will not work for |
I saw this PR in home-assistant: home-assistant/core#75318 that complains about lacking of MIPS architectures support in maturin.
ring
dependency is only used for the upload feature, it can be disabled for unsupported architecturesgoblin
throwstype is too big
error on MIPS: MIPS64 parse error: "type is too big (1236271128) for 137416" m4b/goblin#274, ignored the error since it's only used for emitting a warning@Arnie97 I assume you have MIPS devices that can do testing? Would you like to help us to add MIPS support?
The text was updated successfully, but these errors were encountered: