[llvm-bugs] [Bug 41794] New: llvm-config: provide versioned symlinks
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed May 8 02:12:53 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41794
Bug ID: 41794
Summary: llvm-config: provide versioned symlinks
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: gerion.entrup at flump.de
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
When installing LLVM it provides a binary llvm-config in the bin directory. Can
you also add a symlink to llvm-config-VERSION like e.g. clang also has? As an
example if someone wants to install LLVM 8, then a symlink llvm-config-8 is
created together with llvm-config.
The background of this is the possibility to handle multiple installed LLVM
versions as done by different Linux distributions. Currently, most
distributions patch the installation, permit only installation of one LLVM, or
install in a way that only one llvm-config tool is usable:
Debian:
The LLVM bin directory is installed to /usr/bin. llvm-config is patched to
llvm-config-VERSION to avoid conflicts.
Gentoo:
LLVM is installed to /usr/lib/llvm/VERSION/ and all bin directories are added
to PATH. So only the first llvm-config is found, when typing llvm-config.
Arch:
Allow only one LLVM installation (although multiple LLVM libraries can be
installed together).
Further related bug reports:
https://github.com/mesonbuild/meson/issues/5370
https://bugs.gentoo.org/677504
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190508/1a1bd6ad/attachment-0001.html>
More information about the llvm-bugs
mailing list