DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] build: add meson support for cortex a55 and a76 platforms
@ 2019-01-31 10:11 Phil Yang
  2019-03-01 13:29 ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Phil Yang @ 2019-01-31 10:11 UTC (permalink / raw)
  To: dev; +Cc: nd, pbhagavatula, honnappa.nagarahalli, jerin.jacob

Enable native/cross compiling for Cortex-A55 and Cortex-A76 on meson.

Signed-off-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Ola Liljedahl <ola.liljedahl@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
---
 config/arm/arm64_armv8_linuxapp_gcc | 2 ++
 config/arm/meson.build              | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/config/arm/arm64_armv8_linuxapp_gcc b/config/arm/arm64_armv8_linuxapp_gcc
index 987c02f..da66d59 100644
--- a/config/arm/arm64_armv8_linuxapp_gcc
+++ b/config/arm/arm64_armv8_linuxapp_gcc
@@ -17,8 +17,10 @@ implementor_id = 'generic'
 # 'default': valid for all armv8-a architectures (default value)
 # '0xd03':   cortex-a53
 # '0xd04':   cortex-a35
+# '0xd05':   cortex-a55
 # '0xd07':   cortex-a57
 # '0xd08':   cortex-a72
 # '0xd09':   cortex-a73
 # '0xd0a':   cortex-a75
+# '0xd0b':   cortex-a76
 implementor_pn = 'default'
diff --git a/config/arm/meson.build b/config/arm/meson.build
index dae55d6..97e4e0d 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -12,10 +12,12 @@ machine_args_generic = [
 	['native', ['-march=native']],
 	['0xd03', ['-mcpu=cortex-a53']],
 	['0xd04', ['-mcpu=cortex-a35']],
+	['0xd05', ['-mcpu=cortex-a55']],
 	['0xd07', ['-mcpu=cortex-a57']],
 	['0xd08', ['-mcpu=cortex-a72']],
 	['0xd09', ['-mcpu=cortex-a73']],
 	['0xd0a', ['-mcpu=cortex-a75']],
+	['0xd0b', ['-mcpu=cortex-a76']],
 ]
 machine_args_cavium = [
 	['default', ['-march=armv8-a+crc+crypto','-mcpu=thunderx']],
-- 
2.7.4

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

* Re: [dpdk-dev] [PATCH] build: add meson support for cortex a55 and a76 platforms
  2019-01-31 10:11 [dpdk-dev] [PATCH] build: add meson support for cortex a55 and a76 platforms Phil Yang
@ 2019-03-01 13:29 ` Thomas Monjalon
  2019-03-01 13:38   ` Bruce Richardson
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2019-03-01 13:29 UTC (permalink / raw)
  To: Phil Yang
  Cc: dev, nd, pbhagavatula, honnappa.nagarahalli, jerin.jacob,
	bruce.richardson

31/01/2019 11:11, Phil Yang:
> Enable native/cross compiling for Cortex-A55 and Cortex-A76 on meson.
> 
> Signed-off-by: Phil Yang <phil.yang@arm.com>
> Reviewed-by: Ola Liljedahl <ola.liljedahl@arm.com>
> Reviewed-by: Gavin Hu <gavin.hu@arm.com>
> ---
>  config/arm/arm64_armv8_linuxapp_gcc | 2 ++
>  config/arm/meson.build              | 2 ++
>  2 files changed, 4 insertions(+)

Applied, thanks.

Some thoughts:
- Can we merge support for cross and native compilation in one place?
- Why isn't it native in Meson?

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

* Re: [dpdk-dev] [PATCH] build: add meson support for cortex a55 and a76 platforms
  2019-03-01 13:29 ` Thomas Monjalon
@ 2019-03-01 13:38   ` Bruce Richardson
  0 siblings, 0 replies; 3+ messages in thread
From: Bruce Richardson @ 2019-03-01 13:38 UTC (permalink / raw)
  To: Thomas Monjalon
  Cc: Phil Yang, dev, nd, pbhagavatula, honnappa.nagarahalli, jerin.jacob

On Fri, Mar 01, 2019 at 02:29:50PM +0100, Thomas Monjalon wrote:
> 31/01/2019 11:11, Phil Yang:
> > Enable native/cross compiling for Cortex-A55 and Cortex-A76 on meson.
> > 
> > Signed-off-by: Phil Yang <phil.yang@arm.com>
> > Reviewed-by: Ola Liljedahl <ola.liljedahl@arm.com>
> > Reviewed-by: Gavin Hu <gavin.hu@arm.com>
> > ---
> >  config/arm/arm64_armv8_linuxapp_gcc | 2 ++
> >  config/arm/meson.build              | 2 ++
> >  2 files changed, 4 insertions(+)
> 
> Applied, thanks.
> 
> Some thoughts:
> - Can we merge support for cross and native compilation in one place?
> - Why isn't it native in Meson?
> 
I believe there is some work being done upstream on meson to make native
and cross builds more similar, but I'm not sure of the exact scope of that
work.

/Bruce

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

end of thread, other threads:[~2019-03-01 13:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-31 10:11 [dpdk-dev] [PATCH] build: add meson support for cortex a55 and a76 platforms Phil Yang
2019-03-01 13:29 ` Thomas Monjalon
2019-03-01 13:38   ` Bruce Richardson

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).