Hey everybody. I’m wondering if Pants addresses th...
# general
f
Hey everybody. I’m wondering if Pants addresses the different architectures we’re having nowadays - mostly amd64, arm32 and arm64 I guess … Interesting is how target builds are handled and if mixed architecture remote caching and execution is supported. Anyways, I’d assume this is affecting already a couple teams and will be more relevant in the future - ao any insights/thoughts on this?
👍 1
h
Remote caching and execution should handle this seamlessly - the arch is part of the cache key
f
So it’ll be transparent somehow?
h
More generally, have you looked at the Environments feature? https://www.pantsbuild.org/docs/environments
f
Not yet, thx
Would it be possible to have multiple remote machines for multiple architectures in parallel?
I assume that at least the performance hit would be noticeable if a x86 machine would have to emulate all the others
h
Huh, looks like the remote execution options are not EnvironmentAware, and I would expect them to be. @witty-crayon-22786?
w
The expectation that that was encoding is that there is one remote execution provider, which then hosts multiple environments.
h
Hmmm, that seems harder to set up than the alternative
Are there such remexec providers?
w
Yes, all of them support having multiple types of workers connected, usually selected via the "platform properties" (which are configurable per environment)
f
I was just thinking to click a ARM and x86 VM to have two architecturea covered… assuming that’s a feasible option