File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
tools/ci_build/github/linux Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ EXIT_CODE=1
1818uname -a
1919cd " $BINARY_DIR "
2020mv installed/usr/local $ARTIFACT_NAME
21+ mv $ARTIFACT_NAME /include/onnxruntime/* $ARTIFACT_NAME /include
22+ rmdir $ARTIFACT_NAME /include/onnxruntime
2123# Do not ship onnx_test_runner
2224rm -rf $ARTIFACT_NAME /bin
2325echo " Copy debug symbols in a separate file and strip the original binary."
2729 strip -S $BINARY_DIR /$ARTIFACT_NAME /lib/$LIB_NAME
2830 # copy the CoreML EP header for macOS build (libs with .dylib ext)
2931 cp $SOURCE_DIR /include/onnxruntime/core/providers/coreml/coreml_provider_factory.h $BINARY_DIR /$ARTIFACT_NAME /include
32+ else
33+ # Linux
34+ mv $ARTIFACT_NAME /lib64 $ARTIFACT_NAME /lib
3035fi
3136
3237# copy the README, licence and TPN
You can’t perform that action at this time.
0 commit comments