Remove hot path for pre-0.70.15 RN fix (#23382)

### Description
This undo the changes from #23281
This commit is contained in:
Jian Chen 2025-01-15 19:16:38 -05:00 committed by GitHub
parent 7cd08a6004
commit 331fc36b6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -198,30 +198,6 @@ stages:
workingDirectory: '$(Build.SourcesDirectory)/js/react_native/e2e'
displayName: Bootstrap Android and iOS e2e tests
# TODO: remove this once we upgrade the RN to post 0.70.15 or 0.73.3+ versions this is just a temporary workaround
- script: |
if [[ "$OSTYPE" == "darwin"* ]]; then
sed -i .bak "/boostorg.jfrog.io/c\\
spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2', " boost.podspec
else
sed -i .bak "/boostorg.jfrog.io/c\spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2', " boost.podspec
fi
rm -f boost.podspec.bak
workingDirectory: '$(Build.SourcesDirectory)/js/react_native/node_modules/react-native/third-party-podspecs'
displayName: Path the boost 1.76.0 source URL in boost.podspec js/react_native/node_modules/react-native/third-party-podspecs/boost.podspec
# TODO: remove this once we upgrade the RN to post 0.70.15 or 0.73.3+ versions this is just a temporary workaround
- script: |
if [[ "$OSTYPE" == "darwin"* ]]; then
sed -i .bak "/boostorg.jfrog.io/c\\
spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2', " boost.podspec
else
sed -i .bak "/boostorg.jfrog.io/c\spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2', " boost.podspec
fi
rm -f boost.podspec.bak
workingDirectory: '$(Build.SourcesDirectory)/js/react_native/e2e/node_modules/react-native/third-party-podspecs'
displayName: Path the boost 1.76.0 source URL in boost.podspec in js/react_native/e2e/node_modules/react-native/third-party-podspecs/boost.podspec
- script: |
ORT_C_LOCAL_POD_PATH=$(Build.BinariesDirectory)/ios-full-pod/onnxruntime-c \
pod install