-
Notifications
You must be signed in to change notification settings - Fork 541
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
feat(toolchains): Add armv7 linux platform to available toolchain platforms #1770
Conversation
I'm not sure what the intended behavior is here. I've compiled a python toolchain for armv7 which works totally fine in my environment but |
I think this is in the right direction. From what I remember, I think that In general I'd love it if we didn't have to keep an enumerated list of platforms around.
Can you explain this part a bit more? I was going to merge this PR, but this comment makes it sound like, while CI is passing, you are seeing errors elsewhere, something that CI isn't covering? I think when we added...I think it was the apple arm platform? Most of the issues of having a platform entry in there that didn't have a corresponding thing (url? repo?) were flushed out. Could always be more.
Nice! So that must mean you're manually defining py_runtime(), toolchain() etc to wire it into the rest of things? Does this mean you'd be interested in something like |
@UebelAndre , could you please paste the error you get without this PR? Maybe we are only fixing the symptom if we add the linux arm constant to the platforms, that said, I am fine to have the real fix in a followup PR if the the change may become too invasive. |
Without this patch I run into
When I add the following to my WORKSPACE file python_repository(
name = "python_3_10_armv7-unknown-linux-gnu",
platform = "armv7-unknown-linux-gnu",
python_version = "3.10",
release_filename = "cpython-3.10-armv7-unknown-linux-gnueabihf-noopt.tar.gz",
sha256 = "4d5d44c0b25c6a1605be503e032be384e1472ba704536b7257459399e305be51",
strip_prefix = "python",
urls = ["https://python.tar.gz"],
) |
I was referring to the error here: #1770 (comment) |
No, I structured my artifact to be similar to https://github.com/indygreg/python-build-standalone, so I'm not really manually defining anything, just trying to use the existing plumbing like what I described on #1770 (comment) |
It looks like the |
I am inclined to just merge this as is as this improves the compatibility. Any objections @rickeylev? |
Does this mean no objections? 😅 |
Could you please rebase? I think the changelog would be weirdly formatted if we merge as is. |
@aignas done! |
No description provided.