[GHC] #10170: Find versioned versions of LLVM tools

GHC ghc-devs at haskell.org
Thu Mar 19 00:56:39 UTC 2015


#10170: Find versioned versions of LLVM tools
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                   Owner:  erikd
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Compiler (LLVM)   |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by thomie):

 This should already work. If it doesn't, than that's indeed a bug. See
 commit 1dfab7a8ace5f09f00f8fb695932b4324e88b822

 {{{
 Author: Thomas Miedema <thomasmiedema at gmail.com>
 Date:   Mon Mar 2 11:09:33 2015 -0600

     Fix detection of llvm-x.x

     Summary:
     Four bug fixes and a little refactoring.
     * `find -perm \mode` should be `find -perm /mode` (#9697)

     * `find -regex '$3' should be `find -regex "$3"` (#7661)

     From `man sh` on my system (Ubuntu 14.04):
     "Enclosing characters in single quotes preserves the literal meaning
 of all
     the characters ..."

     * LlcCmd and OptCmd should be passed to ghc, using `-pgmlo` and
 `-pgmlc`, for
       detection of #9439.

     * -pgmlo and -pgmlc were undocumented because of an xml tag
 misplacement.

     Test Plan:
     The aclocal.m4 macro has seen about 10 iterations since its inception.
 Without a
     testsuite, I can't guarantee this version is bug free either. It's all
 pretty
     frustrating.

     Reviewers: bgamari, austin

     Reviewed By: austin

     Subscribers: thomie

     Differential Revision: https://phabricator.haskell.org/D683

     GHC Trac Issues: #9697, #7661, #9439
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10170#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list