Add SPEC CPU mini with a subset of benchmarks

This commit is contained in:
2024-10-07 13:33:53 +02:00
parent a9350da4b8
commit d7ef22936a
3 changed files with 42 additions and 0 deletions

View File

@@ -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 \