Skip to content

Commit

Permalink
config: as nemu is not deterministic, use qemu as default
Browse files Browse the repository at this point in the history
  • Loading branch information
xieby1 committed Nov 16, 2024
1 parent 1f9a509 commit 73bc8ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# * https://github.com/llvm/llvm-project/issues/109966
# * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116064
cc = "gcc13";
simulator = "nemu"; # nemu or qemu
# TODO: nemu is not deterministic
simulator = "qemu"; # nemu or qemu
intervals = 20000000;
workload = "miao";
# TODO: remove *_log
Expand Down
4 changes: 2 additions & 2 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ let
* Configure by CLI:
* `nom-build ... --arg <key> <value> ...`
* `nom-build ... --argstr <key> <strvalue> ...`
* E.g: Generate spec2006 checkpoints using given source code, by qemu, in test size:
* `nom-build -A spec2006 --arg src ~/Codes/spec2006.tar.gz --argstr simulator qemu --argstr size test`
* E.g: Generate spec2006 checkpoints using given source code, by nemu, in test size:
* `nom-build -A spec2006 --arg src ~/Codes/spec2006.tar.gz --argstr simulator nemu --argstr size test`
* Configure by global config file: edit `./config.nix`
* Configure by per-benchmark config file: edit `./benchmarks/*/config.nix`
Expand Down

0 comments on commit 73bc8ba

Please sign in to comment.