mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Updates ARMv7 Dockerfile to use newer CMake (#1017)
This commit is contained in:
parent
f5dfde33d0
commit
cb25fd4d8a
1 changed files with 4 additions and 4 deletions
|
|
@ -23,10 +23,10 @@ RUN pip3 install numpy
|
|||
|
||||
# Build the latest cmake
|
||||
WORKDIR /code
|
||||
RUN wget https://cmake.org/files/v3.12/cmake-3.12.3.tar.gz;
|
||||
RUN tar zxf cmake-3.12.3.tar.gz
|
||||
RUN wget https://github.com/Kitware/CMake/releases/download/v3.14.3/cmake-3.14.3.tar.gz
|
||||
RUN tar zxf cmake-3.14.3.tar.gz
|
||||
|
||||
WORKDIR /code/cmake-3.12.3
|
||||
WORKDIR /code/cmake-3.14.3
|
||||
RUN ./configure --system-curl
|
||||
RUN make
|
||||
RUN sudo make install
|
||||
|
|
@ -53,4 +53,4 @@ RUN ./build.sh ${BUILDARGS} --enable_pybind --build_wheel
|
|||
RUN ls -l /code/onnxruntime/build/Linux/${BUILDTYPE}/*.so
|
||||
RUN ls -l /code/onnxruntime/build/Linux/${BUILDTYPE}/dist/*.whl
|
||||
|
||||
RUN [ "cross-build-end" ]
|
||||
RUN [ "cross-build-end" ]
|
||||
|
|
|
|||
Loading…
Reference in a new issue