[Pdbg] [PATCH 1/2] Move build.sh to utils directory

Joel Stanley joel at jms.id.au
Mon Aug 13 17:43:48 AEST 2018


On Mon, 13 Aug 2018 at 16:51, Amitay Isaacs <amitay at ozlabs.org> wrote:
>
> On Mon, 2018-08-13 at 16:06 +0930, Joel Stanley wrote:
> > Update travis config to point to the new location.
> >
> > Add a symlink so other CI still works, we will remove this once it
> > has
> > been moved over.
> >
> > Signed-off-by: Joel Stanley <joel at jms.id.au>
>
> Can we also add "make check" to build.sh?
>
> For build.sh, can we just assume it's going to be run on x86_64
> platform?  That should avoid the need for --host=x86_64-linux-gnu.
> Also, simplifies adding "make check" to build.sh (we don't have to
> worry about where to run "make check").

We were doing builds on ppc64le hosts. Since adding the arm cross
compile I had to disable it, as Ubuntu ppc64le doesn't build the ARM
cross compiler. I'd like to get this going again.

Make check as it's written only uses the host compiler, so it will
work on ppc64le today.

The reason we have broken out make check into a different script is so
it shows up as a separate check in patchwork's 'checks' section. We
will run the build script first, and the check second, so any build
errors are not confused with failing tests.


More information about the Pdbg mailing list