DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] config/riscv: name the cross file properly
@ 2022-06-21 12:29 Stanislaw Kardach
  2024-10-02 16:51 ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Stanislaw Kardach @ 2022-06-21 12:29 UTC (permalink / raw)
  To: David Marchand; +Cc: Stanislaw Kardach, dev, upstream

Since the riscv64_linux_gcc was in fact a Ubuntu-specific cross-file,
rename it.

Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
---
 .ci/linux-build.sh                                           | 2 +-
 config/riscv/{riscv64_linux_gcc => riscv64_linux_gcc_ubuntu} | 0
 devtools/test-meson-builds.sh                                | 2 +-
 doc/guides/linux_gsg/cross_build_dpdk_for_riscv.rst          | 4 ++--
 4 files changed, 4 insertions(+), 4 deletions(-)
 rename config/riscv/{riscv64_linux_gcc => riscv64_linux_gcc_ubuntu} (100%)

diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index 06104eca22..dcf4d4ccb3 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -75,7 +75,7 @@ if [ "$PPC64LE" = "true" ]; then
 fi
 
 if [ "$RISCV64" = "true" ]; then
-    cross_file=config/riscv/riscv64_linux_gcc
+    cross_file=config/riscv/riscv64_linux_gcc_ubuntu
 fi
 
 if [ -n "$cross_file" ]; then
diff --git a/config/riscv/riscv64_linux_gcc b/config/riscv/riscv64_linux_gcc_ubuntu
similarity index 100%
rename from config/riscv/riscv64_linux_gcc
rename to config/riscv/riscv64_linux_gcc_ubuntu
diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh
index 04a85fe987..00b97a3e50 100755
--- a/devtools/test-meson-builds.sh
+++ b/devtools/test-meson-builds.sh
@@ -265,7 +265,7 @@ f=$srcdir/config/ppc/ppc64le-power8-linux-gcc
 build build-ppc64-power8-gcc $f ABI $use_shared
 
 # generic RISC-V
-f=$srcdir/config/riscv/riscv64_linux_gcc
+f=$srcdir/config/riscv/riscv64_linux_gcc_ubuntu
 build build-riscv64-generic-gcc $f ABI $use_shared
 
 # Test installation of the x86-generic target, to be used for checking
diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_riscv.rst b/doc/guides/linux_gsg/cross_build_dpdk_for_riscv.rst
index 9e121645a8..84d1ea3aa6 100644
--- a/doc/guides/linux_gsg/cross_build_dpdk_for_riscv.rst
+++ b/doc/guides/linux_gsg/cross_build_dpdk_for_riscv.rst
@@ -74,7 +74,7 @@ To cross-compile DPDK for a desired target machine use the following command::
 For example if the target machine is a generic rv64gc RISC-V, use the following
 command::
 
-   meson riscv64-build-gcc --cross-file config/riscv/riscv64_linux_gcc
+   meson riscv64-build-gcc --cross-file config/riscv/riscv64_linux_gcc_ubuntu
    ninja -C riscv64-build-gcc
 
 If riscv-gnu-toolchain is used, binary names should be updated to match. Update
@@ -106,7 +106,7 @@ Supported cross-compilation targets
 
 Currently the following targets are supported:
 
-* Generic rv64gc ISA: ``config/riscv/riscv64_linux_gcc``
+* Generic rv64gc ISA: ``config/riscv/riscv64_linux_gcc_ubuntu``
 
 * SiFive U740 SoC: ``config/riscv/riscv64_sifive_u740_linux_gcc``
 
-- 
2.30.2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] config/riscv: name the cross file properly
  2022-06-21 12:29 [PATCH] config/riscv: name the cross file properly Stanislaw Kardach
@ 2024-10-02 16:51 ` Stephen Hemminger
  2024-10-03 11:44   ` Radoslaw Biernacki
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Hemminger @ 2024-10-02 16:51 UTC (permalink / raw)
  To: Stanislaw Kardach; +Cc: David Marchand, dev, upstream

On Tue, 21 Jun 2022 14:29:23 +0200
Stanislaw Kardach <kda@semihalf.com> wrote:

> Since the riscv64_linux_gcc was in fact a Ubuntu-specific cross-file,
> rename it.
> 
> Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
> ---

Patch is out dated, and needs to be rebased.
Best to avoid OS variant specific cross files.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] config/riscv: name the cross file properly
  2024-10-02 16:51 ` Stephen Hemminger
@ 2024-10-03 11:44   ` Radoslaw Biernacki
  2024-10-15 11:34     ` Stanisław Kardach
  0 siblings, 1 reply; 4+ messages in thread
From: Radoslaw Biernacki @ 2024-10-03 11:44 UTC (permalink / raw)
  To: Stanisław Kardach; +Cc: David Marchand, dev, Stephen Hemminger

Staszek, can you update your email? (same with uprev@semihalf.com?)

On Wed, Oct 2, 2024 at 6:51 PM 'Stephen Hemminger' via upstream
<upstream@semihalf.com> wrote:
>
> On Tue, 21 Jun 2022 14:29:23 +0200
> Stanislaw Kardach <kda@semihalf.com> wrote:
>
> > Since the riscv64_linux_gcc was in fact a Ubuntu-specific cross-file,
> > rename it.
> >
> > Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
> > ---
>
> Patch is out dated, and needs to be rebased.
> Best to avoid OS variant specific cross files.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] config/riscv: name the cross file properly
  2024-10-03 11:44   ` Radoslaw Biernacki
@ 2024-10-15 11:34     ` Stanisław Kardach
  0 siblings, 0 replies; 4+ messages in thread
From: Stanisław Kardach @ 2024-10-15 11:34 UTC (permalink / raw)
  To: Radoslaw Biernacki
  Cc: Stanisław Kardach, David Marchand, dev, Stephen Hemminger

I already did, though to my personal one. This patch is from a way
back, I did forget about it.

On Thu, Oct 3, 2024 at 2:29 PM Radoslaw Biernacki <biernacki@google.com> wrote:
>
> Staszek, can you update your email? (same with uprev@semihalf.com?)
>
> On Wed, Oct 2, 2024 at 6:51 PM 'Stephen Hemminger' via upstream
> <upstream@semihalf.com> wrote:
> >
> > On Tue, 21 Jun 2022 14:29:23 +0200
> > Stanislaw Kardach <kda@semihalf.com> wrote:
> >
> > > Since the riscv64_linux_gcc was in fact a Ubuntu-specific cross-file,
> > > rename it.
> > >
> > > Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
> > > ---
> >
> > Patch is out dated, and needs to be rebased.
> > Best to avoid OS variant specific cross files.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-15 11:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21 12:29 [PATCH] config/riscv: name the cross file properly Stanislaw Kardach
2024-10-02 16:51 ` Stephen Hemminger
2024-10-03 11:44   ` Radoslaw Biernacki
2024-10-15 11:34     ` Stanisław Kardach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).