Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jmduarte committed Apr 1, 2020
1 parent 3ecd1f0 commit 6ea16c4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
26 changes: 13 additions & 13 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/tools/xilinx/Vitis/*
/tools/xilinx/Vivado/*
/tools/xilinx/DocNav/*
/tools/xilinx/Model_Composer/*
/tools/xilinx/xic/*
/tools/xilinx/Vitis/2019.2/data/emulation/*
!/tools/xilinx/Vivado/2019.2/settings64.sh
!/tools/xilinx/Vitis/2019.2/.settings64-Vitis.sh
!/tools/xilinx/Vivado/2019.2/.settings64-Vivado.sh
!/tools/xilinx/DocNav/.settings64-DocNav.sh
!/tools/xilinx/Vitis/2019.2/bin
!/tools/xilinx/Model_Composer/2019.2/.settings64-Model_Composer.sh
!/tools/xilinx/Vivado/2019.2/include/*
/xilinx/Vitis/*
/xilinx/Vivado/*
/xilinx/DocNav/*
/xilinx/Model_Composer/*
/xilinx/xic/*
/xilinx/Vitis/2019.2/data/emulation/*
!/xilinx/Vivado/2019.2/settings64.sh
!/xilinx/Vitis/2019.2/.settings64-Vitis.sh
!/xilinx/Vivado/2019.2/.settings64-Vivado.sh
!/xilinx/DocNav/.settings64-DocNav.sh
!/xilinx/Vitis/2019.2/bin
!/xilinx/Model_Composer/2019.2/.settings64-Model_Composer.sh
!/xilinx/Vivado/2019.2/include/*
.dockerignore
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN git clone https://github.com/google/protobuf.git .
RUN ./autogen.sh && ./configure && make -j 30 && make install

WORKDIR /grpc/examples/grpc-trt-fgpa
RUN git clone https://github.com/drankincms/grpc-trt-fgpa.git .
RUN git clone https://github.com/FPGA4HEP/grpc-trt-fgpa -b alveo_facile .
ENV PKG_CONFIG_PATH /usr/local/lib/pkgconfig

RUN git submodule update --init
Expand All @@ -37,7 +37,7 @@ COPY xrt_201920.2.5.309_7.4.1708-x86_64-xrt.rpm /tmp/xrt_201920.2.5.309_7.4.1708
RUN yum -y localinstall /tmp/xrt_201920.2.5.309_7.4.1708-x86_64-xrt.rpm
RUN yum -y install boost-filesystem opencl-headers ocl-icd ocd-icd-devel clinfo

RUN --mount=type=bind,target=/tools,source=/tools source /opt/xilinx/xrt/setup.sh && source /tools/xilinx/Vivado/2019.2/settings64.sh && make -j 16
RUN --mount=type=bind,target=/xilinx,source=/xilinx source /opt/xilinx/xrt/setup.sh && source /xilinx/Vivado/2019.2/settings64.sh && make -j 16

WORKDIR /grpc/examples/grpc-trt-fgpa/hls4ml_c

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ https://www.xilinx.com/products/boards-and-kits/alveo/u250.html#gettingStarted

1. Download the Xilinx Runtime (XRT) RPM and put it in this directory.
2. Download the Vitis Design Environment and install on the host. (This is an interactive install, unfortunately).
3. As root, bind mount the Vitis /tools directory into this directory (e.g. `mount -o bind /vitis/tools tools`)
3. As root, bind mount the Vitis /xilinx directory into this directory (e.g. `mount -o bind /xilinx xilinx`)

Ensure that the `.dockerignore` file is present.

Expand Down

0 comments on commit 6ea16c4

Please sign in to comment.