Skip to content

Commit cf3461f

Browse files
cipolleschifacebook-github-bot
authored andcommitted
Migrate boost download away from JFrog (#42118)
Summary: 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
1 parent cabae39 commit cf3461f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-native/ReactAndroid/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ val downloadBoost by
254254
tasks.creating(Download::class) {
255255
dependsOn(createNativeDepsDirectories)
256256
src(
257-
"https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz")
257+
"https://archives.boost.io/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz")
258258
onlyIfModified(true)
259259
overwrite(false)
260260
retries(5)

packages/react-native/third-party-podspecs/boost.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Pod::Spec.new do |spec|
1010
spec.homepage = 'http://www.boost.org'
1111
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
1212
spec.authors = 'Rene Rivera'
13-
spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2',
14-
:sha256 => '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e' }
13+
spec.source = { :http => 'https://archives.boost.io/release/1.83.0/source/boost_1_83_0.tar.gz',
14+
:sha256 => 'c0685b68dd44cc46574cce86c4e17c0f611b15e195be9848dfd0769a0a207628' }
1515

1616
# Pinning to the same version as React.podspec.
1717
spec.platforms = min_supported_versions

0 commit comments

Comments
 (0)