diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-08-10 15:53:51 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-08-18 22:11:36 -0400 |
commit | aa4b744d51aa6bdb46064f981ea8e001627921d6 (patch) | |
tree | 47f54e297ec6ea60268a86f0b6c85afd8e8ca6a3 /testsuite/mk | |
parent | 9ad5cab33b8b78a346896cc6de555365c73e6298 (diff) | |
download | haskell-aa4b744d51aa6bdb46064f981ea8e001627921d6.tar.gz |
testsuite: Only run llvm ways if llc is available
As noted in #18560, we previously would always run the LLVM ways since
`configure` would set `SettingsLlcCommand` to something non-null when
it otherwise couldn't find the `llc` executable. Now we rather probe for
the existence of the `llc` executable in the testsuite driver.
Fixes #18560.
Diffstat (limited to 'testsuite/mk')
-rw-r--r-- | testsuite/mk/test.mk | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk index 21e8182d8f..49c0062eed 100644 --- a/testsuite/mk/test.mk +++ b/testsuite/mk/test.mk @@ -194,18 +194,6 @@ else RUNTEST_OPTS += -e ghc_with_smp=False endif -# Does the LLVM backend work? -ifeq "$(LLC)" "" -RUNTEST_OPTS += -e ghc_with_llvm=False -else ifeq "$(TargetARCH_CPP)" "powerpc" -RUNTEST_OPTS += -e ghc_with_llvm=False -else ifneq "$(LLC)" "llc" -# If we have a real detected value for LLVM, then it really ought to work -RUNTEST_OPTS += -e ghc_with_llvm=True -else -RUNTEST_OPTS += -e ghc_with_llvm=False -endif - ifeq "$(WINDOWS)" "YES" RUNTEST_OPTS += -e windows=True else |