Skip to content

Commit eac91a1

Browse files
committed
Update build config of onnxruntime to RelWithDebInfo
1 parent 513bb7c commit eac91a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

opt/build/onnxruntime/Dockerfile.x64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN apt-get install -y locales && \
2828
WORKDIR /build
2929

3030
ADD ./pack.sh /build/
31-
ARG BUILDTYPE=MinSizeRel
31+
ARG BUILDTYPE=RelWithDebInfo
3232
ARG BUILDARGS="--config ${BUILDTYPE} --parallel"
3333

3434
RUN git clone --single-branch --branch rel-${ONNXRUNTIME_VER} --recursive ${ONNXRUNTIME_REPO} onnxruntime

opt/build/onnxruntime/pack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VER="$1"
55
PLATFORM="$2"
66

77
mkdir -p pack/include pack/lib
8-
cp onnxruntime/build/Linux/MinSizeRel/libonnxruntime.so.${VER} pack/lib/
8+
cp onnxruntime/build/Linux/RelWithDebInfo/libonnxruntime.so.${VER} pack/lib/
99
cp onnxruntime/docs/C_API.md pack/
1010
cp onnxruntime/LICENSE pack/
1111
cp onnxruntime/README.md pack/

0 commit comments

Comments
 (0)