[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] shippable: fix build
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [PATCH] shippable: fix build |
Date: |
Wed, 20 Feb 2019 16:37:08 +0000 |
User-agent: |
mu4e 1.1.0; emacs 26.1 |
Paolo Bonzini <address@hidden> writes:
> It looks like something in netmap has changed and compilation fails:
>
> install -D libnetmap.a //usr/local/lib/libnetmap.a
> install: cannot stat libnetmap.a: No such file or directory
>
> Add an explicit "make" step to fix it.
I took an alternate approach as tracking another projects master seems
like a bad idea:
tests/docker: peg netmap code to a specific version
Tracking head is always going to be at the whims of the upstream.
Let's use a defined release so things don't magically change under us.
Signed-off-by: Alex Bennée <address@hidden>
1 file changed, 1 insertion(+)
tests/docker/dockerfiles/debian-amd64.docker | 1 +
modified tests/docker/dockerfiles/debian-amd64.docker
@@ -33,6 +33,7 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \
apt-get install -y --no-install-recommends \
linux-headers-amd64
RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap
+RUN cd /usr/src/netmap && git checkout v11.3
RUN cd /usr/src/netmap/LINUX && ./configure --no-drivers --no-apps
--kernel-dir=$(ls -d /usr/src/linux-headers-*-amd64) && make install
ENV QEMU_CONFIGURE_OPTS --enable-netmap
<snip>
--
Alex Bennée
Re: [Qemu-devel] [PATCH] shippable: fix build, Philippe Mathieu-Daudé, 2019/02/20