From b77948e33bc5e0df422fffca3b4c9253f611d298 Mon Sep 17 00:00:00 2001 From: Kudo Chien Date: Fri, 16 Jul 2021 15:11:34 -0700 Subject: [PATCH] Upgrade folly to 2021.06.28.00 and boost to 1.76.0 (#31840) Summary: 1. [ios] upgrade folly to 2021.06.28.00 which aligned to android. 2. folly compile setting from c++14 -> c++17: _this folly requires c++17 for `std::unordered_map::insert_or_assign`._ 3. boost 1.63.0 -> 1.76.0: _the old boost does not support c++17._ 4. deprecating react-native-community/boost-for-react-native: _by cocoapods installer, we could download the official target._ ## Changelog [iOS] [Changed] - Upgrade folly to 2021.06.28.00 and boost to 1.76.0 Pull Request resolved: https://github.com/facebook/react-native/pull/31840 Test Plan: CI passed Reviewed By: fkgozali Differential Revision: D29668480 Pulled By: yungsters fbshipit-source-id: 98eae9ca47f489dcea91974e6f5e9dcb4d66c40c --- Libraries/Blob/React-RCTBlob.podspec | 2 +- Libraries/Image/React-RCTImage.podspec | 2 +- Libraries/LinkingIOS/React-RCTLinking.podspec | 2 +- .../React-RCTAnimation.podspec | 2 +- Libraries/Network/React-RCTNetwork.podspec | 2 +- .../React-RCTPushNotification.podspec | 2 +- Libraries/Settings/React-RCTSettings.podspec | 2 +- Libraries/TypeSafety/RCTTypeSafety.podspec | 2 +- .../Vibration/React-RCTVibration.podspec | 2 +- React-Core.podspec | 4 +- React/CoreModules/React-CoreModules.podspec | 2 +- .../FBReactNativeSpec.podspec | 2 +- React/React-RCTFabric.podspec | 6 +- React/third-party.xcconfig | 2 +- ReactCommon/React-Fabric.podspec | 4 +- ReactCommon/ReactCommon.podspec | 4 +- .../callinvoker/React-callinvoker.podspec | 2 +- ReactCommon/cxxreact/React-cxxreact.podspec | 6 +- ReactCommon/hermes/React-hermes.podspec | 4 +- ReactCommon/jsi/React-jsi.podspec | 6 +- .../jsiexecutor/React-jsiexecutor.podspec | 4 +- .../renderer/graphics/React-graphics.podspec | 4 +- .../reactperflogger/React-perflogger.podspec | 2 +- .../React-runtimeexecutor.podspec | 2 +- packages/rn-tester/Podfile.lock | 206 +++++++++--------- .../rn-tester/RCTTest/React-RCTTest.podspec | 2 +- scripts/react_native_pods.rb | 1 + third-party-podspecs/RCT-Folly.podspec | 15 +- third-party-podspecs/boost.podspec | 23 ++ 29 files changed, 173 insertions(+), 146 deletions(-) create mode 100644 third-party-podspecs/boost.podspec diff --git a/Libraries/Blob/React-RCTBlob.podspec b/Libraries/Blob/React-RCTBlob.podspec index ad8de5c22d5849..8abdf76d175138 100644 --- a/Libraries/Blob/React-RCTBlob.podspec +++ b/Libraries/Blob/React-RCTBlob.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' Pod::Spec.new do |s| s.name = "React-RCTBlob" diff --git a/Libraries/Image/React-RCTImage.podspec b/Libraries/Image/React-RCTImage.podspec index 73fda1a8e35119..6990a42272b28c 100644 --- a/Libraries/Image/React-RCTImage.podspec +++ b/Libraries/Image/React-RCTImage.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' Pod::Spec.new do |s| s.name = "React-RCTImage" diff --git a/Libraries/LinkingIOS/React-RCTLinking.podspec b/Libraries/LinkingIOS/React-RCTLinking.podspec index 1c45bf44a171b1..3f7bc5df50e9ed 100644 --- a/Libraries/LinkingIOS/React-RCTLinking.podspec +++ b/Libraries/LinkingIOS/React-RCTLinking.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' Pod::Spec.new do |s| s.name = "React-RCTLinking" diff --git a/Libraries/NativeAnimation/React-RCTAnimation.podspec b/Libraries/NativeAnimation/React-RCTAnimation.podspec index 5191a15cb7f94e..32b825af104318 100644 --- a/Libraries/NativeAnimation/React-RCTAnimation.podspec +++ b/Libraries/NativeAnimation/React-RCTAnimation.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' Pod::Spec.new do |s| s.name = "React-RCTAnimation" diff --git a/Libraries/Network/React-RCTNetwork.podspec b/Libraries/Network/React-RCTNetwork.podspec index 602d3670051e3a..4cbac0f54de3f9 100644 --- a/Libraries/Network/React-RCTNetwork.podspec +++ b/Libraries/Network/React-RCTNetwork.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' Pod::Spec.new do |s| s.name = "React-RCTNetwork" diff --git a/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec b/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec index 4c2232d044046e..c12a618c27982e 100644 --- a/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +++ b/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' Pod::Spec.new do |s| s.name = "React-RCTPushNotification" diff --git a/Libraries/Settings/React-RCTSettings.podspec b/Libraries/Settings/React-RCTSettings.podspec index 68a43df5dfa345..820473dd4d7ca4 100644 --- a/Libraries/Settings/React-RCTSettings.podspec +++ b/Libraries/Settings/React-RCTSettings.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' Pod::Spec.new do |s| s.name = "React-RCTSettings" diff --git a/Libraries/TypeSafety/RCTTypeSafety.podspec b/Libraries/TypeSafety/RCTTypeSafety.podspec index 4fa95bcd96d790..c38f320c975071 100644 --- a/Libraries/TypeSafety/RCTTypeSafety.podspec +++ b/Libraries/TypeSafety/RCTTypeSafety.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' Pod::Spec.new do |s| s.name = "RCTTypeSafety" diff --git a/Libraries/Vibration/React-RCTVibration.podspec b/Libraries/Vibration/React-RCTVibration.podspec index c8dfa06bde26cf..8dd0c0b5a4a428 100644 --- a/Libraries/Vibration/React-RCTVibration.podspec +++ b/Libraries/Vibration/React-RCTVibration.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' Pod::Spec.new do |s| s.name = "React-RCTVibration" diff --git a/React-Core.podspec b/React-Core.podspec index cfe6821232158c..3e6f5e9bfef3cf 100644 --- a/React-Core.podspec +++ b/React-Core.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' boost_compiler_flags = '-Wno-documentation' header_subspecs = { @@ -48,7 +48,7 @@ Pod::Spec.new do |s| s.header_dir = "React" s.framework = "JavaScriptCore" s.library = "stdc++" - s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-hermes\" \"${PODS_ROOT}/Headers/Public/hermes-engine\"", "DEFINES_MODULE" => "YES" } + s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-hermes\" \"${PODS_ROOT}/Headers/Public/hermes-engine\"", "DEFINES_MODULE" => "YES" } s.user_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/Headers/Private/React-Core\""} s.default_subspec = "Default" diff --git a/React/CoreModules/React-CoreModules.podspec b/React/CoreModules/React-CoreModules.podspec index 751b4719dca49b..e03116d6d63518 100644 --- a/React/CoreModules/React-CoreModules.podspec +++ b/React/CoreModules/React-CoreModules.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' Pod::Spec.new do |s| s.name = "React-CoreModules" diff --git a/React/FBReactNativeSpec/FBReactNativeSpec.podspec b/React/FBReactNativeSpec/FBReactNativeSpec.podspec index 6d35023920bb2d..32a4bf8cb41960 100644 --- a/React/FBReactNativeSpec/FBReactNativeSpec.podspec +++ b/React/FBReactNativeSpec/FBReactNativeSpec.podspec @@ -18,7 +18,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' Pod::Spec.new do |s| s.name = "FBReactNativeSpec" diff --git a/React/React-RCTFabric.podspec b/React/React-RCTFabric.podspec index b6fceebb3dd674..e0b590861cf880 100644 --- a/React/React-RCTFabric.podspec +++ b/React/React-RCTFabric.podspec @@ -18,7 +18,7 @@ end folly_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1' folly_compiler_flags = folly_flags + ' ' + '-Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' boost_compiler_flags = '-Wno-documentation' Pod::Spec.new do |s| @@ -37,8 +37,8 @@ Pod::Spec.new do |s| s.header_dir = "React" s.framework = "JavaScriptCore" s.library = "stdc++" - s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/Headers/Private/React-Core\"" } - s.xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/glog\" \"$(PODS_ROOT)/RCT-Folly\"", + s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/Headers/Private/React-Core\"" } + s.xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/glog\" \"$(PODS_ROOT)/RCT-Folly\"", "OTHER_CFLAGS" => "$(inherited) -DRN_FABRIC_ENABLED" + " " + folly_flags } s.dependency "React-Core", version diff --git a/React/third-party.xcconfig b/React/third-party.xcconfig index 579c50314c0665..683e73b1ebb442 100644 --- a/React/third-party.xcconfig +++ b/React/third-party.xcconfig @@ -8,5 +8,5 @@ // LICENSE file in the root directory of this source tree. // -HEADER_SEARCH_PATHS = $(SRCROOT)/../third-party/boost_1_63_0 $(SRCROOT)/../third-party/folly-2021.04.26.00 $(SRCROOT)/../third-party/glog-0.3.5/src +HEADER_SEARCH_PATHS = $(SRCROOT)/../third-party/boost_1_63_0 $(SRCROOT)/../third-party/folly-2021.06.28.00 $(SRCROOT)/../third-party/glog-0.3.5/src OTHER_CFLAGS = -DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 diff --git a/ReactCommon/React-Fabric.podspec b/ReactCommon/React-Fabric.podspec index 9b17fe20e2d95b..0ce618ec6f5346 100644 --- a/ReactCommon/React-Fabric.podspec +++ b/ReactCommon/React-Fabric.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' folly_dep_name = 'RCT-Folly/Fabric' boost_compiler_flags = '-Wno-documentation' @@ -82,7 +82,7 @@ Pod::Spec.new do |s| ss.source_files = "react/renderer/core/**/*.{m,mm,cpp,h}" ss.exclude_files = "react/renderer/core/tests" ss.header_dir = "react/renderer/core" - ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/RCT-Folly\"" } + ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/RCT-Folly\"" } end s.subspec "componentregistry" do |ss| diff --git a/ReactCommon/ReactCommon.podspec b/ReactCommon/ReactCommon.podspec index 6e00f648449093..ce4f0fc2d21b20 100644 --- a/ReactCommon/ReactCommon.podspec +++ b/ReactCommon/ReactCommon.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' boost_compiler_flags = '-Wno-documentation' Pod::Spec.new do |s| @@ -32,7 +32,7 @@ Pod::Spec.new do |s| s.source = source s.header_dir = "ReactCommon" # Use global header_dir for all subspecs for use_frameworks! compatibility s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags - s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/Headers/Private/React-Core\"", + s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/Headers/Private/React-Core\"", "USE_HEADERMAP" => "YES", "CLANG_CXX_LANGUAGE_STANDARD" => "c++14" } diff --git a/ReactCommon/callinvoker/React-callinvoker.podspec b/ReactCommon/callinvoker/React-callinvoker.podspec index f132acd213b6bd..1a6adb5ce657da 100644 --- a/ReactCommon/callinvoker/React-callinvoker.podspec +++ b/ReactCommon/callinvoker/React-callinvoker.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' boost_compiler_flags = '-Wno-documentation' Pod::Spec.new do |s| diff --git a/ReactCommon/cxxreact/React-cxxreact.podspec b/ReactCommon/cxxreact/React-cxxreact.podspec index 4b9b11793af0d9..c007973d351087 100644 --- a/ReactCommon/cxxreact/React-cxxreact.podspec +++ b/ReactCommon/cxxreact/React-cxxreact.podspec @@ -18,7 +18,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' boost_compiler_flags = '-Wno-documentation' Pod::Spec.new do |s| @@ -33,10 +33,10 @@ Pod::Spec.new do |s| s.source_files = "*.{cpp,h}" s.exclude_files = "SampleCxxModule.*" s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags - s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\"" } + s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\"" } s.header_dir = "cxxreact" - s.dependency "boost-for-react-native", "1.63.0" + s.dependency "boost", "1.76.0" s.dependency "DoubleConversion" s.dependency "RCT-Folly", folly_version s.dependency "glog" diff --git a/ReactCommon/hermes/React-hermes.podspec b/ReactCommon/hermes/React-hermes.podspec index 3ff062eb81093e..3f1075e5230937 100644 --- a/ReactCommon/hermes/React-hermes.podspec +++ b/ReactCommon/hermes/React-hermes.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_HAVE_CLOCK_GETTIME=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' boost_compiler_flags = '-Wno-documentation' Pod::Spec.new do |s| @@ -36,7 +36,7 @@ Pod::Spec.new do |s| s.public_header_files = "executor/HermesExecutorFactory.h" s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags s.pod_target_xcconfig = { - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/..\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/libevent/include\"", + "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/..\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/libevent/include\"", "GCC_PREPROCESSOR_DEFINITIONS" => "HERMES_ENABLE_DEBUGGER=1", } s.header_dir = "reacthermes" diff --git a/ReactCommon/jsi/React-jsi.podspec b/ReactCommon/jsi/React-jsi.podspec index 9b32264f9072b4..73ef7086b87955 100644 --- a/ReactCommon/jsi/React-jsi.podspec +++ b/ReactCommon/jsi/React-jsi.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' boost_compiler_flags = '-Wno-documentation' Pod::Spec.new do |s| @@ -33,11 +33,11 @@ Pod::Spec.new do |s| s.exclude_files = "**/test/*" s.framework = "JavaScriptCore" s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags - s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\"" } + s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\"" } s.header_dir = "jsi" s.default_subspec = "Default" - s.dependency "boost-for-react-native", "1.63.0" + s.dependency "boost", "1.76.0" s.dependency "DoubleConversion" s.dependency "RCT-Folly", folly_version s.dependency "glog" diff --git a/ReactCommon/jsiexecutor/React-jsiexecutor.podspec b/ReactCommon/jsiexecutor/React-jsiexecutor.podspec index 7f2dbbc7ec3e94..44ff6b91b07739 100644 --- a/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +++ b/ReactCommon/jsiexecutor/React-jsiexecutor.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' boost_compiler_flags = '-Wno-documentation' Pod::Spec.new do |s| @@ -31,7 +31,7 @@ Pod::Spec.new do |s| s.source = source s.source_files = "jsireact/*.{cpp,h}" s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags - s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\"" } + s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\"" } s.header_dir = "jsireact" s.dependency "React-cxxreact", version diff --git a/ReactCommon/react/renderer/graphics/React-graphics.podspec b/ReactCommon/react/renderer/graphics/React-graphics.podspec index 3226ea93026c58..e67f8f506a412d 100644 --- a/ReactCommon/react/renderer/graphics/React-graphics.podspec +++ b/ReactCommon/react/renderer/graphics/React-graphics.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' boost_compiler_flags = '-Wno-documentation' Pod::Spec.new do |s| @@ -36,7 +36,7 @@ Pod::Spec.new do |s| "platform/android", "platform/cxx" s.header_dir = "react/renderer/graphics" - s.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_TARGET_SRCROOT)/../../../\" \"$(PODS_ROOT)/RCT-Folly\"" } + s.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_TARGET_SRCROOT)/../../../\" \"$(PODS_ROOT)/RCT-Folly\"" } s.dependency "RCT-Folly/Fabric", folly_version end diff --git a/ReactCommon/reactperflogger/React-perflogger.podspec b/ReactCommon/reactperflogger/React-perflogger.podspec index 75b88cdd94d79b..3ddf5b21200cd0 100644 --- a/ReactCommon/reactperflogger/React-perflogger.podspec +++ b/ReactCommon/reactperflogger/React-perflogger.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' boost_compiler_flags = '-Wno-documentation' Pod::Spec.new do |s| diff --git a/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec b/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec index fc4ffd161ef9bb..59cb52b5971dbd 100644 --- a/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec +++ b/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' boost_compiler_flags = '-Wno-documentation' Pod::Spec.new do |s| diff --git a/packages/rn-tester/Podfile.lock b/packages/rn-tester/Podfile.lock index 5d578067efbaeb..e66a0b252012cb 100644 --- a/packages/rn-tester/Podfile.lock +++ b/packages/rn-tester/Podfile.lock @@ -1,10 +1,10 @@ PODS: - - boost-for-react-native (1.63.0) + - boost (1.76.0) - CocoaAsyncSocket (7.6.5) - DoubleConversion (1.1.6) - FBLazyVector (1000.0.0) - FBReactNativeSpec (1000.0.0): - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-Core (= 1000.0.0) @@ -74,26 +74,26 @@ PODS: - glog (0.3.5) - libevent (2.1.12) - OpenSSL-Universal (1.1.180) - - RCT-Folly (2021.04.26.00): - - boost-for-react-native + - RCT-Folly (2021.06.28.00): + - boost - DoubleConversion - fmt (~> 6.2.1) - glog - - RCT-Folly/Default (= 2021.04.26.00) - - RCT-Folly/Default (2021.04.26.00): - - boost-for-react-native + - RCT-Folly/Default (= 2021.06.28.00) + - RCT-Folly/Default (2021.06.28.00): + - boost - DoubleConversion - fmt (~> 6.2.1) - glog - - RCT-Folly/Fabric (2021.04.26.00): - - boost-for-react-native + - RCT-Folly/Fabric (2021.06.28.00): + - boost - DoubleConversion - fmt (~> 6.2.1) - glog - RCTRequired (1000.0.0) - RCTTypeSafety (1000.0.0): - FBLazyVector (= 1000.0.0) - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - React-Core (= 1000.0.0) - React (1000.0.0): @@ -112,7 +112,7 @@ PODS: - React-callinvoker (1000.0.0) - React-Core (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default (= 1000.0.0) - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -121,7 +121,7 @@ PODS: - Yoga - React-Core/CoreModulesHeaders (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -130,7 +130,7 @@ PODS: - Yoga - React-Core/Default (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) - React-jsiexecutor (= 1000.0.0) @@ -138,7 +138,7 @@ PODS: - Yoga - React-Core/DevSupport (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default (= 1000.0.0) - React-Core/RCTWebSocket (= 1000.0.0) - React-cxxreact (= 1000.0.0) @@ -149,7 +149,7 @@ PODS: - Yoga - React-Core/RCTActionSheetHeaders (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -158,7 +158,7 @@ PODS: - Yoga - React-Core/RCTAnimationHeaders (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -167,7 +167,7 @@ PODS: - Yoga - React-Core/RCTBlobHeaders (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -176,7 +176,7 @@ PODS: - Yoga - React-Core/RCTImageHeaders (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -185,7 +185,7 @@ PODS: - Yoga - React-Core/RCTLinkingHeaders (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -194,7 +194,7 @@ PODS: - Yoga - React-Core/RCTNetworkHeaders (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -203,7 +203,7 @@ PODS: - Yoga - React-Core/RCTPushNotificationHeaders (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -212,7 +212,7 @@ PODS: - Yoga - React-Core/RCTSettingsHeaders (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -221,7 +221,7 @@ PODS: - Yoga - React-Core/RCTTextHeaders (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -230,7 +230,7 @@ PODS: - Yoga - React-Core/RCTVibrationHeaders (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -239,7 +239,7 @@ PODS: - Yoga - React-Core/RCTWebSocket (1000.0.0): - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/Default (= 1000.0.0) - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -248,24 +248,24 @@ PODS: - Yoga - React-CoreModules (1000.0.0): - FBReactNativeSpec (= 1000.0.0) - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - RCTTypeSafety (= 1000.0.0) - React-Core/CoreModulesHeaders (= 1000.0.0) - React-jsi (= 1000.0.0) - React-RCTImage (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-cxxreact (1000.0.0): - - boost-for-react-native (= 1.63.0) + - boost (= 1.76.0) - DoubleConversion - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-callinvoker (= 1000.0.0) - React-jsi (= 1000.0.0) - React-jsinspector (= 1000.0.0) - React-perflogger (= 1000.0.0) - React-runtimeexecutor (= 1000.0.0) - React-Fabric (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-Fabric/animations (= 1000.0.0) @@ -293,7 +293,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/animations (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -301,7 +301,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/attributedstring (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -309,7 +309,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/better (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -317,7 +317,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/componentregistry (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -325,7 +325,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/componentregistrynative (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -333,7 +333,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-Fabric/components/activityindicator (= 1000.0.0) @@ -355,7 +355,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/activityindicator (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -363,7 +363,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/image (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -371,7 +371,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/inputaccessory (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -379,7 +379,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/legacyviewmanagerinterop (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -387,7 +387,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/modal (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -395,7 +395,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/rncore (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -403,7 +403,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/root (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -411,7 +411,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/safeareaview (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -419,7 +419,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/scrollview (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -427,7 +427,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/slider (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -435,7 +435,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/text (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -443,7 +443,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/textinput (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -451,7 +451,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/unimplementedview (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -459,7 +459,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/components/view (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -468,7 +468,7 @@ PODS: - ReactCommon/turbomodule/core (= 1000.0.0) - Yoga - React-Fabric/config (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -476,7 +476,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/core (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -484,7 +484,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/debug_core (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -492,7 +492,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/debug_renderer (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -500,7 +500,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/imagemanager (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -509,7 +509,7 @@ PODS: - React-RCTImage (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/leakchecker (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -517,7 +517,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/mounting (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -525,7 +525,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/runtimescheduler (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -533,7 +533,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/scheduler (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -541,7 +541,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/telemetry (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -549,7 +549,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/templateprocessor (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -557,7 +557,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/textlayoutmanager (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-Fabric/uimanager @@ -566,7 +566,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/uimanager (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -574,7 +574,7 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/utils (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - RCTRequired (= 1000.0.0) - RCTTypeSafety (= 1000.0.0) - React-graphics (= 1000.0.0) @@ -582,27 +582,27 @@ PODS: - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-graphics (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - React-jsi (1000.0.0): - - boost-for-react-native (= 1.63.0) + - boost (= 1.76.0) - DoubleConversion - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-jsi/Default (= 1000.0.0) - React-jsi/Default (1000.0.0): - - boost-for-react-native (= 1.63.0) + - boost (= 1.76.0) - DoubleConversion - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-jsi/Fabric (1000.0.0): - - boost-for-react-native (= 1.63.0) + - boost (= 1.76.0) - DoubleConversion - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-jsiexecutor (1000.0.0): - DoubleConversion - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-cxxreact (= 1000.0.0) - React-jsi (= 1000.0.0) - React-perflogger (= 1000.0.0) @@ -612,27 +612,27 @@ PODS: - React-Core/RCTActionSheetHeaders (= 1000.0.0) - React-RCTAnimation (1000.0.0): - FBReactNativeSpec (= 1000.0.0) - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - RCTTypeSafety (= 1000.0.0) - React-Core/RCTAnimationHeaders (= 1000.0.0) - React-jsi (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-RCTBlob (1000.0.0): - FBReactNativeSpec (= 1000.0.0) - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/RCTBlobHeaders (= 1000.0.0) - React-Core/RCTWebSocket (= 1000.0.0) - React-jsi (= 1000.0.0) - React-RCTNetwork (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-RCTFabric (1000.0.0): - - RCT-Folly/Fabric (= 2021.04.26.00) + - RCT-Folly/Fabric (= 2021.06.28.00) - React-Core (= 1000.0.0) - React-Fabric (= 1000.0.0) - React-RCTImage (= 1000.0.0) - React-RCTImage (1000.0.0): - FBReactNativeSpec (= 1000.0.0) - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - RCTTypeSafety (= 1000.0.0) - React-Core/RCTImageHeaders (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -645,7 +645,7 @@ PODS: - ReactCommon/turbomodule/core (= 1000.0.0) - React-RCTNetwork (1000.0.0): - FBReactNativeSpec (= 1000.0.0) - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - RCTTypeSafety (= 1000.0.0) - React-Core/RCTNetworkHeaders (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -658,13 +658,13 @@ PODS: - ReactCommon/turbomodule/core (= 1000.0.0) - React-RCTSettings (1000.0.0): - FBReactNativeSpec (= 1000.0.0) - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - RCTTypeSafety (= 1000.0.0) - React-Core/RCTSettingsHeaders (= 1000.0.0) - React-jsi (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) - React-RCTTest (1000.0.0): - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core (= 1000.0.0) - React-CoreModules (= 1000.0.0) - React-jsi (= 1000.0.0) @@ -673,7 +673,7 @@ PODS: - React-Core/RCTTextHeaders (= 1000.0.0) - React-RCTVibration (1000.0.0): - FBReactNativeSpec (= 1000.0.0) - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-Core/RCTVibrationHeaders (= 1000.0.0) - React-jsi (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) @@ -682,7 +682,7 @@ PODS: - ReactCommon/turbomodule/core (1000.0.0): - DoubleConversion - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-callinvoker (= 1000.0.0) - React-Core (= 1000.0.0) - React-cxxreact (= 1000.0.0) @@ -691,7 +691,7 @@ PODS: - ReactCommon/turbomodule/samples (1000.0.0): - DoubleConversion - glog - - RCT-Folly (= 2021.04.26.00) + - RCT-Folly (= 2021.06.28.00) - React-callinvoker (= 1000.0.0) - React-Core (= 1000.0.0) - React-cxxreact (= 1000.0.0) @@ -703,6 +703,7 @@ PODS: - Yoga (~> 1.14) DEPENDENCIES: + - boost (from `../../third-party-podspecs/boost.podspec`) - DoubleConversion (from `../../third-party-podspecs/DoubleConversion.podspec`) - FBLazyVector (from `../../Libraries/FBLazyVector`) - FBReactNativeSpec (from `../../React/FBReactNativeSpec`) @@ -765,7 +766,6 @@ DEPENDENCIES: SPEC REPOS: trunk: - - boost-for-react-native - CocoaAsyncSocket - Flipper - Flipper-Boost-iOSX @@ -782,6 +782,8 @@ SPEC REPOS: - YogaKit EXTERNAL SOURCES: + boost: + :podspec: "../../third-party-podspecs/boost.podspec" DoubleConversion: :podspec: "../../third-party-podspecs/DoubleConversion.podspec" FBLazyVector: @@ -850,11 +852,11 @@ EXTERNAL SOURCES: :path: "../../ReactCommon/yoga" SPEC CHECKSUMS: - boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c + boost: a7c83b31436843459a1961bfd74b96033dc77234 CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DoubleConversion: 831926d9b8bf8166fd87886c4abab286c2422662 FBLazyVector: b81a2b70c72d8b0aefb652cea22c11e9ffd02949 - FBReactNativeSpec: 9317c06a8fcc6ff3de6f045d45186523d4fe3458 + FBReactNativeSpec: ce190a91d6e289e5fb1fb2414c90d16cb8567ab8 Flipper: b1fddf9a17c32097b2b4c806ad158b2f36bb2692 Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c Flipper-DoubleConversion: 57ffbe81ef95306cc9e69c4aa3aeeeeb58a6a28c @@ -868,34 +870,34 @@ SPEC CHECKSUMS: glog: 5337263514dd6f09803962437687240c5dc39aa4 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 OpenSSL-Universal: 1aa4f6a6ee7256b83db99ec1ccdaa80d10f9af9b - RCT-Folly: 0dd9e1eb86348ecab5ba76f910b56f4b5fef3c46 + RCT-Folly: db8170f3a20daeced0bf1619a7886998dd7679ec RCTRequired: af2d6080a4b9ba0885b28ca78879a92066c71cab - RCTTypeSafety: f5405e0143bb2addae97ce33e4c87d9284a48fe2 + RCTTypeSafety: c8f5da77a23b354f35637c81f07c1f702044b4c6 React: f64c9f6db5428717922a3292ba6a448615a2e143 React-callinvoker: c5d61e29df57793f0dc10ec2bc01c846f863e51f - React-Core: f5b65410a2ecdbb4560f23dc4525588390b0b3b1 - React-CoreModules: 818e75a3eb8f431be8fc3d8c8eb15206b3f52e81 - React-cxxreact: fa0884110d142f7e1600a86ae769d5fd43ec8a69 - React-Fabric: f31c68913f46481d01e09a6f44a5a6bc8664cfdd - React-graphics: 57cb7ea16c092a9953c96549a29b49d5e207c25c - React-jsi: 93fc7d193c0499a9b10157655e6f1e755f67b3d0 - React-jsiexecutor: 1e995bed2de8965703917c562fe35ec023a68ae5 + React-Core: 15d3fbb3cc863fa9990cc14c303a021cc66892a5 + React-CoreModules: 5ee1ed4f8b7f8bdbd45ed155a15c601dca9c73dd + React-cxxreact: 20a63475c83c5450442c754305738c6db6070214 + React-Fabric: 7641eab239c5fc5669ef22ea08cf383f9066fdcb + React-graphics: 3ea907482e46997c9a14c60521918985f9425504 + React-jsi: 7cc3d3691803478047e7d2c8eb5d4c2f9c6d2922 + React-jsiexecutor: 02ed9d4a28a8acf44788b4697e13c4aadc42cf72 React-jsinspector: 7d223826b0e7a61b3540c21b9eca2603b1d4e823 React-perflogger: fe66bd6d8b17ebcfdf0159bf41fe28d8035ac20c React-RCTActionSheet: 3131a0b9280aa0e51bdf54b3d79aecd8503db62c - React-RCTAnimation: 6da530a8df8b3d33fb1f3743dcf1edeffa547cac - React-RCTBlob: ae75308b7097049c0c41319e171ba07a74783a81 - React-RCTFabric: 378a2432b9e2afae5b304f56fa4f3a0d802ca89d - React-RCTImage: ec3ee93093128e4acb3c5c4a7ead7d490154f124 + React-RCTAnimation: 73ba515a4fab8ca55d15b41935547cdb45fa5e0b + React-RCTBlob: 2e817b4d0150c371c06eabc980a4a76f5c2f757b + React-RCTFabric: efd8d82066a040f612192d1ce57e767faace2801 + React-RCTImage: 04c55217a5bfb6c40cb25b64e304e3d62244cb58 React-RCTLinking: 559c9223212ab2824950883220582c5e29a6fcb2 - React-RCTNetwork: 26b845e36ae19fe497db021be2c4e7b1a69db21e + React-RCTNetwork: c829621bad40dcbdbae9da5b88b341218bbf9753 React-RCTPushNotification: fafeb247db030c4d3f0a098d729e49f62ed32b3f - React-RCTSettings: a5e305535f7f32ee35d2d7741309e421aee2bef4 - React-RCTTest: dfeff675d31fbdf0596e87ca68011fcbb69fee42 + React-RCTSettings: 5e7847825606de5698716dcd1a5f026dc6cd72d0 + React-RCTTest: 301130cab41008c4bf511f1a2772cdd7253a9cba React-RCTText: e9146b2c0550a83d1335bfe2553760070a2d75c7 - React-RCTVibration: 8501f7658810d80a2d7f1dcdaf2d257e3609e072 + React-RCTVibration: 1a58f6ab1ae5fad004119979b676cb5e912f2e44 React-runtimeexecutor: 4b0c6eb341c7d3ceb5e2385cb0fdb9bf701024f3 - ReactCommon: 19e102b75b4f384f2f017f3d6e973c78963d299d + ReactCommon: 877082c706646737624b505f7120052794ae75dd Yoga: c0d06f5380d34e939f55420669a60fe08b79bd75 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a diff --git a/packages/rn-tester/RCTTest/React-RCTTest.podspec b/packages/rn-tester/RCTTest/React-RCTTest.podspec index 9b95f15bda12cf..65bad06fcf12d5 100644 --- a/packages/rn-tester/RCTTest/React-RCTTest.podspec +++ b/packages/rn-tester/RCTTest/React-RCTTest.podspec @@ -17,7 +17,7 @@ else end folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.04.26.00' +folly_version = '2021.06.28.00' Pod::Spec.new do |s| s.name = "React-RCTTest" diff --git a/scripts/react_native_pods.rb b/scripts/react_native_pods.rb index 6dc33610c441c5..7e796d7c2b846d 100644 --- a/scripts/react_native_pods.rb +++ b/scripts/react_native_pods.rb @@ -51,6 +51,7 @@ def use_react_native! (options={}) pod 'DoubleConversion', :podspec => "#{prefix}/third-party-podspecs/DoubleConversion.podspec" pod 'glog', :podspec => "#{prefix}/third-party-podspecs/glog.podspec" + pod 'boost', :podspec => "#{prefix}/third-party-podspecs/boost.podspec" pod 'RCT-Folly', :podspec => "#{prefix}/third-party-podspecs/RCT-Folly.podspec" if fabric_enabled diff --git a/third-party-podspecs/RCT-Folly.podspec b/third-party-podspecs/RCT-Folly.podspec index a47e393ed7ab40..de8dd169e7a097 100644 --- a/third-party-podspecs/RCT-Folly.podspec +++ b/third-party-podspecs/RCT-Folly.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |spec| spec.name = 'RCT-Folly' - spec.version = '2021.04.26.00' + spec.version = '2021.06.28.00' spec.license = { :type => 'Apache License, Version 2.0' } spec.homepage = 'https://github.com/facebook/folly' spec.summary = 'An open-source C++ library developed and used at Facebook.' @@ -14,11 +14,11 @@ Pod::Spec.new do |spec| :tag => "v#{spec.version}" } spec.module_name = 'folly' spec.header_mappings_dir = '.' - spec.dependency 'boost-for-react-native' + spec.dependency 'boost' spec.dependency 'DoubleConversion' spec.dependency 'glog' spec.dependency 'fmt' , '~> 6.2.1' - spec.compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_HAVE_PTHREAD=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation' + spec.compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_HAVE_PTHREAD=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -faligned-new' spec.source_files = 'folly/String.cpp', 'folly/Conv.cpp', 'folly/Demangle.cpp', @@ -37,6 +37,7 @@ Pod::Spec.new do |spec| 'folly/hash/SpookyHashV2.cpp', 'folly/lang/Assume.cpp', 'folly/lang/CString.cpp', + 'folly/lang/Exception.cpp', 'folly/memory/detail/MallocImpl.cpp', 'folly/net/NetOps.cpp', 'folly/portability/SysUio.cpp', @@ -70,11 +71,11 @@ Pod::Spec.new do |spec| 'folly/portability/*.h' spec.libraries = "stdc++" spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO", - "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", - "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/libevent/include/\"" } + "CLANG_CXX_LANGUAGE_STANDARD" => "c++17", + "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/libevent/include/\"" } # TODO: The boost spec should really be selecting these files so that dependents of Folly can also access the required headers. - spec.user_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost-for-react-native\"" } + spec.user_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"" } spec.default_subspec = 'Default' @@ -110,7 +111,7 @@ Pod::Spec.new do |spec| 'folly/Try.cpp', 'folly/concurrency/CacheLocality.cpp', 'folly/experimental/{ExecutionObserver,ReadMostlySharedPtr,SingleWriterFixedHashMap,TLRefCount}.{h,cpp}', - 'folly/io/async/{AtomicNotificationQueue,AtomicNotificationQueue-inl,AsyncTimeout,DelayedDestruction,DelayedDestructionBase,EventBase,EventBaseManager,EventBaseAtomicNotificationQueue,EventBaseAtomicNotificationQueue-inl,EventBaseBackendBase,EventHandler,EventUtil,HHWheelTimer,HHWheelTimer-fwd,NotificationQueue,Request,TimeoutManager,VirtualEventBase}.{h,cpp}', + 'folly/io/async/{AtomicNotificationQueue,AtomicNotificationQueue-inl,AsyncTimeout,DelayedDestruction,DelayedDestructionBase,EventBase,EventBaseLocal,EventBaseManager,EventBaseAtomicNotificationQueue,EventBaseAtomicNotificationQueue-inl,EventBaseBackendBase,EventHandler,EventUtil,HHWheelTimer,HHWheelTimer-fwd,NotificationQueue,Request,TimeoutManager,VirtualEventBase}.{h,cpp}', 'folly/io/{Cursor,Cursor-inl,IOBuf,IOBufQueue}.{h,cpp}', 'folly/tracing/StaticTracepoint.{h,cpp}', 'folly/tracing/AsyncStack.{h,cpp}', diff --git a/third-party-podspecs/boost.podspec b/third-party-podspecs/boost.podspec new file mode 100644 index 00000000000000..356683c96fb3dc --- /dev/null +++ b/third-party-podspecs/boost.podspec @@ -0,0 +1,23 @@ +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this source tree. + +Pod::Spec.new do |spec| + spec.name = 'boost' + spec.version = '1.76.0' + spec.license = { :type => 'Boost Software License', :file => "LICENSE_1_0.txt" } + 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.76.0/source/boost_1_76_0.tar.bz2', + :sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' } + + # Pinning to the same version as React.podspec. + spec.platforms = { :ios => '11.0', :tvos => '11.0' } + spec.requires_arc = false + + spec.module_name = 'boost' + spec.header_dir = 'boost' + spec.preserve_path = 'boost' +end