numam-dpdk/config/riscv/riscv64_sifive_u740_linux_gcc
Jerin Jacob e3fd286ec4 build: add ccache for cross compilation
By default, ccache is not used for cross build[1].
Update all cross files to use ccache if it is available
in build machine.

Also, updated devtools/test-meson-builds.sh
script to find the correct DPDK_TARGET due to
change in cross file syntax.

[1]
https://mesonbuild.com/Machine-files.html

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Stanislaw Kardach <kda@semihalf.com>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
2022-06-14 18:05:35 +02:00

21 lines
483 B
Plaintext

[binaries]
c = ['ccache', 'riscv64-unknown-linux-gnu-gcc']
cpp = ['ccache', 'riscv64-unknown-linux-gnu-g++']
ar = 'riscv64-unknown-linux-gnu-ar'
strip = 'riscv64-unknown-linux-gnu-strip'
pcap-config = ''
[host_machine]
system = 'linux'
cpu_family = 'riscv64'
cpu = 'rv64gc'
endian = 'little'
[properties]
vendor_id = '0x489'
arch_id = '0x8000000000000007'
max_lcores = 4
max_numa_nodes = 1
pkg_config_libdir = '/usr/lib/riscv64-linux-gnu/pkgconfig'
sys_root = '/opt/riscv/sysroot'