[llvm-dev] llvm-config issues

Marc Defossez via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 3 23:44:24 PDT 2019


Hi,

I hope I can ask my question here and get answers, hints about what 
might be wrong.
     Googled, but got no meaningful answer
     Asked GHDL developers but it's not a GHDL issue.
     Thus, I arrived here
     Already many thanks in advance.

- System: Linux-Mint 19
- For building of GHDL, LLVM is required.
- Went to apt.llvm.org
- Browsed down till Ubuntu square and add the LLVM-8 deb and deb-src 
line for Ubuntu 18.04 as a .list file to the apt source.list.d of my 
system (Ubuntu-18.04 because Mint-19 is based on it).
- Browsed further down the page and followed the qualification branch 
install procedure.
- Everything installed without any error or warning.
- Typing afterwards in the terminal: "clang-8 --version" results in this 
return:

clang version 8.0.1-svn363027-1~exp1~20190611211629.77 (branches/release_80)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

- Running in the terminal the configure command for GHDL:
          "../configure --with-llvm-config=/usr/bin/llvm-config-8 
--prefix=/opt/Ghdl"
   results in this output:

Use full IEEE library
Build machine is: x86_64-linux-gnu
Unhandled version llvm 8.0.1

Why do I get: Unhandled version llvm 8.0.1

- "/usr/bin" is in the PATH.
- "/usr/bin/llvm-config-8" is a link, so I tried to use the source of 
the link: "/usr/lib/llvm-8/bin/llvm-config" but thsi did not help.
- Running in terminal: "/usr/lib/llvm-8/bin/llvm-config --version" 
results in this return: 8.0.1
- The same output is obtained when running at the prompt: "llvm-config-8".
- Checked, "apt-cache policy llvm-8", the llvm-8 version in apt return 
the same value and version as I installed via apt.llvm.org

What can be wrong?
Or what did I do wrong?

Many thanks in advance,

Marc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190704/35ecfb22/attachment.html>


More information about the llvm-dev mailing list