Skip to content

Commit

Permalink
Fix swift dir is not present anymore in onnxruntime repo
Browse files Browse the repository at this point in the history
  • Loading branch information
HeavenVolkoff committed Feb 7, 2024
1 parent 594fab5 commit 4cd62c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stages/99-onnx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ curl_tar "https://github.com/microsoft/onnxruntime/archive/refs/tags/v${_version
sed -i 's/defined(__ANDROID__)/defined(__ANDROID__) \&\& (defined(__APPLE__) || defined(__GLIBC__) || defined(PLATFORM_IS_BSD))/g' onnx/onnxruntime/core/platform/posix/stacktrace.cc

# Remove unused components
rm -r onnx/{.*,requirements*.txt,*swift,*.py,cgmanifests,dockerfiles,objectivec,ORT_icon_for_light_bg.png,rust,samples,java,docs,orttraining,js,csharp,winml,onnxruntime/{wasm,test,tool,python,core/flatbuffers/ort_flatbuffers_py,contrib_ops/{js,rocm,cuda}}}
rm -r onnx/{.*,requirements*.txt,,*.py,cgmanifests,dockerfiles,objectivec,*.png,rust,samples,java,docs,orttraining,js,csharp,winml,onnxruntime/{wasm,test,tool,python,core/flatbuffers/ort_flatbuffers_py,contrib_ops/{js,rocm,cuda}}}

# Backup source
bak_src 'onnx'
Expand Down

0 comments on commit 4cd62c1

Please sign in to comment.