Commit 7ea0d8c7 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Don't use the threaded2 way when we don't support SMP

parent ee4ba37a
......@@ -35,6 +35,7 @@ if (ghc_with_interpreter == 1):
if (ghc_with_threaded_rts == 1):
config.run_ways.append('threaded1')
if (ghc_with_smp == 1):
config.run_ways.append('threaded2')
config.way_flags = {
......
......@@ -76,6 +76,12 @@ else
RUNTEST_OPTS += -e ghc_with_threaded_rts=0
endif
ifeq "$(GhcWithSMP)" "YES"
RUNTEST_OPTS += -e ghc_with_smp=1
else
RUNTEST_OPTS += -e ghc_with_smp=0
endif
ifneq "$(THREADS)" ""
RUNTEST_OPTS += --thread=$(THREADS)
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment