forked from rarias/nixos-riscv
Add SPEC CPU mini with a subset of benchmarks
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
, autoPatchelfHook
|
||||
, libxcrypt-legacy
|
||||
, lib
|
||||
, benchSize ? "test"
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -27,6 +28,7 @@ stdenv.mkDerivation rec {
|
||||
runcpu \
|
||||
--verbose=80 \
|
||||
--tune=base \
|
||||
--size=${benchSize} \
|
||||
--output_root=$PWD/out \
|
||||
--config=$PWD/config.cfg \
|
||||
--define build_ncpus=$NIX_BUILD_CORES \
|
||||
|
||||
Reference in New Issue
Block a user