Skip to content

Please make LLVM binary names configurable

While the name of the GCC binary, for example, is configurable in settings, this is not true for the LLVM binaries (llc and opt); these are hard-coded in source:/compiler/main/SysTools.lhs

This is required, e.g., for Debian where "opt" might be any llvm version and only "opt-3.0" would work. Ideally, we can set the name with ./configure and it would apply both for the build of ghc and the final ghc binary.

Trac metadata
Trac field Value
Version 7.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (LLVM)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information