<div dir="ltr"><div dir="ltr">On Tue, May 10, 2022 at 5:08 PM Stanislaw Kardach <<a href="mailto:kda@semihalf.com">kda@semihalf.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Validate RISC-V compilation when test-meson-builds.sh is called. The<br>
check will be only performed if appropriate toolchain is present on the<br>
system (same as with other architectures).<br>
<br>
Sponsored-by: Frank Zhao <<a href="mailto:Frank.Zhao@starfivetech.com" target="_blank">Frank.Zhao@starfivetech.com</a>><br>
Sponsored-by: Sam Grove <<a href="mailto:sam.grove@sifive.com" target="_blank">sam.grove@sifive.com</a>><br>
Signed-off-by: Stanislaw Kardach <<a href="mailto:kda@semihalf.com" target="_blank">kda@semihalf.com</a>><br>
---<br>
devtools/test-meson-builds.sh | 6 ++++++<br>
1 file changed, 6 insertions(+)<br>
<br>
diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh<br>
index a653b253cb..12513e9d7f 100755<br>
--- a/devtools/test-meson-builds.sh<br>
+++ b/devtools/test-meson-builds.sh<br>
@@ -275,6 +275,12 @@ for f in $srcdir/config/ppc/ppc* ; do<br>
build $targetdir $f ABI $use_shared<br>
done<br>
<br>
+# RISC-V configurations<br>
+for f in $srcdir/config/riscv/riscv* ; do<br>
+ targetdir=build-$(basename $f | tr '_' '-' | cut -d'-' -f-2)<br>
+ build $targetdir $f ABI $use_shared<br>
+done<br>
+<br></blockquote><div>This should not be an iteration but a single build command. I'll re-send as v3. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
# Test installation of the x86-generic target, to be used for checking<br>
# the sample apps build using the pkg-config file for cflags and libs<br>
load_env cc<br>
-- <br>
2.30.2<br>
</blockquote></div></div>