dropbox / dbx_build_tools

Dropbox's Bazel rules and tools
Other
208 stars 36 forks source link

Building python for aarch64 / ppc64le #13

Open jsharpe opened 3 years ago

jsharpe commented 3 years ago

I'm interested in fixing up these build rules for the third party dependencies so that they will build on arm64 and powerpc. Primarily this is failing in the openssl and python builds at the moment. I can use the bazelify.sh script to generate a valid build file for openssl but what is the best approach for creating a build file that will work across all 3 platforms? I suspect changing the generation to generate .bzl files which contain functions that return a select for the appropriate platform would be the approach here? This way the bazelify.sh script would be used on each platform to generate the appropriate files rather then trying to have a single build file that supports all 3 platforms?

GregBowyer commented 3 years ago

@jsharpe ? #40

jsharpe commented 3 years ago

@GregBowyer I don't own the repo to provide a review for #40, I'm just a use of this repo that had an interest in supporting aarch64 on Linux but I've not had chance to evaluate it yet.