Skip to content

./configure detects llc-$version but clang (without version)

I am building ghc-8.8.3 from source. The output of ./configure contains

   Using LLVM tools                       
      clang : clang
      llc   : llc-7
      opt   : opt-7  

where clang is actually clang-10. Could this lead to problems later?

I have two llvm installs in $PATH:

$ which clang
/opt/llvm/latest/bin/clang

$ which llc
/opt/llvm/latest/bin/llc

$ which llc-7
/usr/bin/llc-7

If ghc wants version 7, then it should check for clang-7 (not clang)?

I think the same happens when building ghc-8.10.1, which wants llvm-9.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information