notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2024Q3
llvm16 LLVM and Clang
16.0.6_11 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 16.0.6_11Version of this port present on the latest quarterly branch.
Maintainer: brooks@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-08-02 22:27:11
Last Update: 2024-08-02 22:23:44
Commit Hash: 0bab110
Also Listed In: lang
License: BSD3CLAUSE LLVM MIT PD REGEX LLVM2
WWW:
https://llvm.org/
Description:
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This port includes Clang (a C/C++/Objective-C compiler), LLD (a linker), LLDB (a debugger), an OpenMP runtime library, and the LLVM infrastructure these are built on.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • llvm16>0:devel/llvm16
Conflicts:
CONFLICTS_BUILD:
  • cmark
CONFLICTS_INSTALL:
  • llvm16
  • llvm16-lite
To install the port:
cd /usr/ports/devel/llvm16/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/llvm16
  • pkg install llvm16
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: llvm16
Package flavors (<flavor>: <package>)
  • default: llvm16
  • lite: llvm16-lite
distinfo:
TIMESTAMP = 1722603709 SHA256 (llvm-project-16.0.6.src.tar.xz) = ce5e71081d17ce9e86d7cbcfa28c4b04b9300f8fb7e78422b1feb6bc52c3028e SIZE (llvm-project-16.0.6.src.tar.xz) = 118013488

Expand this list (6 items)

Collapse this list.

SHA256 (llvmorg-18-init-1760-g68744ffbdd7d.patch) = ad9ad1613491f69b010dbbd6a9d90d5dd505e46d9537a6e533f36dacd552d0f7 SIZE (llvmorg-18-init-1760-g68744ffbdd7d.patch) = 1491 SHA256 (llvmorg-18-init-15199-gb9935bb02a50.patch) = b0805cba765084c7bef426fa1235dd887c61ae0c1fd5e3fad5c8742cdd6ee8b0 SIZE (llvmorg-18-init-15199-gb9935bb02a50.patch) = 1893 SHA256 (llvmorg-18-init-15680-g966d564e43e6.patch) = 3abf92d4a788ff2f74fa9fc627a113f04d9fb72cd7e47344a8c4dce06140a163 SIZE (llvmorg-18-init-15680-g966d564e43e6.patch) = 1297

Collapse this list.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-sphinx-markdown-tables>=0 : textproc/py-sphinx-markdown-tables@py311
  2. py311-recommonmark>=0.0.20180530 : textproc/py-recommonmark@py311
  3. ld.gold : devel/binutils
  4. swig : devel/swig
  5. cmake : devel/cmake-core
  6. ninja : devel/ninja
  7. python3.11 : lang/python311
  8. perl5>=5.36<5.37 : lang/perl5.36
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
  2. perl5>=5.36<5.37 : lang/perl5.36
Library dependencies:
  1. libzstd.so : archivers/zstd
  2. liblua-5.3.so : lang/lua53
  3. libedit.so.0 : devel/libedit
This port is required by:
for Libraries
  1. emulators/rpcs3

Configuration Options:
===> The following configuration options are available for llvm16-16.0.6_11: BE_AMDGPU=on: AMD GPU backend (required by mesa) BE_WASM=on: WebAssembly backend (required by firefox via wasi) CLANG=on: Build clang COMPILER_RT=on: Sanitizer libraries DOCS=on: Build and/or install documentation EXTRAS=on: Extra clang tools FLANG=off: Flang FORTRAN compiler GOLD=on: Build the LLVM Gold plugin for LTO LIT=on: Install lit and FileCheck test tools LLD=on: Install lld, the LLVM linker LLDB=on: Install lldb, the LLVM debugger MLIR=on: Multi-Level Intermediate Representation OPENMP=on: Install libomp, the LLVM OpenMP runtime library POLLY=off: Polyhedral loop and data-locality optimizer PYCLANG=on: Install python bindings to libclang STATIC_LIBS=on: Install static libraries (does not effect sanitizers) ====> Options available for the single BACKENDS: you have to select exactly one of them BE_FREEBSD=off: Backends for FreeBSD architectures BE_NATIVE=off: Backend(s) for this architecture (X86) BE_STANDARD=on: All non-experimental backends ===> Use 'make config' to modify these settings
Options name:
devel_llvm16
USES:
cmake compiler:c++17-lang cpe tar:xz shebangfix python perl5 lua:53 libedit gnome
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.6/
  2. https://releases.llvm.org/16.0.6/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
16.0.6_11
02 Aug 2024 22:23:44
commit hash: 0bab1100ed8a3253cb212b1d73ae0cc282a2fda6commit hash: 0bab1100ed8a3253cb212b1d73ae0cc282a2fda6commit hash: 0bab1100ed8a3253cb212b1d73ae0cc282a2fda6commit hash: 0bab1100ed8a3253cb212b1d73ae0cc282a2fda6 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
devel/llvm16: fix build with libc++ 19

As noted in the libc++ 19 release notes [1], std::char_traits<> is now
only provided for char, char8_t, char16_t, char32_t and wchar_t, and any
instantiation for other types will fail.

This causes devel/llvm16 to fail to compile with clang 19 and libc++
19, resulting in errors similar to:

    /usr/include/c++/v1/string:820:42: error: implicit instantiation of
undefined template 'std::char_traits<unsigned char>'
      820 |   static_assert(is_same<_CharT, typename
traits_type::char_type>::value,
          |                                          ^
   
/wrkdirs/usr/ports/devel/llvm16/work-default/llvm-project-16.0.6.src/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp:636:34:
note: in instantiation of template class 'std::basic_string<unsigned char>'
requested here
      636 |       std::basic_string<uint8_t> zeros(reg_info.byte_size, '\0');
          |                                  ^
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 1