https://pantsbuild.org/ logo
#welcome
Title
# welcome
l

little-air-5989

11/12/2021, 6:50 PM
Have you guys worked on Graviton2 (or just arm64 really) already? I can definitely contribute if needed, I've looked at some conversations in github, but wanted to check on the latest status
h

hundreds-father-404

11/12/2021, 6:56 PM
Hello! Pants 2.5+ supports macOS ARM, which laid the foundation for Linux ARM support. You've probably seen https://github.com/pantsbuild/pants/issues/12183. https://github.com/pantsbuild/pants/pull/12879 kicked off some of that work That wouldn't land until Pants 2.9 at the earliest though, and would be extremely non-trivial to backport to Pants 1. Are y'all using Pants v1 for Python, or for other languages too?
Alternatively, yeah, you may have some success with building Pants from sources: https://www.pantsbuild.org/docs/installation#building-pants-from-sources
l

little-air-5989

11/12/2021, 6:59 PM
"Are y'all using Pants v1 for Python" Yes, but we can move to 2
🚀 1
Compiling is definitely possible, I just don't know how to build a multiarch package, so that the same build works in both architectures when we do pip install pantsbuild.pants, but I can look that up on my own
+1 on not bringing support to 1.x 🙂
h

hundreds-father-404

11/12/2021, 7:04 PM
I just don't know how to build a multiarch package, so that the same build works in both architectures when we do pip install pantsbuild.pants
We release a distinct wheel for each platform x python interpreter: https://pypi.org/project/pantsbuild.pants/2.8.0rc5/#files We'd do the same with ARM Linux