Port details on branch 2021Q3 |
- llvm12 LLVM and Clang
- 12.0.1_2 devel =0 12.0.1_13Version of this port present on the latest quarterly branch.
- Maintainer: brooks@FreeBSD.org
- Port Added: 2021-08-11 20:03:07
- Last Update: 2021-08-11 20:01:10
- Commit Hash: 53c8d10
- Also Listed In: lang
- License: BSD3CLAUSE LLVM MIT PD REGEX LLVM2
- WWW:
- http://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.
WWW: http://llvm.org/
- ¦ ¦ ¦ ¦
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS_BUILD:
- Conflicts Matches:
-
There are no Conflicts Matches for this port. This is usually an error.
- To install the port:
- cd /usr/ports/devel/llvm12/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/llvm12
- pkg install llvm12
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: llvm12
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1626371873
SHA256 (llvm-project-12.0.1.src.tar.xz) = 129cb25cd13677aad951ce5c2deb0fe4afc1e9d98950f53b51bdcfb5a73afa0e
SIZE (llvm-project-12.0.1.src.tar.xz) = 90910004
No package information for this port in our database- Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- libunwind>0 : devel/libunwind
- py38-sphinx>=0,1 : textproc/py-sphinx@py38
- py38-recommonmark>=0.0.20180530 : textproc/py-recommonmark@py38
- ld.gold : devel/binutils
- swig : devel/swig
- cmake : devel/cmake
- ninja : devel/ninja
- python3.8 : lang/python38
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- python3.8 : lang/python38
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Library dependencies:
-
- liblua-5.3.so : lang/lua53
- libedit.so.0 : devel/libedit
- libxml2.so : textproc/libxml2
- This port is required by:
- for Build
-
- emulators/rpcs3
- lang/zig
- mail/thunderbird
- www/firefox
- www/firefox-esr
- for Libraries
-
- graphics/mesa-devel
Configuration Options:
- ===> The following configuration options are available for llvm12-12.0.1_2:
BE_AMDGPU=on: AMD GPU backend (required by mesa)
CLANG=on: Build clang
COMPILER_RT=on: Sanitizer libraries
DOCS=on: Build and/or install documentation
EXTRAS=on: Extra clang tools
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
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_llvm12
- USES:
- cmake compiler:c++11-lib perl5 tar:xz shebangfix python:3.6+ localbase 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 |
12.0.1_2 11 Aug 2021 20:01:10 |
Brooks Davis (brooks) |
devel/llvm12: lld fix compressed input sections
Apply upstream lld fix for compressed input sections on BE targets
[LLD] Support compressed input sections on big-endian targets
This patch enables compressed input sections on big-endian targets by
checking the target endianness and selecting an appropriate `Chdr`
structure.
Fixes PR51369
Differential Revision: https://reviews.llvm.org/D107635
MFH: 2021Q3
Sponsored by: DARPA
(cherry picked from commit f4fb63c060f4afb6d61e558b38a4092fadddacb1) |
12.0.1_1 11 Aug 2021 20:01:10 |
Brooks Davis (brooks) Author: Mark Johnston |
devel/llvm12: Add patches to enable kernel sanitizers on FreeBSD
I use CROSS_TOOLCHAIN quite frequently, but can't do so when building
kernels with KASAN or KMSAN enabled since these patches didn't make it
into LLVM 12. This diff just backports them to the port. I believe this
is low-risk and thus is acceptable for the port, as opposed to waiting
for LLVM 13.
Differential Revision: https://reviews.freebsd.org/D31316
(cherry picked from commit f8617a24662331dd03d72d4bc36a0238ec54d119) |
12.0.1 11 Aug 2021 20:01:09 |
Brooks Davis (brooks) |
devel/llvm12: Update to 12.0.1 release
This release restores Reporter.py required for scan-build. [0]
Correct missing renames of lit modules. [1]
Remove no-op LLD_LINK option.
PR: 256297 [0], 257123 [1]
Reported by: phk [0], Derek Schrock <dereks@lifeofadishwasher.com> [1]
(cherry picked from commit 1d5b2f98a4186c8ed4ba8e5524651412cd16868d) |
12.0.0_1 11 Aug 2021 20:01:09 |
Brooks Davis (brooks) Author: Piotr Kubaj |
devel/llvm12: enable OPENMP on riscv64
(cherry picked from commit bacf0577d8d5cee5553f1e6622fe917ca65de69d) |