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 LibUV BB tarball
  • Loading branch information
staticfloat committed Mar 29, 2019
commit bc290741cfa5d814a8aa6d22245a2790b273b598
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
BB_PROJECTS := OPENBLAS LLVM SUITESPARSE OPENLIBM GMP MBEDTLS LIBSSH2 MPFR CURL LIBGIT2 PCRE LIBUV
$(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"
BB_PROJECTS="gmp mbedtls libssh2 mpfr curl libgit2 pcre libuv"
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 @@ -21,6 +21,8 @@ CURL_VER = 7.61.0
CURL_BB_REL = 1
LIBGIT2_VER = 0.27.7
LIBGIT2_BB_REL = 1
LIBUV_VER = 1.24.0
LIBUV_BB_REL = 1

# Specify the version of the Mozilla CA Certificate Store to obtain.
# The versions of cacert.pem are identified by the date (YYYY-MM-DD) of their changes.
Expand Down
1 change: 1 addition & 0 deletions deps/checksums/LibUV.v1.24.0.aarch64-linux-gnu.tar.gz/md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a5891f189799e0072bc39f5459a58564
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
465a2d9d03871d6b00a1c7e9ddb3bf29e8d388114b67ced74bcbbe0517373c5efa7b0e5dd18edb94c70a2834128d8ce34507ab841057a4ead95997108b0e6782
1 change: 1 addition & 0 deletions deps/checksums/LibUV.v1.24.0.aarch64-linux-musl.tar.gz/md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
080af3ffbebc07b8c5a5a91e52ae304d
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4dc5d3cb513ecb470d0f460efb2af632fd42495080a41ae17ce06ef08fe000e6c0f1a70e8ff3e4e8229d19ce01ac7ec4c60592ed33d8a5cfaeea7dc3ea71b6df
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c6e8d26974bfd9c16f9cbfd65850868c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bdad2a252ba7e5daec0b31bc1a16f8a109e339eab2ec91e7408e115a94f02d741ced3b2d599494dedca046d07919eeb8286b732ce43efbf1d98685052e52bf9b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f3ef0c4369f1a639350610551c4e5e9c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a6f4e6a8a5b31460945e08d5151dec35ae4556eaa3b48d686a0974cdd68e4e9ba1606901d81687762f18aede6dd579ffcea55b0da73f7ed3eb729df30bac125c
1 change: 1 addition & 0 deletions deps/checksums/LibUV.v1.24.0.i686-linux-gnu.tar.gz/md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
19c7889e0080c4e9b1fc26d7e064c28c
1 change: 1 addition & 0 deletions deps/checksums/LibUV.v1.24.0.i686-linux-gnu.tar.gz/sha512
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
71a6db2da397632e918c0c12a42ee09123235c55bcc83e2abd278ae26cd36fe22d9c54cb76de589a78dedc3ca9327d5cd80f5992b7b85541a83ead3090105d62
1 change: 1 addition & 0 deletions deps/checksums/LibUV.v1.24.0.i686-linux-musl.tar.gz/md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ab48f77ceda876dd339bd20e928cd2ef
1 change: 1 addition & 0 deletions deps/checksums/LibUV.v1.24.0.i686-linux-musl.tar.gz/sha512
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aa0c06856be63806702c7a0fc179298f88228ece36819d80e1b6bad924113d56714da7dfab49b7b39a9bd58b5b76022cde1963db0c83e97c66c7d9aa32808939
1 change: 1 addition & 0 deletions deps/checksums/LibUV.v1.24.0.i686-w64-mingw32.tar.gz/md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dce7a3fd827917d177723ea12a7b3867
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2cd773dcbe9ee43a63b0c31e2da1fa2eb7efba4bc7412b414b8d4dadc52c6fb8d162d1c81f4b44c05b39a453e01f07da3ae1170f857330be6a09c739ecd41420
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
56faf52e0404376525351b875641535e
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
17cd6a52534dd5c21a2baadcaa18252588674db6582bf186a4befa0d24f3c09bbf26505cbd75af7228c1c6d567d860f9d3d7fe22cf467c2b1f569f483903972b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d18605a8561499c79aeb8e9a5afcd163
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5758570d64477e226ffcc0c7b34f7b0d35904ef0a70bb276f91507ee274404f5c1cb4bb16b759fea9e38bc838de198b123807c0e72b01834dff284f1125a114a
1 change: 1 addition & 0 deletions deps/checksums/LibUV.v1.24.0.x86_64-linux-gnu.tar.gz/md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e6cd3e6366932f54a4d0692f39850b9a
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f474fd9e27340cc6507669ece54e59c4d5c43419e10b40123fe8a0a064761e09b8197b3f7d2daf5fb4e2bae4a1b371b616a8b3ef95b331a67faea69d1f5683f8
1 change: 1 addition & 0 deletions deps/checksums/LibUV.v1.24.0.x86_64-linux-musl.tar.gz/md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aef53f96a5ecc461cc164dede9f7d32e
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
23f62485cd83991cdcbb71424b8a613aa2c742cb5e567d0eef8ce7529cbfb928fda07ed646bf647db336d85c4fd6263570ec1741e7bc61fbd0c9194ec83d4692
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4df1a01defa00c46103bad8f96b93a6c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
895e42570e35dd5c846d00db18d17d250962e6552799109faf7da4a01dcf4f34492429838c1025c4e866907532d3d580533869bccf0cb03e6b96eb4a3229f3fe
1 change: 1 addition & 0 deletions deps/checksums/LibUV.v1.24.0.x86_64-w64-mingw32.tar.gz/md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
62d5afb7a8bbdfd531a5bbed5c207875
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d245863322aad32dcca51fff6c45e60766f31fd781e9b7f7eb0c2c166fe7b894a3ed359924fd5fcf1117d09b621223305faec9d80da1785cf65fcecc3d3fdea3
9 changes: 9 additions & 0 deletions deps/libuv.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ LIBUV_GIT_URL:=git:https://github.com/JuliaLang/libuv.git
LIBUV_TAR_URL=https://api.github.com/repos/JuliaLang/libuv/tarball/$1
$(eval $(call git-external,libuv,LIBUV,configure,,$(SRCCACHE)))

ifneq ($(USE_BINARYBUILDER_LIBUV),1)

UV_CFLAGS := -O2
ifeq ($(USEMSVC), 1)
UV_CFLAGS += -DBUILDING_UV_SHARED
Expand Down Expand Up @@ -59,3 +61,10 @@ configure-libuv: $(BUILDDIR)/$(LIBUV_SRC_DIR)/build-configured
compile-libuv: $(BUILDDIR)/$(LIBUV_SRC_DIR)/build-compiled
fastcheck-libuv: #none
check-libuv: $(BUILDDIR)/$(LIBUV_SRC_DIR)/build-checked

else # USE_BINARYBUILDER_LIBUV
LIBUV_BB_URL_BASE := https://github.com/JuliaPackaging/Yggdrasil/releases/download/LibUV-v$(LIBUV_VER)-$(LIBUV_BB_REL)
LIBUV_BB_NAME := LibUV.v$(LIBUV_VER)

$(eval $(call bb-install,libuv,LIBUV,false))
endif