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/driver/testglobals.py | |
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/driver/testglobals.py')
-rw-r--r-- | testsuite/driver/testglobals.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/driver/testglobals.py b/testsuite/driver/testglobals.py index c9c2ef5be8..30b457e829 100644 --- a/testsuite/driver/testglobals.py +++ b/testsuite/driver/testglobals.py @@ -115,6 +115,9 @@ class TestConfig: self.way_flags = {} # type: Dict[WayName, List[str]] self.way_rts_flags = {} # type: Dict[WayName, List[str]] + # Do we have a functional LLVM toolchain? + self.have_llvm = False + # Do we have vanilla libraries? self.have_vanilla = False |