Skip to content

Commit

Permalink
Merge pull request #7556 from janvrany/pr/riscv-add-native-build
Browse files Browse the repository at this point in the history
RISC-V: add native build spec
  • Loading branch information
babsingh authored Dec 17, 2024
2 parents 470ed10 + 7059bfe commit 25c58e2
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion buildenv/jenkins/omrbuild.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ SPECS = [
'junitPublish' : true
],
'linux_riscv64_cross' : [
'alias': 'riscv',
'alias': 'riscv_cross',
'label' : 'compile:riscv64:cross',
'reference' : defaultReference,
'environment' : [
Expand All @@ -180,6 +180,32 @@ SPECS = [
'testArgs' : '',
'junitPublish' : true
],
'linux_riscv64' : [
'alias': 'riscv',
'label' : 'hw.arch.riscv64',
'reference' : defaultReference,
'environment' : [
'PATH+CCACHE=/usr/lib/ccache/',
/*
* As of now, native RISC-V build agents are running as a Docker containers
* so we need to set OMR_RUNNING_IN_DOCKER even though the build itself does not
* use Docker. Otherwise sysinfo_is_running_in_container would fail.
*/
'OMR_RUNNING_IN_DOCKER=1'
],
'ccache' : true,
'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',
Expand Down

0 comments on commit 25c58e2

Please sign in to comment.