diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-08-10 15:53:51 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-08-16 10:13:19 -0400 |
commit | 27022c70a30cfff7a3b17817b1e33ab302cd5ecf (patch) | |
tree | 6915417fd8292b1fdfbe47dbf9015f22d5a488bf /testsuite/driver/testglobals.py | |
parent | 8a665db6174eaedbbae925c0ccb4c22b3f29bcaf (diff) | |
download | haskell-wip/T18560.tar.gz |
testsuite: Only run llvm ways if llc is availablewip/T18560
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 c358a660d9..629a496330 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 |