Port details |
- llvm16 LLVM and Clang
- 16.0.6_11 devel =4 16.0.6_11Version of this port present on the latest quarterly branch.
- Maintainer: brooks@FreeBSD.org
- Port Added: 2023-01-30 23:42:07
- Last Update: 2024-10-01 23:16:46
- Commit Hash: 7cea690
- People watching this port, also watch:: perl5, samba416, openjdk11, p5-libwww, libxml2
- 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 - There is no configure plist information for this port.
- Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- 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
Packages (timestamps in pop-ups are UTC):
- 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:
-
- libzstd.so : archivers/zstd
- liblua-5.3.so : lang/lua53
- libedit.so.0 : devel/libedit
- This port is required by:
- for Build
-
- devel/cvise
- devel/wasi-compiler-rt16
- devel/wasi-libcxx16
- editors/imhex
- emulators/mame
- lang/pocl
- math/clad
-
Deleted ports which required this port:
- for Libraries
-
- emulators/rpcs3
- lang/crystal
- for Run
-
- devel/cvise
- math/clad
- math/heyoka
- math/py-heyoka
- security/afl++
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
16.0.6_11 01 Oct 2024 23:16:46 |
Brooks Davis (brooks) |
devel.llvm[12345678]: remove cmark conflict [NFC]
The build conflict with cmark is no longer needed.
PR: 239636, 274848 |
16.0.6_11 02 Aug 2024 22:00:31 |
Dimitry Andric (dim) |
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 ) |
16.0.6_11 10 May 2024 20:04:50 |
Brooks Davis (brooks) |
devel/llvm16: openmp Fix child processes affinity
Backport upstream 73bb8d9d92f6:
[OpenMP] Fix child processes to use affinity_none (#91391)
PR: 278843
Submitted by: cbl@cbl.us |
16.0.6_10 14 Apr 2024 19:52:59 |
Daniel Engberg (diizzy) |
devel/llvm*: Remove unnecessary C/CFLAGS definitions
As of 3c5189a0fd4c82addfb659024bf28c5006bf88f7
there's no need to define DNDEBUG manually
PR: 277909
Approved by: portmgr (maintainer timeout, 2+ weeks) |
16.0.6_10 21 Jan 2024 12:51:14 |
Muhammad Moinur Rahman (bofh) |
devel/llvm*: Sanitize MANPREFIX
Not bumping as there is no change in PKG. This should have been done in
my previous commit.
Approved by: portmgr (blanket) |
16.0.6_10 17 Jan 2024 14:33:16 |
Muhammad Moinur Rahman (bofh) |
devel/llvm16: Sanitize MANPREFIX
Approved by: brooks (private mail) |
16.0.6_9 12 Jan 2024 16:31:52 |
Dimitry Andric (dim) |
devel/llvm14 devel/llvm15 devel/llvm16 devel/llvm17: fix build with clang 18
Clang 18 is more strict in checking inline assembly constraints,
resulting in an error building devel/llvm14, devel/llvm15, devel/llvm16,
and devel/llvm17:
/wrkdirs/usr/ports/devel/llvm14/work-default/llvm-project-14.0.6.src/compiler-rt/lib/asan/asan_rtl_x86_64.S:130:286:
error: displacement 70368744177664 is not within [-2147483648, 2147483647]
This is fixed by two upstream commits:
https://github.com/llvm/llvm-project/commit/b9935bb02a50
https://github.com/llvm/llvm-project/commit/966d564e43e6
PR: 276155
Approved by: brooks (maintainer)
MFH: 2024Q1 |
16.0.6_8 01 Jan 2024 18:54:47 |
Muhammad Moinur Rahman (bofh) |
devel/llvm16: Fix build
While my last commit I fixed llvm10-15 but somehow a mistake slipped to
the commits for llvm16.
Approved by: portmgr (blanket) |
16.0.6_8 31 Dec 2023 22:36:45 |
Muhammad Moinur Rahman (bofh) |
devel/llvm1[0123456]: Fix build
After the EOL of stable/12 sparc related codes were removed which broke
the build. This patches fixes those builds and also the consumers.
Thanks to dim@ for tha patches.
Approved by: portmgr (blanket) |
16.0.6_8 31 Dec 2023 00:37:05 |
Muhammad Moinur Rahman (bofh) |
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068 |
16.0.6_8 11 Dec 2023 17:42:25 |
Brooks Davis (brooks) |
devel/llvm1[234567]: enable qsort sanatizer wrapper
I'd disabled it in 10.0.0 when it was found to be broken. It was then
fixed in LLVM 12, but the patch was never never removed and I propogated
it along for several year.
Reported by: Brad Smith <brad@comstyle.com>
See also: https://github.com/llvm/llvm-project/issues/46176 |
16.0.6_7 04 Dec 2023 20:55:18 |
Brooks Davis (brooks) |
devel/llvm16: merge backports from FreeBSD src
These upstream LLVM commits have been merged to FreeBSD's source tree
post the 17.0.6 release:
7440e4ed85aa [sanitizer] Add re-execution on FreeBSD when ASLR is detected
(#73439)
989879f8fded [Clang] Allow C++11 style initialisation of SVE types.
9ca395b5ade1 [clang][AST] Propagate the contains-errors bit to DeclRefExpr from
VarDecl's initializer.
While here, be consistant about using 12 digits of commit hash. |
16.0.6_6 21 Sep 2023 15:23:34 |
Brooks Davis (brooks) |
devel/llvm16: fix openmp library depends
Don't link with libffi.
Reformat long and/or multi-line OPTION_FOO variables.
PR: 273801
Co-authored-by: Ivan Rozhuk <rozhuk.im@gmail.com> |
16.0.6_5 13 Sep 2023 15:42:51 |
Brooks Davis (brooks) Author: John Hein |
devel/llvm1*: remove cmake 4Python3_EXECUTABLE definition
It is now defined in Mk/Uses/python.mk.
PR: 273713 |
16.0.6_5 17 Jul 2023 17:56:59 |
Brooks Davis (brooks) |
devel/llvm16: backport upstream powerpc patch
Backport commit 8757ce490130 from llvm-project (by Simon Pilgrim):
[PowerPC] Replace PPCISD::VABSD cases with generic ISD::ABDU(X,Y) node |
16.0.6_4 14 Jul 2023 19:07:06 |
Brooks Davis (brooks) |
devel/llvm16: backport upstream powerpc FP fix
The upstream commit fde5924dcc69 has been merged to llvm in the FreeBSD
main branch so merge it here as well.
Issue: https://github.com/llvm/llvm-project/issues/63542 |
16.0.6_3 14 Jul 2023 19:07:05 |
Brooks Davis (brooks) |
devel/llvm16: support polyhedral optimizations
The POLLY option enables the Polly optimizer. It is currently disabled
by default to allow a merge to quarterly without added risk. I plan to
enable it when I create devel/llvm17 in a couple weeks.
From the website (https://polly.llvm.org):
Polly is a high-level loop and data-locality optimizer and
optimization infrastructure for LLVM. It uses an abstract mathematical
representation based on integer polyhedra to analyze and optimize the
memory access pattern of a program. We currently perform classical
loop transformations, especially tiling and loop fusion to improve
data-locality. Polly can also exploit OpenMP level parallelism, expose
SIMDization opportunities.
PR: 272400 |
16.0.6_2 11 Jul 2023 23:11:40 |
Brooks Davis (brooks) |
devel/llvm16: change clang to allow -m32 on arm64
This is a backport from upstream and will be merged to FreeBSD head
soon. See D40943 for more info.
Sponsored by: DARPA |
16.0.6_1 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
16.0.6_1 23 Jun 2023 20:57:03 |
Brooks Davis (brooks) |
devel/llvm16: backport fix for generate arm_neon.h
Backport db49231: [clang][BFloat] Avoid redefining bfloat16_t in
arm_neon.h.
This fixes builds of FreeBSD/aarch64. The change was merged
to the llvm16 in src prior to commit. |
16.0.6 19 Jun 2023 18:44:06 |
Brooks Davis (brooks) |
devel/llvm16: update to 16.0.6 release
Change the lite flavor to default to BE_FREEBSD rather than BE_NATIVE to
allow its use in cross-build CI pipelines.
Backport fix for LLVM bug 61396. [0] This fixes miscompilation of gcc
on 32-bit arm.
PR: 271992 [0]
Reported by: jfc@mit.edu [0] |
16.0.5 06 Jun 2023 00:04:43 |
Brooks Davis (brooks) |
devel/llvm16: Update to 16.0.5
For changes, see: https://discourse.llvm.org/t/16-0-5-releae/71097 |
16.0.4_1 30 May 2023 18:48:50 |
Brooks Davis (brooks) |
devel/llvm16: remove obsolete patch
PR: 271616
Reported by: jfc@mit.edu
MFH: 2023Q2 |
16.0.4 23 May 2023 20:22:04 |
Brooks Davis (brooks) |
devel/llvm16: Update to 16.0.4
For a list of included commits see:
https://discourse.llvm.org/t/16-0-4-release/70692
Sponsored by: DARPA |
16.0.3 03 May 2023 12:41:13 |
Brooks Davis (brooks) |
devel/llvm16: Update to 16.0.3 release
For changes see: https://discourse.llvm.org/t/16-0-3-release/70341
Sponsored by: DARPA |
16.0.2 24 Apr 2023 17:06:48 |
Brooks Davis (brooks) |
devel/llvm16: Update to 16.0.2
For changes see:
https://discourse.llvm.org/t/llvm-16-0-2-release/70107
Sponsored by: DARPA |
16.0.1 24 Apr 2023 17:06:31 |
Brooks Davis (brooks) |
devel/llvm*: Consistently use python:3.7+
llvm12 was inappropriately constrained to 3.6-3.9 breaking the ability
to set 3.10 as the default. llvm11 just specified "python", but there's
no need to keep 2.7 support around. The rest had obsolete 3.6+ entries.
No functional change: This is not expected to change the version of
python used.
PR: 270978
MFH: 2023Q2
Reported by: michael.osipov@siemens.com
Sponsored by: DARPA |
16.0.1 05 Apr 2023 20:35:53 |
Brooks Davis (brooks) |
devel/llvm16: Update to 16.0.1
Included fixes at:
https://discourse.llvm.org/t/llvm-16-0-1-release/69774 |
16.0.0_2 02 Apr 2023 02:17:49 |
Brooks Davis (brooks) |
devel/llvm16: style fixes
Fix assorted minor issues spotted when cleaning update llvm/devel.
No functional changes. |
16.0.0_2 02 Apr 2023 02:17:47 |
Brooks Davis (brooks) |
devel/llvm16: add a lite FLAVOR
The lite flavor is for when you just need a FreeBSD compiler (e.g., in
CI). By default it includes CLANG and LLD as well as backends required
for FreeBSD and FreeBSD ports (BE_NATIVE, BE_AMDGPU, and BE_WASM).
The lite install is ~350GiB on amd64 vs ~1.9GiB for default and it has
only a single dependency (zstandard). (The goal was no dependencies,
but libzstd is a private lib in base.)
Sponsored by: DARPA |
16.0.0_1 02 Apr 2023 02:17:47 |
Brooks Davis (brooks) |
devel/llvm16: add a STATIC_LIBS option
When enabled (default) assorted LLVM componant static libraries are
included in the package. Disabling this option reduces the installed
size by ~1GiB.
Sponsored by: DARPA |
16.0.0_1 21 Mar 2023 17:49:18 |
Brooks Davis (brooks) |
devel/llvm16: Welcome 16.0.0 release
See the release announcement for links to various release notes:
https://discourse.llvm.org/t/llvm-16-0-0-release/
Sponsored by: DARPA |
16.0.0.r3_1 14 Mar 2023 19:04:37 |
Piotr Kubaj (pkubaj) |
devel/llvm16: fix packaging on powerpc
Same as llvm-devel. |
16.0.0.r3_1 09 Mar 2023 09:49:02 |
Piotr Kubaj (pkubaj) |
devel/llvm16: fix patching on powerpc64
Remove the upstreamed patch. |
16.0.0.r3_1 06 Mar 2023 23:27:24 |
Brooks Davis (brooks) |
devel/llvm16: enable MLIR by default, fix aarch64
Some ports require on MLIR so reenable it by default. This turns it on
for all platforms where it was previously disabled for 32-bit platforms
and pulled in indirectly by FLANG. If this proves to cause too many
user issues we'll disable it for 32-bit again.[0]
Fix a missed 16.0.0->16 change in backend include directories which
broke aarch64 with BE_NATIVE. Also enable the ARM (32-bit) backend on
aarch64 as it's plausiably useful.[1]
PR: 269927 [0]
Reported by: yuri [0], Mark Millard <marklmi@yahoo.com> [1] |
16.0.0.r3 23 Feb 2023 17:47:09 |
Brooks Davis (brooks) |
devel/llvm16: 16.0.0rc3
Don't enable FLANG by default and stop installing a link from flang-new
to flang. The former has a deliberately obtuse interface intended to
prevent casual use. While the community sorts it self out, just stick
with that to avoid future confusion. See:
https://discourse.llvm.org/t/reviving-rename-flang-new-to-flang |
16.0.0.r2 08 Feb 2023 18:29:19 |
Brooks Davis (brooks) |
devel/llvm16: update to 16.0.0rc2
Sponsored by: DARPA |
16.0.0.r1 30 Jan 2023 23:38:36 |
Brooks Davis (brooks) |
devel/llvm16: Welcome llvm 16.0.0rc1
First release candidate of LLVM 16. Changes adopted from llvm-devel
over the 6 months since the branch. |
15.0.7 30 Jan 2023 23:38:36 |
Brooks Davis (brooks) |
devel/llvm16: copy unchanged from devel/llvm15
This is a copy of llvm15 at 79aeb739c50106148b1b8bf5f84a9b203f4d7fe8.
Copying it unmodifed makes it easy to diff to the source.
Sponsored by: DARPA |