File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
8484 python3 -m pip install --upgrade pip; \
8585 fi && \
8686 if echo ${BASE_IMAGE} | grep -q "debian" || echo ${BASE_IMAGE} | grep -q "ubuntu:24.04" ; then \
87- python3 -m pip install --break-system-packages numpy setuptools wheel pybind11 pytest; \
87+ python3 -m pip install --break-system-packages numpy setuptools wheel pybind11 pytest flatbuffers ; \
8888 else \
89- python3 -m pip install numpy setuptools wheel pybind11 pytest; \
89+ python3 -m pip install numpy setuptools wheel pybind11 pytest flatbuffers ; \
9090 fi && \
9191 rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
9292
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ SECONDS=0
3636--cmake_extra_defines=" CMAKE_TOOLCHAIN_FILE=$( pwd) /tool.cmake" \
3737--path_to_protoc_exe $( pwd) /cmake/external/protoc-${protobuf_ver} -linux-aarch_64/bin/protoc \
3838--use_tidl \
39- --build_wheel
39+ --build_wheel \
40+ --allow_running_as_root
4041
4142# chmod
4243chmod -R a+w $WORK_DIR /workarea
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ cd $WORK_DIR/workarea
1414# # package into a tarball
1515onnx_ver=$( get_yaml_value " onnxruntime" " onnx_ver" )
1616pkg_dist=${BASE_IMAGE//:/ }
17- DST_DIR=" onnx-${onnx_ver} + ${tidl_ver} -${pkg_dist} _aarch64"
17+ DST_DIR=" onnx-${onnx_ver} -${pkg_dist} _aarch64"
1818LIB_DIR=" onnxruntime/build/Linux/Release"
1919TARBALL=" ${DST_DIR} .tar.gz"
2020
You can’t perform that action at this time.
0 commit comments