Skip to content

Commit 6213b32

Browse files
[boost] Update boost to 1.81.0
1 parent 13fcee6 commit 6213b32

File tree

9 files changed

+11
-12
lines changed

9 files changed

+11
-12
lines changed

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

ReactAndroid/Android-prebuilt.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ include $(CLEAR_VARS)
3434
LOCAL_MODULE := folly_runtime
3535
LOCAL_SRC_FILES := $(REACT_NDK_EXPORT_DIR)/$(TARGET_ARCH_ABI)/libfolly_runtime.so
3636
LOCAL_EXPORT_C_INCLUDES := \
37-
$(THIRD_PARTY_NDK_DIR)/boost/boost_1_76_0 \
37+
$(THIRD_PARTY_NDK_DIR)/boost/boost_1_81_0 \
3838
$(THIRD_PARTY_NDK_DIR)/double-conversion \
3939
$(THIRD_PARTY_NDK_DIR)/folly
4040
# Note: Sync with folly/Android.mk.

ReactAndroid/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def thirdPartyNdkDir = new File("$buildDir/third-party-ndk")
3737
def reactNativeRootDir = projectDir.parent
3838

3939
// You need to have following folders in this directory:
40-
// - boost_1_76_0
40+
// - boost_1_81_0
4141
// - double-conversion-1.1.6
4242
// - folly-deprecate-dynamic-initializer
4343
// - glog-0.3.5

ReactAndroid/cmake-utils/Android-prebuilt.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ set_target_properties(folly_runtime
4949
${REACT_NDK_EXPORT_DIR}/${ANDROID_ABI}/libfolly_runtime.so)
5050
target_include_directories(folly_runtime
5151
INTERFACE
52-
${THIRD_PARTY_NDK_DIR}/boost/boost_1_76_0
52+
${THIRD_PARTY_NDK_DIR}/boost/boost_1_81_0
5353
${THIRD_PARTY_NDK_DIR}/double-conversion
5454
${THIRD_PARTY_NDK_DIR}/folly)
5555
target_compile_options(folly_runtime

ReactAndroid/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ SO_LOADER_VERSION=0.10.4
2626
SWIPEREFRESH_LAYOUT_VERSION=1.0.0
2727

2828
# Native Dependency Versions
29-
BOOST_VERSION=1_76_0
29+
BOOST_VERSION=1_81_0
3030
DOUBLE_CONVERSION_VERSION=1.1.6
3131
FMT_VERSION=6.2.1
3232
FOLLY_VERSION=2021.07.22.00

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

ReactCommon/cxxreact/React-cxxreact.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Pod::Spec.new do |s|
3636
s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\"" }
3737
s.header_dir = "cxxreact"
3838

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

ReactCommon/jsi/React-jsi.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
s.header_dir = "jsi"
3838
s.default_subspec = "Default"
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"

third-party-podspecs/boost.podspec

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +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-
# PodToBuild does not support tar bz2 compression so we use tar.gz instead.
14-
spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz',
15-
:sha256 => '7bd7ddceec1a1dfdcbdb3e609b60d01739c38390a5f956385a12f3122049f0ca' } # jhgg was here
13+
spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.81.0/source/boost_1_81_0.tar.gz',
14+
:sha256 => '205666dea9f6a7cfed87c7a6dfbeb52a2c1b9de55712c9c1a87735d7181452b6' }
1615

1716
# Pinning to the same version as React.podspec.
1817
spec.platforms = { :ios => '11.0', :tvos => '11.0' }

0 commit comments

Comments
 (0)