File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,6 @@ RUN set -e ;\
4848 ./build.sh ${BUILDARGS} --build_shared_lib
4949# RUN ./build.sh ${BUILDARGS} --enable_pybind --build_wheel
5050
51- RUN ./pack.sh ${ONNXRUNTIME_VER} ${ARCH}
51+ RUN ./pack.sh ${ONNXRUNTIME_VER}
5252
5353RUN [ "cross-build-end" ]
Original file line number Diff line number Diff line change @@ -42,6 +42,6 @@ RUN set -e ;\
4242 ./build.sh ${BUILDARGS} --build_shared_lib
4343# RUN ./build.sh ${BUILDARGS} --enable_pybind --build_wheel
4444
45- RUN ./pack.sh ${ONNXRUNTIME_VER} ${ARCH}
45+ RUN ./pack.sh ${ONNXRUNTIME_VER}
4646
4747RUN [ "cross-build-end" ]
Original file line number Diff line number Diff line change 22
33set -e
44VER=" $1 "
5- PLATFORM=" $2 "
5+ PLATFORM=$( $READIES /bin/platform -t )
66
77mkdir -p pack/include pack/lib
88cp onnxruntime/build/Linux/MinSizeRel/libonnxruntime.so.${VER} pack/lib/
@@ -19,5 +19,5 @@ cp onnxruntime/include/onnxruntime/core/providers/cuda/cuda_provider_factory.h p
1919cd pack/lib/
2020ln -s libonnxruntime.so.${VER} libonnxruntime.so
2121cd ../..
22- mv pack onnxruntime-linux- ${PLATFORM} -${VER}
23- tar czf onnxruntime-linux- ${PLATFORM} -${VER} .tgz onnxruntime-linux -${PLATFORM} -${VER} /
22+ mv pack onnxruntime-${PLATFORM} -${VER}
23+ tar czf onnxruntime-${PLATFORM} -${VER} .tgz onnxruntime-${PLATFORM} -${VER} /
You can’t perform that action at this time.
0 commit comments