Re: [PATCH 1/9] tests/docker: Add debian-nios2-cross image

2021-10-15 Thread Alex Bennée
Richard Henderson writes: > On 10/12/21 10:03 AM, Alex Bennée wrote: >> We need^H^H^H^H (might need, see bellow) a separate patch with: >> docker-image-debian10: NOUSER=1 >> to ensure the images we base our "handbuilt" compilers on don't >> include >> a potentially clashing uid (which should on

Re: [PATCH 1/9] tests/docker: Add debian-nios2-cross image

2021-10-14 Thread Richard Henderson
On 10/12/21 10:03 AM, Alex Bennée wrote: We need^H^H^H^H (might need, see bellow) a separate patch with: docker-image-debian10: NOUSER=1 to ensure the images we base our "handbuilt" compilers on don't include a potentially clashing uid (which should only be added for local builds). I think we

Re: [PATCH 1/9] tests/docker: Add debian-nios2-cross image

2021-10-14 Thread Alex Bennée
Richard Henderson writes: > On 10/12/21 10:03 AM, Alex Bennée wrote: >> We need to split this like in hexagon and have a second stage which does >> a: >>COPY --from=0 /usr/local /usr/local >> This will limit the size of the final image (and also avoid >> duplicting >> the UID in the hexagon

Re: [PATCH 1/9] tests/docker: Add debian-nios2-cross image

2021-10-12 Thread Alex Bennée
It copies from the first stage. Is the compiler installed to a different path? On Tue, 12 Oct 2021, 19:24 Richard Henderson, wrote: > On 10/12/21 10:03 AM, Alex Bennée wrote: > > We need to split this like in hexagon and have a second stage which does > > a: > > > >COPY --from=0 /usr/local /

Re: [PATCH 1/9] tests/docker: Add debian-nios2-cross image

2021-10-12 Thread Richard Henderson
On 10/12/21 10:03 AM, Alex Bennée wrote: We need to split this like in hexagon and have a second stage which does a: COPY --from=0 /usr/local /usr/local This will limit the size of the final image (and also avoid duplicting the UID in the hexagon build). Yeah, well, I had to take that out

Re: [PATCH 1/9] tests/docker: Add debian-nios2-cross image

2021-10-12 Thread Alex Bennée
Richard Henderson writes: > Build the entire cross tool chain from source. > For this reason, default to caching. > > Signed-off-by: Richard Henderson > --- > tests/docker/Makefile.include | 19 > .../dockerfiles/debian-nios2-cross.docker | 34 +++ > .../build-too

[PATCH 1/9] tests/docker: Add debian-nios2-cross image

2021-10-01 Thread Richard Henderson
Build the entire cross tool chain from source. For this reason, default to caching. Signed-off-by: Richard Henderson --- tests/docker/Makefile.include | 19 .../dockerfiles/debian-nios2-cross.docker | 34 +++ .../build-toolchain.sh| 97 +++