Migrate boost download away from JFrog (#42118)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42118 JFrog CDN periodically gives us headaches when downloading boost. this change moves from JFrog to the official CDN by boost. ## Changelog [Internal] - Download boost directly from boost archives Reviewed By: cortinico Differential Revision: D52479171 fbshipit-source-id: a53a9cb2ea6dfdf2b82b3c8e69c697b24cc40cf2
This commit is contained in:
Родитель
cabae397c6
Коммит
51b7c681c9
|
@ -254,7 +254,7 @@ val downloadBoost by
|
||||||
tasks.creating(Download::class) {
|
tasks.creating(Download::class) {
|
||||||
dependsOn(createNativeDepsDirectories)
|
dependsOn(createNativeDepsDirectories)
|
||||||
src(
|
src(
|
||||||
"https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz")
|
"https://archives.boost.io/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz")
|
||||||
onlyIfModified(true)
|
onlyIfModified(true)
|
||||||
overwrite(false)
|
overwrite(false)
|
||||||
retries(5)
|
retries(5)
|
||||||
|
|
|
@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
|
||||||
spec.homepage = 'http://www.boost.org'
|
spec.homepage = 'http://www.boost.org'
|
||||||
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
|
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
|
||||||
spec.authors = 'Rene Rivera'
|
spec.authors = 'Rene Rivera'
|
||||||
spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2',
|
spec.source = { :http => 'https://archives.boost.io/release/1.83.0/source/boost_1_83_0.tar.bz2',
|
||||||
:sha256 => '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e' }
|
:sha256 => '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e' }
|
||||||
|
|
||||||
# Pinning to the same version as React.podspec.
|
# Pinning to the same version as React.podspec.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче