Change benchmark to calc MD5 on 1024 softcores

This commit is contained in:
Nikolay Puzanov
2023-06-15 17:40:46 +03:00
parent 89c82cb611
commit 047bd9c42b
21 changed files with 1376 additions and 931 deletions

View File

@@ -7,10 +7,12 @@ let cross-rv5 = import <nixpkgs> {
libc = "newlib";
};
};
flags-file = "compile_flags.txt";
in
cross-rv5.mkShell {
nativeBuildInputs = [ nixpkgs.gnumake nixpkgs.guile_3_0 ];
shellHook = ''
export NIX_SHELL_NAME="riscv"
echo | riscv32-none-elf-gcc -E -Wp,-v - 2>&1 | grep "^ .*newlib" | sed 's/^ /-I/' > ${flags-file}
'';
}