.. _spkg_llvm:

llvm: The LLVM Compiler Infrastructure, including the Clang C/C++/Objective-C compiler
======================================================================================

Description
-----------

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

Clang is an "LLVM native" C/C++/Objective-C compiler.

The libc++ and libc++ ABI projects provide a standard conformant and high-performance
implementation of the C++ Standard Library, including full support for C++11 and C++14.

License
-------

Apache 2.0 License with LLVM exceptions

Upstream Contact
----------------

https://llvm.org/

Type
----

optional


Version Information
-------------------


Equivalent System Packages
--------------------------

alpine:
install the following packages: clang
arch:

.. CODE-BLOCK:: bash

    $ sudo pacman -S  clang

cygwin:

.. CODE-BLOCK:: bash

    $ apt-cyg install clang

Debian/Ubuntu:

.. CODE-BLOCK:: bash

    $ sudo apt-get install  clang

Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  clang

freebsd:

.. CODE-BLOCK:: bash

    $ sudo pkg install clang

gentoo:

.. CODE-BLOCK:: bash

    $ sudo emerge clang

homebrew:

.. CODE-BLOCK:: bash

    $ brew install clang

macports:
install the following packages: clang
nix:

.. CODE-BLOCK:: bash

    $ nix-env --install clang

openbsd:
install the following packages: clang
opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install clang

slackware:

.. CODE-BLOCK:: bash

    $ sudo slackpkg install clang

void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  clang


If the system package is installed, ./configure will check whether it can be used.

