Compare commits

..

4 Commits

Author SHA1 Message Date
8871e10cea
Fix nanos6 cross-compilation for riscv 2025-09-29 16:31:01 +02:00
869b16aae0
Fix cross compilation for lmbench 2025-09-29 16:25:41 +02:00
91babf28d0
Disable papi when cross compiling
Even if we do an override to papi get the proper configure flags for
cross-compiling, the memory fences are not defined for risc-v:

mb.h:67:2: error: #error Need to define rmb for this architecture!
2025-09-29 15:26:28 +02:00
f8f3099d95
Add cross compilation to riscv64 in hydraJobs 2025-09-29 14:31:08 +02:00
2 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,11 @@
legacyPackages.${system} = pkgs;
hydraJobs = {
inherit (self.legacyPackages.${system}.bsc-ci) test pkgs cross;
inherit (self.legacyPackages.${system}.bsc-ci) test pkgs;
cross = self.lib.genAttrs [ "riscv64" ] (target:
self.legacyPackages.${system}.pkgsCross.${target}.bsc-ci.pkgs
);
};
# propagate nixpkgs lib, so we can do bscpkgs.lib

View File

@ -96,10 +96,6 @@ in bscPkgs // {
tests = final.runCommand "ci-tests" { }
"printf '%s\n' ${toString (collect isDerivation final.bsc-ci.test)} > $out";
cross = prev.lib.genAttrs [ "riscv64" ] (target:
final.pkgsCross.${target}.bsc-ci.pkgs
);
all = final.runCommand "ci-all" { }
''
deps="${toString [ final.bsc-ci.pkgsList final.bsc-ci.tests ]}"