Hello there,
I got a RISC-V machine recently, and I'm trying to get the software I use
working on it.
I tried to compile OpenSCAD on it, and it worked, despite being on Fedora
38.
How hard would it be to supply the next release for this architecture?
Thanks.
On 29.10.24 19:48, Verachten Bruno via Discuss wrote:
How hard would it be to supply the next release for this architecture?
Supply meaning what exactly?
SNAP:
I believe Snap supports RISC-V, so that would be possible, I don't have
it enabled, but we could try that with the nightly builds.
FLATPAK:
Flathub does not support RISC-V yet as far as I can tell.
AppImage:
There is a chance for the AppImage, but that probably would need someone
to do the preparation work. I don't see enough spare time in my near
future to do that.
Intel AppImages are built on CircleCI which does not seem to support
RISC-V, so that would need to go to https://ci.openscad.org/ which is
not yet prepared for that but is in our control to do whatever we need.
Debian/Ubuntu:
We don't provide release packages at this point, only snapshot builds.
OBS does support RISC-V (64bit), so it would be possible.
Fedora/OpenSuSE:
Currently disabled, I don't know if those will be enabled again.
Otherwise this is also OBS, so that would only be snapshot builds.
ciao,
Torsten.
Thanks, Torsten,
By "supply," I was referring to the GitHub releases page (
https://github.com/openscad/openscad/releases), where binaries for x86 and
macOS are already available.
I was also thinking about Debian and other Linux distributions, though I
understand that each distribution typically builds its own packages, with
limited involvement from the OpenSCAD core team.
For example, I installed OpenSCAD on my aarch64 Chromebook running a Debian
variant, using the package manager, which worked well.
Additionally, I built and published a riscv64 Docker image with the master
branch of OpenSCAD (
https://hub.docker.com/repository/docker/gounthar/openscad/tags), which was
built on GitHub using a Docker build action (
https://github.com/MerryKombo/3DDesign/blob/fosdem-2025/.github/workflows/build-and-push-docker-image.yml
).
I believe I could also build binaries for all supported architectures in a
GitHub Action using Docker.
If you'd like, I can propose a PR that would implement this approach. Just
let me know!
On Tue, Oct 29, 2024 at 8:12 PM Torsten Paul via Discuss <
discuss@lists.openscad.org> wrote:
On 29.10.24 19:48, Verachten Bruno via Discuss wrote:
How hard would it be to supply the next release for this architecture?
Supply meaning what exactly?
SNAP:
I believe Snap supports RISC-V, so that would be possible, I don't have
it enabled, but we could try that with the nightly builds.
FLATPAK:
Flathub does not support RISC-V yet as far as I can tell.
AppImage:
There is a chance for the AppImage, but that probably would need someone
to do the preparation work. I don't see enough spare time in my near
future to do that.
Intel AppImages are built on CircleCI which does not seem to support
RISC-V, so that would need to go to https://ci.openscad.org/ which is
not yet prepared for that but is in our control to do whatever we need.
Debian/Ubuntu:
We don't provide release packages at this point, only snapshot builds.
OBS does support RISC-V (64bit), so it would be possible.
Fedora/OpenSuSE:
Currently disabled, I don't know if those will be enabled again.
Otherwise this is also OBS, so that would only be snapshot builds.
ciao,
Torsten.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
--
Bruno Verachten
On 30.10.24 14:46, Verachten Bruno via Discuss wrote:
By "supply," I was referring to the GitHub releases page (https://
github.com/openscad/openscad/releases <https://github.com/openscad/
openscad/releases>), where binaries for x86 and macOS are already available.
For that the AppImage notes apply.
If you'd like, I can propose a PR that would implement this approach.
Just let me know!
Hmm, I'd prefer to align that with the docker build we already have for
AMD64 via:
https://ci.openscad.org/teams/dockerhub/pipelines/dockerhub-openscad-dev-amd64
This currently builds the dev image once every week on Monday morning
(CET).
ciao,
Torsten.
On 30.10.24 16:36, Torsten Paul via Discuss wrote:
If you'd like, I can propose a PR that would implement this approach.
Just let me know!
Hmm, I'd prefer to align that with the docker build we already have for
AMD64 via:
https://ci.openscad.org/teams/dockerhub/pipelines/dockerhub-openscad-
dev-amd64
To add some more detail... a PR would be much appreciated, the changes
would go to the repository with the docker files:
https://github.com/openscad/docker-openscad/tree/main/appimage
And some new build pipeline would be created (currently manually
deployed) in
https://github.com/openscad/openscad-ci
I have not yet tried to build for RISC-V on the build server but
arm64 does work.
I would like to see official RISC-V images, even though at this point I
don't have a system to run them on yet. I hope to get my hands on one of
those systems eventually. Right now my RISC-V stuff is only the 32bit
ESP32 micro controllers.
ciao,
Torsten.