Skip to content

demo: accel-config-demo updates #1764

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions demo/accel-config-demo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM debian:unstable-slim AS builder

RUN apt-get update && apt-get install -y --no-install-recommends libaccel-config-dev \
gcc g++ nasm make cmake autoconf automake libtool pkg-config git ca-certificates uuid-dev

RUN cd / && git clone --recurse-submodules --branch v1.1.2 --depth 1 https://github.com/intel/DML.git && \
mkdir DML/build && cd DML/build && \
cmake .. && \
make install && \
mv -v /usr/local/bin/tests /usr/local/bin/dml_tests && \
mv -v /usr/local/bin/tests_mt /usr/local/bin/dml_tests_mt

RUN cd / && git clone --recurse-submodules --depth 1 --branch v1.5.0 https://github.com/intel/qpl.git && \
mkdir qpl/build && cd qpl/build && \
cmake -DLOG_HW_INIT=ON .. && \
make install

FROM debian:unstable-slim

RUN apt-get update && apt-get install -y --no-install-recommends pciutils accel-config accel-config-test && rm -rf /var/lib/apt/lists/\*

RUN sed -i -e '420,429d;480,489d' /usr/libexec/accel-config/test/iaa_user_test_runner.sh
COPY --from=builder /usr/local /usr/local
COPY --from=builder /qpl/build/examples /usr/local/bin/

COPY dml-test.sh /usr/local/bin/
COPY qpl-test.sh /usr/local/bin/