Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to the installer for creating packages on RISCV #213

Closed
sxa opened this issue May 26, 2020 · 5 comments · Fixed by #214
Closed

Add support to the installer for creating packages on RISCV #213

sxa opened this issue May 26, 2020 · 5 comments · Fixed by #214

Comments

@sxa
Copy link
Member

sxa commented May 26, 2020

uname output is as follows:
Linux stage4.fedoraproject.org 4.19.0-rc8 #1 SMP Wed Oct 17 15:11:25 UTC 2018 riscv64 riscv64 riscv64 GNU/Linux
I believe various parts of the code will be updated to handle the RISC-V architecture, starting with Architecture.java

The failures are in the installer jobs created during https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-riscv-openj9/

> Task :buildSrc:validatePlugins
> Task :buildSrc:check
> Task :buildSrc:build

FAILURE: Build failed with an exception.

* Where:
Build file '/home/jenkins/workspace/build-scripts/release/create_installer_linux/linux/build.gradle' line: 73

* What went wrong:
A problem occurred evaluating root project 'linux'.
> No enum constant net.adoptopenjdk.installer.Architecture.RISCV

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
@aahlenst
Copy link
Contributor

aahlenst commented May 26, 2020

@sxa Maybe you know that stuff from the top of your head: Which distributions have official RISCV ports? Where can I buy the hardware for development?

@karianna karianna added this to To do in installer via automation May 26, 2020
@sxa
Copy link
Member Author

sxa commented May 27, 2020

Fedora and Debian certainly do. I mostly use a qemu VM for script development. You can log into one of ours if it helps for anything, but we don't build the installers on each architecture right?

@sxa
Copy link
Member Author

sxa commented May 27, 2020

If you really want to buy your own, https://www.sifive.com is one source of boards.

@aahlenst
Copy link
Contributor

We do all builds on AMD64. I still have to validate that everything's working as supposed and for that I need the target platform. I'll brush up my QEMU skills and see if it's sufficiently fast.

@sxa
Copy link
Member Author

sxa commented May 27, 2020

Should be fine for testing installations. We haven't got a Debian qemu system but we have Fedora working :-)

installer automation moved this from To do to Done May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
installer
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants