Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Use BinaryBuilder for all available dependencies by default #31441

Merged
merged 20 commits into from
Mar 30, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add libunwind and libosxunwind
  • Loading branch information
staticfloat committed Mar 30, 2019
commit 1ae2707ab15aa2976b223141f3faa03fe280fdb2
2 changes: 1 addition & 1 deletion Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ USE_BINARYBUILDER := 0
endif

# This is the set of projects that BinaryBuilder dependencies are hooked up for.
BB_PROJECTS := OPENBLAS LLVM SUITESPARSE OPENLIBM GMP MBEDTLS LIBSSH2 MPFR CURL LIBGIT2 PCRE LIBUV
BB_PROJECTS := OPENBLAS LLVM SUITESPARSE OPENLIBM GMP MBEDTLS LIBSSH2 MPFR CURL LIBGIT2 PCRE LIBUV UNWIND
$(foreach proj,$(BB_PROJECTS),$(eval USE_BINARYBUILDER_$(proj) = $(USE_BINARYBUILDER)))

# Use the Assertions build
Expand Down
2 changes: 1 addition & 1 deletion contrib/refresh_bb_tarballs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
TRIPLETS="i686-linux-gnu x86_64-linux-gnu aarch64-linux-gnu arm-linux-gnueabihf powerpc64le-linux-gnu i686-linux-musl x86_64-linux-musl aarch64-linux-musl arm-linux-musleabihf x86_64-apple-darwin14 x86_64-unknown-freebsd11.1 i686-w64-mingw32 x86_64-w64-mingw32"

# These are the projects currently using BinaryBuilder; both GCC-expanded and non-GCC-expanded:
BB_PROJECTS="gmp mbedtls libssh2 mpfr curl libgit2 pcre libuv"
BB_PROJECTS="gmp mbedtls libssh2 mpfr curl libgit2 pcre libuv unwind osxunwind"
BB_GCC_EXPANDED_PROJECTS="llvm openblas suitesparse openlibm"

# If we've been given a project name, filter down to that one:
Expand Down
2 changes: 2 additions & 0 deletions deps/Versions.make
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ SUITESPARSE_VER = 5.4.0
SUITESPARSE_BB_REL = 1
OPENLIBM_VER = 0.6.0
UNWIND_VER = 1.3.1
UNWIND_BB_REL = 3
OSXUNWIND_VER = 0.0.5
OSXUNWIND_BB_REL = 0
GMP_VER = 6.1.2
GMP_BB_REL = 1
MPFR_VER = 4.0.2
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3e092d738b24f7a121065b46af327f1a
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6c484cba8b5151814764d73a8bc4e56292831ae48eb172c03135c8d83e49571380abe275209fdeb8855d0e6a78d1a4f12e15ef4ab09eebee73056cd406fe017b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c9b7d10767558fce64a6554904fd2c1d
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2294a28b21da1c1fbcd4e526c3df8685e02a8addf8f2eb838cf0a4b32f63ebf23930210ae2d8b27933f736e9268932c03e92a539e6fe3e7d09fb0c3d27d70dc1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
68cd3fe1a480d9e95229fcbc54b45403
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b906903a40f4e87c90eb7ce9aa9bd95068ff186b70f8856b25be073e0444abe239b18cad6f666f5f1cfa15ec12c04835a2a176744d445e7ffeaebbf9abd842d9
1 change: 1 addition & 0 deletions deps/checksums/LibUnwind.v1.3.1.i686-linux-gnu.tar.gz/md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
37c6b7175bbe577a871956c415b8b96a
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
909223fd1fc828b4f61559a6104777ef92f982a48fc59ee2babef0472ba0079f3b93c55428880245de46e4e31a0356c44b678d58be6302355f113475df572fb4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
09c63c9ffe345d7716137da5f5d0e30c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1fe94d0c48cf2f193797a36f47442e6663b16e823eddcb0b0fe7f77ab6653d947b727bf5e593d0a8565fda4bb58f675798d33b4820e614636a86c4cd2ffb809e
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c62aa2fb24a4b51aa9fa7cd7b1f19d29
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
56fa80a83fdc069dfbaf110d1479956ec25135439646e799295d42ae67a0f53bcc6e164bfc592f9b845ab465bf90c1a2cf445cc75f65e9432ec3e0917646c646
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
35719457696d229c7b18a5af53de57ae
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
701181026e0bca5d9f51d61c58dc70dcee299b0ca45a9952ab71f4a331e5de359f7e718b1c2519c2dbc502f70442e8d3de744d3b46fb7d68710d14a6642bfa50
15 changes: 15 additions & 0 deletions deps/unwind.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## UNWIND ##

ifneq ($(USE_BINARYBUILDER_UNWIND),1)
LIBUNWIND_CFLAGS := -U_FORTIFY_SOURCE $(fPIC)
LIBUNWIND_CPPFLAGS :=

Expand Down Expand Up @@ -100,3 +101,17 @@ compile-osxunwind: $(BUILDDIR)/libosxunwind-$(OSXUNWIND_VER)/build-compiled
fastcheck-osxunwind: check-osxunwind
check-osxunwind: compile-osxunwind
install-osxunwind: $(build_prefix)/manifest/osxunwind

else # USE_BINARYBUILDER_UNWIND

UNWIND_BB_URL_BASE := https://github.com/JuliaPackaging/Yggdrasil/releases/download/LibUnwind-v$(UNWIND_VER)-$(UNWIND_BB_REL)
UNWIND_BB_NAME := LibUnwind.v$(UNWIND_VER)

$(eval $(call bb-install,unwind,UNWIND,false))

OSXUNWIND_BB_URL_BASE := https://github.com/JuliaPackaging/Yggdrasil/releases/download/LibOSXUnwind-$(OSXUNWIND_VER)-$(OSXUNWIND_BB_REL)
OSXUNWIND_BB_NAME := LibOSXUnwind.v$(OSXUNWIND_VER)

$(eval $(call bb-install,osxunwind,OSXUNWIND,false))

endif