[Mesa-dev] Is there a mesa Docker image available like on travis-ci? (was Re: [PATCH 1/2] gallium/targets/dri: Add libunwind to linker flags)

Emil Velikov emil.l.velikov at gmail.com
Tue Sep 12 11:26:27 UTC 2017


On 12 September 2017 at 11:17, Gert Wollny <gw.fossdev at gmail.com> wrote:
>
>> > This doesn't seem right. GALLIUM_COMMON_LIB_DEPS already has
>> > $(LIBUNWIND_LIBS) so this change should not be needed.
>>
>> I already started looking at this, but haven't been able to figure
>> out why in this specific configuration GALLIUM_COMMON_LIB_DEPS seems
>> to be empty, or at least it doesn't add libunwind.
>
> I kind of hit a wall trying to figure out what's going on: On
> Debian/Stretch  I can't reproduce it and  on travis-ci enabling verbose
> output cancels the build because the output gets larger than 4MB
> (so much for --disable-silent-rules).
>
> Is there a docker image available that resembles the travis-ci build
> environment as it is set up in mesa/.travis.yml (i.e. Ubuntu/Trusty
> with all the manually compiled packages)?
>
There isn't one that I know of. They are using stock Ubuntu (afaict)
so one should be able to reproduce/create one.

That aside, something like the following should help - do tweak as
applicable. Don't forget to trim down the targets - no need to build
unrelated stuff ;-)

-Emil

diff --git a/.travis.yml b/.travis.yml
index 246ad30eff4..e96e4901ed6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -374,7 +374,7 @@ script:
         --with-vulkan-drivers=$VULKAN_DRIVERS
         --disable-llvm-shared-libs
         &&
-      make && eval $MAKE_CHECK_COMMAND;
+      (make; make -j1 V=1; false);
     fi

   - if test "x$BUILD" = xscons; then


More information about the mesa-dev mailing list