Skip to content

Commit

Permalink
Migrate boost download away from JFrog (#42118)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #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
  • Loading branch information
cipolleschi authored and facebook-github-bot committed Jan 8, 2024
1 parent cabae39 commit 51b7c68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-native/ReactAndroid/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ val downloadBoost by
tasks.creating(Download::class) {
dependsOn(createNativeDepsDirectories)
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)
overwrite(false)
retries(5)
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/third-party-podspecs/boost.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
spec.homepage = 'http://www.boost.org'
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
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' }

# Pinning to the same version as React.podspec.
Expand Down

0 comments on commit 51b7c68

Please sign in to comment.