mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
* Update Dockerfile for ARM build and build description * Update BUILD.md for ARM build * Fix typo * Kezhan/renaming graph_base.h to graph.h (#95) * rename graph.h to graph_viewer.h * rename graph_base.h to graph.h * Implement StringNormalizer (#69) * Imlpement StringNormalizer Add mixed language tests, test case insentive path. * Create a locale on the fly. Default locale does not seem to create well. * Add CI language-pack-en to make default locale available. Catch and translate locale creation exception to make the message meaningful. * Make sure locales are configured on Ubuntu. * Split the CI pipelines (#94) * Add the split build badges (#96) * Split the CI pipelines * Update build bdge display table in README * Revert Softmax optimizations using openmp. (#97) Revert "Simpler unused parameter in #if defined() switch." This reverts commit6b00e6bb4d. Revert "Better opemmp parallel group count calculation in Softmax parallel running." This reverts commitc530064ebe. Revert "Optimize softmax cpu by parallel using openmp." This reverts commite7bdfa00db. * Delete logo as per marketing requirements (#98) * Update Dockerfile for ARM build and build description * Update BUILD.md for ARM build * Fix typo
33 lines
896 B
Text
33 lines
896 B
Text
FROM arm32v7/ubuntu:16.04
|
|
|
|
RUN apt-get update && apt-get install -y sudo build-essential curl libcurl4-openssl-dev libssl-dev wget python3 python3-pip python3-dev git
|
|
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
|
|
|
|
WORKDIR /code/cmake-3.12.3
|
|
RUN ./configure --system-curl
|
|
RUN make
|
|
RUN sudo make install
|
|
|
|
# Prepare onnxruntime Repo
|
|
RUN git clone --recursive https://github.com/Microsoft/onnxruntime
|
|
|
|
WORKDIR /code/onnxruntime
|
|
ARG BUILDTYPE=Debug
|
|
|
|
# Start the basic build
|
|
RUN ./build.sh --config ${BUILDTYPE}
|
|
|
|
# Build Shared Library
|
|
RUN ./build.sh --config ${BUILDTYPE} --build_shared_lib
|
|
|
|
# Build Python Binding
|
|
RUN ./build.sh --config ${BUILDTYPE} --enable_pybind
|
|
|
|
# Build Output
|
|
RUN ls -l /code/onnxruntime/build/Linux/Debug/*.so
|
|
RUN ls -l /code/onnxruntime/build/Linux/Debug/dist/*.whl
|