mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
revert: partial dash#3003 (Fix 2 common Travis failures which happen when Travis has network issues)
commits reverted: -9a45241621
-41f46f5ea6
This commit is contained in:
parent
1f113587fb
commit
5db84e2a5b
@ -49,6 +49,7 @@ PATCHES_PATH = $(BASEDIR)/patches
|
|||||||
BASEDIR = $(CURDIR)
|
BASEDIR = $(CURDIR)
|
||||||
HASH_LENGTH:=11
|
HASH_LENGTH:=11
|
||||||
DOWNLOAD_CONNECT_TIMEOUT:=30
|
DOWNLOAD_CONNECT_TIMEOUT:=30
|
||||||
|
DOWNLOAD_RETRIES:=3
|
||||||
HOST_ID_SALT ?= salt
|
HOST_ID_SALT ?= salt
|
||||||
BUILD_ID_SALT ?= salt
|
BUILD_ID_SALT ?= salt
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ build_darwin_OTOOL:=$(shell xcrun -f otool)
|
|||||||
build_darwin_NM:=$(shell xcrun -f nm)
|
build_darwin_NM:=$(shell xcrun -f nm)
|
||||||
build_darwin_INSTALL_NAME_TOOL:=$(shell xcrun -f install_name_tool)
|
build_darwin_INSTALL_NAME_TOOL:=$(shell xcrun -f install_name_tool)
|
||||||
build_darwin_SHA256SUM=shasum -a 256
|
build_darwin_SHA256SUM=shasum -a 256
|
||||||
build_darwin_DOWNLOAD=curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) -o
|
build_darwin_DOWNLOAD=curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -o
|
||||||
|
|
||||||
#darwin host on darwin builder. overrides darwin host preferences.
|
#darwin host on darwin builder. overrides darwin host preferences.
|
||||||
darwin_CC=$(shell xcrun -f clang) -mmacosx-version-min=$(OSX_MIN_VERSION) -isysroot$(shell xcrun --show-sdk-path)
|
darwin_CC=$(shell xcrun -f clang) -mmacosx-version-min=$(OSX_MIN_VERSION) -isysroot$(shell xcrun --show-sdk-path)
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
build_linux_SHA256SUM = sha256sum
|
build_linux_SHA256SUM = sha256sum
|
||||||
build_linux_DOWNLOAD = curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) -o
|
build_linux_DOWNLOAD = curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -o
|
||||||
|
@ -37,8 +37,6 @@ endef
|
|||||||
define fetch_file
|
define fetch_file
|
||||||
( test -f $$($(1)_source_dir)/$(4) || \
|
( test -f $$($(1)_source_dir)/$(4) || \
|
||||||
( $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5)) || \
|
( $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5)) || \
|
||||||
(sleep 5 && $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5))) || \
|
|
||||||
(sleep 10 && $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5))) || \
|
|
||||||
$(call fetch_file_inner,$(1),$(FALLBACK_DOWNLOAD_PATH),$(3),$(4),$(5))))
|
$(call fetch_file_inner,$(1),$(FALLBACK_DOWNLOAD_PATH),$(3),$(4),$(5))))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user