]> git.droids-corp.org - dpdk.git/commitdiff
devtools: add RISC-V in build test
authorStanislaw Kardach <kda@semihalf.com>
Tue, 7 Jun 2022 10:46:16 +0000 (12:46 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 8 Jun 2022 09:26:34 +0000 (11:26 +0200)
Validate RISC-V compilation when test-meson-builds.sh is called. The
check will be only performed if appropriate toolchain is present on the
system (same as with other architectures).

Sponsored-by: Frank Zhao <frank.zhao@starfivetech.com>
Sponsored-by: Sam Grove <sam.grove@sifive.com>
Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
devtools/test-meson-builds.sh

index a653b253cb00b27034219705b19b0ac9cbc27ce0..f732dccf6cab97192411653a607af2e154cd8e2f 100755 (executable)
@@ -275,6 +275,10 @@ for f in $srcdir/config/ppc/ppc* ; do
        build $targetdir $f ABI $use_shared
 done
 
+# RISC-V configuration
+build build-riscv64-linux-gcc $srcdir/config/riscv/riscv64_linux_gcc ABI \
+       $use_shared
+
 # Test installation of the x86-generic target, to be used for checking
 # the sample apps build using the pkg-config file for cflags and libs
 load_env cc