.. _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


Dependencies
------------


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 devel/llvm


gentoo:

.. CODE-BLOCK:: bash

    $ sudo emerge sys-devel/clang


homebrew:

.. CODE-BLOCK:: bash

    $ brew install llvm


macports:
install the following packages: clang

nix:

.. CODE-BLOCK:: bash

    $ nix-env --install clang


openbsd:
install the following packages: devel/llvm

opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install llvm


slackware:

.. CODE-BLOCK:: bash

    $ sudo slackpkg install llvm


void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  clang



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

