configure tries to detect an unsupported version of LLVM
Summary
GHC's configure script tries to detect an unsupported version of LLVM opt
/llc
.
Steps to reproduce
Check out current master (707d5651).
Then run ./boot && ./configure
, and it prints:
checking for llc-15... no
checking for llc-15.0... no
checking for llc15... no
checking for llc-14... no
checking for llc-14.0... no
checking for llc14... no
checking for llc-13... no
checking for llc-13.0... no
checking for llc13... no
checking for llc-12... no
checking for llc-12.0... no
checking for llc12... no
checking for llc-11... no
checking for llc-11.0... no
checking for llc11... no
checking for llc-10... no
checking for llc-10.0... no
checking for llc10... no
checking for llc... no
checking for opt-15... no
checking for opt-15.0... no
checking for opt15... no
checking for opt-14... no
checking for opt-14.0... no
checking for opt14... no
checking for opt-13... no
checking for opt-13.0... no
checking for opt13... no
checking for opt-12... no
checking for opt-12.0... no
checking for opt12... no
checking for opt-11... no
checking for opt-11.0... no
checking for opt11... no
checking for opt-10... no
checking for opt-10.0... no
checking for opt10... no
checking for opt... no
Here, LLVM 15 is an unsupported version.
Expected behavior
Checks for llc
/opt
should begin with LLVM 14 (i.e. LlvmMaxVersion - 1
)
Environment
- GHC version used:
Optional:
- Operating System:
- System Architecture: