
#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 rwbarton): On my Debian system there is also `/usr/bin/llc-3.x` which is a symlink to `/usr/lib/llvm-3.x/bin/llc`. If GHC requires LLVM 3.6, for instance, wouldn't it be best to look for `llc-3.6` in the `$PATH`, rather than specifically `/usr/lib/llvm-3.6/bin/llc`? Then it would also work if the user installed `llc-3.6` other than through their package manager (e.g., in `~/bin`). Maybe this is what you were suggesting in comment:2, not sure. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10170#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler