<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 12 May 2022, 17:47 Aaron Conole, <<a href="mailto:aconole@redhat.com" target="_blank" rel="noreferrer">aconole@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Stanislaw Kardach <<a href="mailto:kda@semihalf.com" rel="noreferrer noreferrer" target="_blank">kda@semihalf.com</a>> writes:<br>
<br>
> Checks cross-compilation using Ubuntu 20.04 x86.<br>
><br>
> Signed-off-by: David Marchand <<a href="mailto:david.marchand@redhat.com" rel="noreferrer noreferrer" target="_blank">david.marchand@redhat.com</a>><br>
> Signed-off-by: Stanislaw Kardach <<a href="mailto:kda@semihalf.com" rel="noreferrer noreferrer" target="_blank">kda@semihalf.com</a>><br>
> ---<br>
>  .ci/linux-build.sh          |  4 ++++<br>
>  .github/workflows/build.yml | 11 ++++++++++-<br>
>  2 files changed, 14 insertions(+), 1 deletion(-)<br>
<br>
Seems there is still a failure in this series - once that is resolved I<br>
think this can go in.<br></blockquote></div></div><div dir="auto">I suspect the failure is due to this series depending on 3 other patches which I've marked with Depends-on in the offending patch. Is CI utilizing those tags? If not, is there a way to relaunch it once dependencies are integrated?</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh<br>
> index 877243c9c8..aa5e9ec114 100755<br>
> --- a/.ci/linux-build.sh<br>
> +++ b/.ci/linux-build.sh<br>
> @@ -74,6 +74,10 @@ if [ "$PPC64LE" = "true" ]; then<br>
>      cross_file=config/ppc/ppc64le-power8-linux-gcc-ubuntu<br>
>  fi<br>
>  <br>
> +if [ "$RISCV64" = "true" ]; then<br>
> +    cross_file=config/riscv/riscv64_linux_gcc<br>
> +fi<br>
> +<br>
>  if [ -n "$cross_file" ]; then<br>
>      OPTS="$OPTS --cross-file $cross_file"<br>
>  fi<br>
> diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml<br>
> index e2f94d786b..ca468da8fa 100644<br>
> --- a/.github/workflows/build.yml<br>
> +++ b/.github/workflows/build.yml<br>
> @@ -25,6 +25,7 @@ jobs:<br>
>        MINI: ${{ matrix.config.mini != '' }}<br>
>        PPC64LE: ${{ matrix.config.cross == 'ppc64le' }}<br>
>        REF_GIT_TAG: v22.03<br>
> +      RISCV64: ${{ matrix.config.cross == 'riscv64' }}<br>
>        RUN_TESTS: ${{ contains(matrix.config.checks, 'tests') }}<br>
>  <br>
>      strategy:<br>
> @@ -73,6 +74,10 @@ jobs:<br>
>              compiler: gcc<br>
>              library: shared<br>
>              cross: ppc64le<br>
> +          - os: ubuntu-20.04<br>
> +            compiler: gcc<br>
> +            library: shared<br>
> +            cross: riscv64<br>
>  <br>
>      steps:<br>
>      - name: Checkout sources<br>
> @@ -131,8 +136,12 @@ jobs:<br>
>        if: env.PPC64LE == 'true'<br>
>        run: sudo apt install -y gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross<br>
>          pkg-config-powerpc-linux-gnu<br>
> +    - name: Install riscv64 cross compiling packages<br>
> +      if: env.RISCV64 == 'true'<br>
> +      run: sudo apt install -y gcc-riscv64-linux-gnu libc6-dev-riscv64-cross<br>
> +        pkg-config-riscv64-linux-gnu<br>
>      - name: Install test tools packages<br>
> -      if: env.AARCH64 != 'true' || env.PPC64LE != 'true' || env.RUN_TESTS == 'true'<br>
> +      if: env.AARCH64 != 'true' || env.PPC64LE != 'true' || env.RISCV64 != 'true' || env.RUN_TESTS == 'true'<br>
>        run: sudo apt install -y gdb<br>
>      - name: Install doc generation packages<br>
>        if: env.BUILD_DOCS == 'true'<br>
<br>
</blockquote></div></div></div>