From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 258B4A00C3; Thu, 12 May 2022 17:47:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 382C840E64; Thu, 12 May 2022 17:47:44 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 7D07A40DDD for ; Thu, 12 May 2022 17:47:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652370461; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GQpXOgI5houMMJbL+mG6uGID+juD3s9JkaGQ+vsgjU4=; b=RJLG0M5pWBhDGbIZLStoTMpGLDeKyaIWue58/HoBJnCgKxuQ062rOw63n5UoAcOkuAiPEZ NYhXZS2FqHrjh82rJfIcOBxJlr7l7nyRsGPn7qQ4EL1nZU1GI3PjJSonkas3TLpzjtKHk6 qYnMFCluVCWKcQlm59RUkgwfCbSg3eM= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-111-5C95_506OfmzP38xjPYdZw-1; Thu, 12 May 2022 11:47:38 -0400 X-MC-Unique: 5C95_506OfmzP38xjPYdZw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7A01A1C05ABD; Thu, 12 May 2022 15:47:38 +0000 (UTC) Received: from RHTPC1VM0NT (unknown [10.22.9.160]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D092740C1247; Thu, 12 May 2022 15:47:37 +0000 (UTC) From: Aaron Conole To: Stanislaw Kardach Cc: dev@dpdk.org, Frank Zhao , Sam Grove , mw@semihalf.com, upstream@semihalf.com, David Marchand Subject: Re: [PATCH v3 8/8] ci: add RISCV64 cross compilation job References: <20220510150759.525434-1-kda@semihalf.com> <20220510154849.530872-1-kda@semihalf.com> <20220510154849.530872-9-kda@semihalf.com> Date: Thu, 12 May 2022 11:47:37 -0400 In-Reply-To: <20220510154849.530872-9-kda@semihalf.com> (Stanislaw Kardach's message of "Tue, 10 May 2022 17:48:49 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=aconole@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Stanislaw Kardach writes: > Checks cross-compilation using Ubuntu 20.04 x86. > > Signed-off-by: David Marchand > Signed-off-by: Stanislaw Kardach > --- > .ci/linux-build.sh | 4 ++++ > .github/workflows/build.yml | 11 ++++++++++- > 2 files changed, 14 insertions(+), 1 deletion(-) Seems there is still a failure in this series - once that is resolved I think this can go in. > diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh > index 877243c9c8..aa5e9ec114 100755 > --- a/.ci/linux-build.sh > +++ b/.ci/linux-build.sh > @@ -74,6 +74,10 @@ if [ "$PPC64LE" = "true" ]; then > cross_file=config/ppc/ppc64le-power8-linux-gcc-ubuntu > fi > > +if [ "$RISCV64" = "true" ]; then > + cross_file=config/riscv/riscv64_linux_gcc > +fi > + > if [ -n "$cross_file" ]; then > OPTS="$OPTS --cross-file $cross_file" > fi > diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml > index e2f94d786b..ca468da8fa 100644 > --- a/.github/workflows/build.yml > +++ b/.github/workflows/build.yml > @@ -25,6 +25,7 @@ jobs: > MINI: ${{ matrix.config.mini != '' }} > PPC64LE: ${{ matrix.config.cross == 'ppc64le' }} > REF_GIT_TAG: v22.03 > + RISCV64: ${{ matrix.config.cross == 'riscv64' }} > RUN_TESTS: ${{ contains(matrix.config.checks, 'tests') }} > > strategy: > @@ -73,6 +74,10 @@ jobs: > compiler: gcc > library: shared > cross: ppc64le > + - os: ubuntu-20.04 > + compiler: gcc > + library: shared > + cross: riscv64 > > steps: > - name: Checkout sources > @@ -131,8 +136,12 @@ jobs: > if: env.PPC64LE == 'true' > run: sudo apt install -y gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross > pkg-config-powerpc-linux-gnu > + - name: Install riscv64 cross compiling packages > + if: env.RISCV64 == 'true' > + run: sudo apt install -y gcc-riscv64-linux-gnu libc6-dev-riscv64-cross > + pkg-config-riscv64-linux-gnu > - name: Install test tools packages > - if: env.AARCH64 != 'true' || env.PPC64LE != 'true' || env.RUN_TESTS == 'true' > + if: env.AARCH64 != 'true' || env.PPC64LE != 'true' || env.RISCV64 != 'true' || env.RUN_TESTS == 'true' > run: sudo apt install -y gdb > - name: Install doc generation packages > if: env.BUILD_DOCS == 'true'