Port details on branch 2024Q3 |
- llvm13 LLVM and Clang
- 13.0.1_7 devel
=0 13.0.1_7Version of this port present on the latest quarterly branch. - Maintainer: brooks@FreeBSD.org
 - Port Added: 2024-08-02 22:27:26
- Last Update: 2024-09-14 07:25:06
- Commit Hash: b3ef9c3
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS_BUILD:
- To install the port:
- cd /usr/ports/devel/llvm13/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/llvm13
- pkg install llvm13
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: llvm13
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1644266911
SHA256 (llvm-project-13.0.1.src.tar.xz) = 326335a830f2e32d06d0a36393b5455d17dc73e0bd1211065227ee014f92cbf8
SIZE (llvm-project-13.0.1.src.tar.xz) = 97584928
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:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-sphinx-markdown-tables>=0 : textproc/py-sphinx-markdown-tables@py311
- py311-recommonmark>=0.0.20180530 : textproc/py-recommonmark@py311
- ld.gold : devel/binutils
- swig : devel/swig
- cmake : devel/cmake-core
- ninja : devel/ninja
- python3.11 : lang/python311
- perl5>=5.36<5.37 : lang/perl5.36
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- perl5>=5.36<5.37 : lang/perl5.36
- Library dependencies:
-
- liblua-5.3.so : lang/lua53
- libedit.so.0 : devel/libedit
- libxml2.so : textproc/libxml2
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for llvm13-13.0.1_7:
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=on: 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
PYCLANG=on: Install python bindings to libclang
====> 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_llvm13
- USES:
- cmake compiler:c++11-lib cpe perl5 tar:xz shebangfix python lua:53 libedit gnome
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
13.0.1_7 14 Sep 2024 07:25:06
    |
Dimitry Andric (dim)  |
devel/llvm13: fix build with clang 19
Clang 19 now implements CWG 96 [1], which requires a template argument
list after a 'template' keyword, resulting in errors similar to:
/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/flang/include/flang/Evaluate/integer.h:310:32:
error: a template argument list is expected after a name prefixed by the
template keyword [-Wmissing-template-arg-list-after-template-kw]
310 | auto back{FROM::template ConvertSigned(result.value)};
| ^
Upstream has committed a fix to their main branch [2], but it does not
apply cleanly to 13.0.1, so add a backported patch.
[1] https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96
[2]
https://github.com/llvm/llvm-project/commit/7bc7672925f8154be3b8220365d3f269ac43621c
PR: 281486
Approved by: brooks (maintainer)
MFH: 2024Q3
(cherry picked from commit e34a77083e96050812b4f082efc716dd16069c82) |
13.0.1_7 02 Aug 2024 22:24:05
    |
Dimitry Andric (dim)  |
devel/llvm13: 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/llvm13 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/llvm13/work-default/llvm-project-13.0.1.src/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp:595:34:
note: in instantiation of template class 'std::basic_string<unsigned char>'
requested here
638 | std::basic_string<uint8_t> zeros(reg_info.byte_size, '\0');
| ^ (Only the first 15 lines of the commit message are shown above ) |