Skip to content

Commit 929cad5

Browse files
[boost] Update boost to 1.81.0
1 parent d8ced6f commit 929cad5

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

packages/react-native/React/third-party.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
// LICENSE file in the root directory of this source tree.
99
//
1010

11-
HEADER_SEARCH_PATHS = $(SRCROOT)/../third-party/boost_1_76_0 $(SRCROOT)/../third-party/folly-2021.07.22.00 $(SRCROOT)/../third-party/glog-0.3.5/src
11+
HEADER_SEARCH_PATHS = $(SRCROOT)/../third-party/boost_1_81_0 $(SRCROOT)/../third-party/folly-2021.07.22.00 $(SRCROOT)/../third-party/glog-0.3.5/src
1212
OTHER_CFLAGS = -DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1

packages/react-native/ReactAndroid/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def cmakeVersion = System.getenv("CMAKE_VERSION") ?: "3.22.1"
4545
ext.cmake_version = cmakeVersion
4646

4747
// You need to have following folders in this directory:
48-
// - boost_1_76_0
48+
// - boost_1_81_0
4949
// - double-conversion-1.1.6
5050
// - folly-deprecate-dynamic-initializer
5151
// - glog-0.3.5
@@ -151,14 +151,14 @@ final def preparePrefab = tasks.register("preparePrefab", PreparePrefabHeadersTa
151151
"folly_runtime",
152152
[
153153
new Pair(new File(buildDir, "third-party-ndk/folly/").absolutePath, ""),
154-
new Pair(new File(buildDir, "third-party-ndk/boost/boost_1_76_0/").absolutePath, ""),
154+
new Pair(new File(buildDir, "third-party-ndk/boost/boost_1_81_0/").absolutePath, ""),
155155
new Pair(new File(buildDir, "third-party-ndk/double-conversion/").absolutePath, ""),
156156
]
157157
),
158158
new PrefabPreprocessingEntry(
159159
"react_nativemodule_core",
160160
[
161-
new Pair(new File(buildDir, "third-party-ndk/boost/boost_1_76_0/").absolutePath, ""),
161+
new Pair(new File(buildDir, "third-party-ndk/boost/boost_1_81_0/").absolutePath, ""),
162162
new Pair(new File(buildDir, "third-party-ndk/double-conversion/").absolutePath, ""),
163163
new Pair(new File(buildDir, "third-party-ndk/folly/").absolutePath, ""),
164164
new Pair(new File(buildDir, "third-party-ndk/glog/exported/").absolutePath, ""),

packages/react-native/ReactAndroid/src/main/jni/third-party/boost/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ add_library(boost STATIC ${boostasm_SRC})
1818

1919
set_target_properties(boost PROPERTIES LINKER_LANGUAGE CXX)
2020

21-
target_include_directories(boost PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/boost_1_76_0)
21+
target_include_directories(boost PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/boost_1_81_0)
2222

packages/react-native/ReactCommon/cxxreact/React-cxxreact.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Pod::Spec.new do |s|
3737
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17" }
3838
s.header_dir = "cxxreact"
3939

40-
s.dependency "boost", "1.76.0"
40+
s.dependency "boost", "1.81.0"
4141
s.dependency "DoubleConversion"
4242
s.dependency "RCT-Folly", folly_version
4343
s.dependency "glog"

packages/react-native/ReactCommon/jsi/React-jsi.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Pod::Spec.new do |s|
3838
s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags
3939
s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\"" }
4040

41-
s.dependency "boost", "1.76.0"
41+
s.dependency "boost", "1.81.0"
4242
s.dependency "DoubleConversion"
4343
s.dependency "RCT-Folly", folly_version
4444
s.dependency "glog"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
Pod::Spec.new do |spec|
77
spec.name = 'boost'
8-
spec.version = '1.76.0'
8+
spec.version = '1.81.0'
99
spec.license = { :type => 'Boost Software License', :file => "LICENSE_1_0.txt" }
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.76.0/source/boost_1_76_0.tar.bz2',
14-
:sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }
13+
spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.81.0/source/boost_1_81_0.tar.gz',
14+
:sha256 => '205666dea9f6a7cfed87c7a6dfbeb52a2c1b9de55712c9c1a87735d7181452b6' }
1515

1616
# Pinning to the same version as React.podspec.
1717
spec.platforms = { :ios => '11.0' }

0 commit comments

Comments
 (0)