VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /usr/share/doc/llvm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/llvm/README.Debian
		The Debian LLVM Setup
		=====================

Abstract
--------

Debian uses a default version of LLVM for most packages; however, some
packages require another version.  So, Debian allows several versions
of LLVM to coexist on the same system, and selects the default version
by means of the llvm-defaults package, which creates symbolic links as
appropriate.

How are the default compilers selected?
---------------------------------------

Starting in Debian 6.0, there is now a llvm-defaults package set. This
creates the actual packages for llvm, llvm-runtime, llvm-dev and
libllvm-ocaml-dev. These packages will depend on the corresponding
default compiler for that architecture. For example,
"llvm" depends on "llvm-3.0", which means that the "llvm-3.0" package
will install some binaries suffixed by "-3.0", which are symlinked in
the "llvm" package to unversioned binaries.

This may seem confusing, but what it allows you do to is install more
than one version of the Low Level Virtual Machine at the same time,
making sure you are always using the one preferred for that
architecture.

The default compiler versions for Debian GNU/Linux on amd64 are
(minor version numbers omitted):

	llvm		: llvm-10

Thanks to llvm-defaults, each architecture can choose its own
preferred llvm version, and that preference can change without
requiring a complete rebuild of both llvm packages for all
architectures.

How to build with a specific version of clang?
----------------------------------------------

Please give the CC or CXX variables to the build system.
For example, to build with clang-10, the following command should
do the work:

CC=clang-10 CXX=clang++-10 make
or
CC=clang-10 CXX=clang++-10 ./configure

llvm-*/... are not handled using alternatives
----------------------------------------------

The symlinks in /usr/bin (llvm-*, ...) are not handled using the Debian
alternative mechanism. There are differences in the architecture specific
ABI on some architectures. Having the symlinks managed by alternatives
doesn't allow reliable builds with the same major/minor version of the
compiler.

Feedback appreciated
--------------------

Feedback about this document is appreciated; preferably as a Severity:
wishlist bug against Package: llvm . For general discussions and
questions, subscribe and/or email the pkg-llvm-team@lists.alioth.debian.org
mailing list.

Maintainers of these packages
-----------------------------

Matthias Klose <doko@debian.org>
Sylvestre Ledru <sylvestre@debian.org>

===============================================================================

VaKeR 2022