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, 1 Dec 2021 01:48:15 +0000 (17:48 -0800)
commit2bf9fea0c3705024fa3da133b3018a1d408151a4
treefd79dc75f462de5f4a69c1ba104c3268e49bd08b
parent2a1ed69f52edd33829596ccb365c63d2388231b5
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