crystal-lang / distribution-scripts

40 stars 24 forks source link

Bump llvm to 10.0.0_3 (universal darwin) #110

Closed bcardiff closed 3 years ago

bcardiff commented 3 years ago

This PR includes the changes of #104 to build and use llvm 10.0.0_3 that includes support for universal darwin.

In https://app.circleci.com/pipelines/github/crystal-lang/crystal?branch=ci%2Fupdate-llvm-10.0.0-3 there are builds to test this update for first gen and second gen.

Once this is merged we can go forward and narrow the changes of #104 with the cleanup & build universal binaries.

But I think is worth bumping finally the llvm_bin package.

As noticed by @maxfierke the llvm package has doubled it size. From 200MB to 400MB. The compilers binary itself is not changing much since after this PR is not yet universal.

bcardiff commented 3 years ago

Maybe we can also strip from #104 the cleanup of openssl and other unused patches. I think we will need to revisit eventually how the universal binaries are built and I would rather have a clean PR for that 🙈 .