[GHC] #9807: Clarify warning if LLVM is not found by configure

#9807: Clarify warning if LLVM is not found by configure -------------------------------------+------------------------------------- Reporter: ihmccreery | Owner: Type: feature request | Status: new Priority: low | Milestone: Component: Build System | Version: 7.8.3 Keywords: | Operating System: Architecture: Unknown/Multiple | Unknown/Multiple Difficulty: Unknown | Type of failure: Blocked By: | Documentation bug Related Tickets: | Test Case: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- When running `./configure` to build GHC, and `opt` is not found, the current output is:
<no location info>: Warning: Couldn't figure out LLVM version! Make sure you have installed LLVM ghc: could not execute: opt failed to compile
When I first saw this, I thought that this was causing the entire compiler build to fail. To clarify that this isn't a critical error, should it be something more like:
checking for llvm... no
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9807 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9807: Only test for bug #9439 when llvm is installed
-------------------------------------+-------------------------------------
Reporter: ihmccreery | Owner:
Type: feature | Status: new
request | Milestone:
Priority: low | Version: 7.8.3
Component: Build | Keywords:
System | Architecture: Unknown/Multiple
Resolution: | Difficulty: Unknown
Operating System: | Blocked By:
Unknown/Multiple | Related Tickets:
Type of failure: Other |
Test Case: |
Blocking: |
Differential Revisions: Phab:D500 |
-------------------------------------+-------------------------------------
Changes (by thomie):
* failure: Documentation bug => Other
* differential: => Phab:D500
Comment:
Thanks for the report. A patch is up for review. It will now just show:
{{{
checking for llc... no
checking for opt... no
}}}
or
{{{
checking for llc... yes
checking for opt... yes
checking whether bootstrap compiler is affected by bug 9439...

#9807: Only test for bug #9439 when llvm is installed
-------------------------------------+-------------------------------------
Reporter: ihmccreery | Owner:
Type: feature | Status: new
request | Milestone:
Priority: low | Version: 7.8.3
Component: Build | Keywords:
System | Architecture: Unknown/Multiple
Resolution: | Difficulty: Unknown
Operating System: | Blocked By:
Unknown/Multiple | Related Tickets:
Type of failure: Other |
Test Case: |
Blocking: |
Differential Revisions: Phab:D500 |
-------------------------------------+-------------------------------------
Comment (by Austin Seipp

#9807: Only test for bug #9439 when llvm is installed -------------------------------------+------------------------------------- Reporter: ihmccreery | Owner: Type: feature | Status: closed request | Milestone: 7.10.1 Priority: low | Version: 7.8.3 Component: Build | Keywords: System | Architecture: Unknown/Multiple Resolution: fixed | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: Type of failure: Other | Test Case: | Blocking: | Differential Revisions: Phab:D500 | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: new => closed * resolution: => fixed * milestone: => 7.10.1 Comment: Merged, thanks thomie! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9807#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC