Support cross compilation for RISC-V #13

Open
opened 2025-08-01 12:54:34 +02:00 by rarias · 3 comments
Owner

We should be able to cross-compile all bscpkgs to RISC-V. This can be tested by:

$ nix build https://jungle.bsc.es/git/rarias/bscpkgs#pkgsCross.riscv64.bsc-ci.all

We may want to make sure it also works without RISC-V emulation enabled.

We should be able to cross-compile all bscpkgs to RISC-V. This can be tested by: ``` $ nix build https://jungle.bsc.es/git/rarias/bscpkgs#pkgsCross.riscv64.bsc-ci.all ``` We may want to make sure it also works without RISC-V emulation enabled.
Collaborator

All packages which come from binary sources (all intel apt stuff) will not work.

We could set meta.platforms and filter them out from bsc-ci all?

All packages which come from binary sources (all intel apt stuff) will not work. We could set `meta.platforms` and filter them out from bsc-ci all?
Author
Owner

All packages which come from binary sources (all intel apt stuff) will not work.

We could set meta.platforms and filter them out from bsc-ci all?

Yes, we can add them incrementally to bsc-ci.all so we only build the ones that are known to work for now.

I'll would be a good idea to delay this after the machines are back, so we don't leave any build in progress.

> All packages which come from binary sources (all intel apt stuff) will not work. > > We could set `meta.platforms` and filter them out from bsc-ci all? Yes, we can add them incrementally to `bsc-ci.all` so we only build the ones that are known to work for now. I'll would be a good idea to delay this after the machines are back, so we don't leave any build in progress.
Collaborator

Yes, we can add them incrementally to bsc-ci.all so we only build the ones that are known to work for now.

Keep in mind that bsc-ci.all will run tests which will only work if binfmt enabled. We should only test building bsc-ci.pkgs.

I'll would be a good idea to delay this after the machines are back, so we don't leave any build in progress.

Agreed

> Yes, we can add them incrementally to `bsc-ci.all` so we only build the ones that are known to work for now. Keep in mind that `bsc-ci.all` will run tests which will only work if binfmt enabled. We should only test building `bsc-ci.pkgs`. > I'll would be a good idea to delay this after the machines are back, so we don't leave any build in progress. Agreed
This repo is archived. You cannot comment on issues.
No Label
2 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rarias/bscpkgs#13
No description provided.