From 111b1cf97e7e5a8db35b48c4a9d93692dec799ce Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 25 Dec 2022 01:05:09 -0500 Subject: sim: smp: plumb igen flag down to all users While mips has respected sim_igen_smp at configure time (which was always empty since it defaulted smp to off), no other igen port did. Move this to a makefile variable and plumb it through the common IGEN_RUN variable instead so everyone gets it by default. We also clean up some redundant -N0 setting with multirun mips. --- sim/common/Make-common.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/common') diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index 52cc3c9..7b1caa0 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -82,7 +82,7 @@ POSTCOMPILE = @true # igen leaks memory, and therefore makes AddressSanitizer unhappy. Disable # leak detection while running it. IGEN = ../igen/igen$(EXEEXT) -IGEN_RUN = ASAN_OPTIONS=detect_leaks=0 $(IGEN) +IGEN_RUN = ASAN_OPTIONS=detect_leaks=0 $(IGEN) $(IGEN_FLAGS_SMP) # Each simulator's Makefile.in defines one or more of these variables # to override our settings as necessary. There is no need to define these -- cgit v1.1