[LTP] [RFC PATCH 2/2] travis: Add 2x cross-compile ARM build

Cyril Hrubis chrubis@suse.cz
Wed Dec 13 17:06:25 CET 2017


Hi!
> > So the cross compilers are gcc-4.x and gcc-6.x? I ask since we just ask
> > for arm cross compilers without a version in the script below.
> Versions are 4.8.4 for both. It's actually visible in the log:
> 
> https://travis-ci.org/pevik-travis/ltp/jobs/315469429
> $ arm-linux-gnueabihf-gcc --version
> arm-linux-gnueabihf-gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) 4.8.4
> Copyright (C) 2013 Free Software Foundation, Inc.
> 
> https://travis-ci.org/pevik-travis/ltp/jobs/315469430
> $ aarch64-linux-gnu-gcc --version
> aarch64-linux-gnu-gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) 4.8.4
>
> > I that is true I suppose that the cross compiler versions may change
> > without us noticing, which is not that big deal but it may be better to
> > select specific version instead if possible.
> The reason why it's not fixed is that it's possible only with special repository
> ubuntu-toolchain-r-test, which is used for other jobs. AFAIK they don't provide arm
> toolchain, that's why I used standard trusty repository for ARM.
> 
> So is that ok as it is?

I guess so.

It's a smoke test so we have to keep the number of build reasonably
small and having arm builds is agruably more important than all possible
gcc flavors. Moreover we still run gcc-4.9 and gcc-6 for 32bit builds
right?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list