tools/memory-model: Allow herd to deduce CPU type
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 22 Mar 2019 15:57:20 +0000 (08:57 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 2 Feb 2022 01:33:28 +0000 (17:33 -0800)
commitab023c1a373370c79a2363f6c738e9acd92aac2a
tree289632175552f8fa84b8d3aef23628978adfe675
parentf51269141ba14bf1e6f605c2bf8d8971f567ecb7
tools/memory-model: Allow herd to deduce CPU type

Currently, the scripts specify the CPU's .cat file to herd.  But this is
pointless because herd will select a good and sufficient .cat file from
the assembly-language litmus test itself.  This commit therefore removes
the -model argument to herd, allowing herd to figure the CPU family out
itself.

Note that the user can override herd's choice using the "--herdopts"
argument to the scripts.

Suggested-by: Luc Maranget <luc.maranget@inria.fr>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/memory-model/scripts/runlitmus.sh