dropbox / dbx_build_tools

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

[deps] Make OpenSSL build on macos and update #40

Open GregBowyer opened 3 years ago

GregBowyer commented 3 years ago

We change up the openssl build generation to be able to generate builds for other platforms and systems.

The initial added platforms are for macos. In the process of doing this the build generation tooling has changed to be a python script that understands all of the select permutations needed to generate the stanzas needed for more than one platform.

Alongside this the perl script used to extract out the build details has been changed. Rather than generating the build rules directly it now exports the build information needed in the form of JSON outputs.

This has been tested on x86_64 for macos catalina and linux.

This also changes OpenSSL to 1.1.1l due to recent CVEs

Right now there are probably some unixisms left in the code which will limit its ability to build for windows.

jsharpe commented 3 years ago

I wanted to try and pick up this change and see if it would work on linux aarch64 but you appear to have mised adding the config.py file that defines the PLATFORMS variable.

GregBowyer commented 3 years ago

:( Doh sorry

GregBowyer commented 3 years ago

@jsharpe Config.py pushed

GregBowyer commented 3 years ago

@jsharpe I have a few tweaks pending w.r.t arm on OSX that you might want

CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.