On Wed, Apr 4, 2018 at 10:25 AM, Matthias Klose <d...@debian.org> wrote:

> meson fails it's autopkg tests on i386.  simd is not in the base architecture 
> of
> the i386 target, so you probably should skip that test.

There are two things to note here:

1) the test is written so that it compiles all the things that the
compiler supports but then, at runtime, checks what the current
processor supports and runs that. If the current processor does not
have any SIMD support then it falls back to plain C code. The test
should run on every platform and CPU regardless of whether they have
SIMD or not.

2) as part of Meson's release gating, I run the full package build and
tests for Debian using a sid i386 pbuilder (under VMware currently).
The tests have passed on my machine. It does work as expected, at
least under some circumstances.

The question here is why is it failing in Ubuntu. This requires
debugging on the machine in question, roughly:

- install Meson
- cd into meson source root
- meson test\ cases/common/155\ simd builddir
- ninja -C builddir test

And then catting the log file that the test suite runner prints.
(which IIRC we should print in cases of error but for some reason
don't in this case)

You can also try running the test binary directly to see what it does,
it's in builddir/simdtest.

Reply via email to