Skip to content
Snippets Groups Projects
Commit ff304092 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Docker] don't install XRT deps in finn_ci by default

parent dbebaa6d
No related branches found
No related tags found
No related merge requests found
...@@ -55,9 +55,16 @@ RUN apt-get install -y zip ...@@ -55,9 +55,16 @@ RUN apt-get install -y zip
RUN echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config RUN echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config
# XRT deps # XRT deps
# install vitis deps if required
ARG INSTALL_XRT_DEPS="0"
ARG XRT_DEB_VERSION="xrt_202010.2.7.766_18.04-amd64-xrt" ARG XRT_DEB_VERSION="xrt_202010.2.7.766_18.04-amd64-xrt"
RUN wget https://www.xilinx.com/bin/public/openDownload?filename=$XRT_DEB_VERSION.deb -O /tmp/$XRT_DEB_VERSION.deb RUN if [ "$INSTALL_XRT_DEPS" = "1" ] ; then \
RUN apt install -y /tmp/$XRT_DEB_VERSION.deb echo "Installing XRT: $XRT_DEB_VERSION"; \
wget https://www.xilinx.com/bin/public/openDownload?filename=$XRT_DEB_VERSION.deb -O /tmp/$XRT_DEB_VERSION.deb; \
apt install -y /tmp/$XRT_DEB_VERSION.deb; \
else \
echo "Skipping installation of XRT dependencies"; \
fi
# cloning dependency repos # cloning dependency repos
# finn-base # finn-base
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment