Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


On Fri, May 08, 2015 at 04:53:49PM +0200, Miklos Vajna wrote:
On Fri, May 08, 2015 at 03:55:35PM +0200, Richard Cochran <richardcochran@gmail.com> wrote:
Ok, it is somehow related to the cross compile configuration.  The
'make cppunit.all' works as expected with a native build.

Isn't the very point of cross-compilation that the resulting binary is
not something you can run? If so, I find it a feature that unit tests
are not built / executed when cross-compiling. :-)

Yes, *I* would say so, but the LO build thinks otherwise!

I specifically did 'make build' in order to avoid the tests, but the
build system compiles the tests anyhow.  There are LOTS of other ways
in which cross compile is broken.  It seems clear that it really isn't
supported or tested, and so I don't expect too much.  My goal is just
to get it working, somehow, for a particular setup.

In any case:

if test "$cross_compiling" != "yes"; then
    libo_CHECK_SYSTEM_MODULE([cppunit],[CPPUNIT],[cppunit >= 1.12.0])
fi

in configure.ac where cppunit is disabled in case of cross-compiling.

Ok, I'll take a look.

Thanks,
Richard


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.