From 6537581a39d71a5619b4e534582d84454294855a Mon Sep 17 00:00:00 2001 From: Jan Vrany Date: Thu, 21 Nov 2024 21:13:50 +0000 Subject: [PATCH] RISC-V: add build spec for native builds This commit adds a RISC-V native build spec for CI testing. This is intended to run on Eclipse CBI [1]. [1]: https://github.com/eclipse-cbi/cbi/wiki#whats-provided --- buildenv/jenkins/omrbuild.groovy | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/buildenv/jenkins/omrbuild.groovy b/buildenv/jenkins/omrbuild.groovy index 354c0747923..1c67bf2f19e 100644 --- a/buildenv/jenkins/omrbuild.groovy +++ b/buildenv/jenkins/omrbuild.groovy @@ -180,6 +180,26 @@ SPECS = [ 'testArgs' : '', 'junitPublish' : true ], + 'linux_riscv64' : [ + 'alias': 'riscv', + 'label' : 'hw.arch.riscv64', + 'reference' : defaultReference, + 'environment' : [ + 'PATH+CCACHE=/usr/lib/ccache/' + ], + 'ccache' : false, + 'buildSystem' : 'cmake', + 'builds' : [ + [ + 'buildDir' : cmakeBuildDir, + 'configureArgs' : '-Wdev -C../cmake/caches/Travis.cmake', + 'compile' : defaultCompile + ] + ], + 'test' : true, + 'testArgs' : '', + 'junitPublish' : true + ], 'linux_x86' : [ 'alias': 'x32linux', 'label' : 'compile:xlinux',