Port details |
- llvm17 LLVM and Clang
- 17.0.6_8 devel =6 17.0.6_8Version of this port present on the latest quarterly branch.
- Maintainer: brooks@FreeBSD.org
- Port Added: 2023-07-31 23:48:12
- Last Update: 2024-10-01 23:16:46
- Commit Hash: 7cea690
- People watching this port, also watch:: webp, p5-CGI, perl5, libxml2, wget
- 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/llvm17/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/llvm17
- pkg install llvm17
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: llvm17
- Package flavors (<flavor>: <package>)
- default: llvm17
- lite: llvm17-lite
- distinfo:
- TIMESTAMP = 1722603078
SHA256 (llvm-project-17.0.6.src.tar.xz) = 58a8818c60e6627064f312dbf46c02d9949956558340938b71cf731ad8bc0813
SIZE (llvm-project-17.0.6.src.tar.xz) = 127838860
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/electron29
- devel/electron30
- devel/qtcreator
- devel/wasi-compiler-rt17
- devel/wasi-libcxx17
- emulators/wine
- emulators/wine-devel
-
Deleted ports which required this port:
- for Libraries
-
- databases/arrow
- devel/cppinsights
- devel/opencl-clang
- lang/halide
- lang/inko
- lang/picolisp
-
Deleted ports which required this port:
- for Run
-
- devel/qtcreator
- lang/halide
Configuration Options:
- ===> The following configuration options are available for llvm17-17.0.6_8:
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=on: 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_llvm17
- 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 |
17.0.6_8 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 |
17.0.6_8 12 Sep 2024 07:15:27 |
Brooks Davis (brooks) |
devel/llvm[789]: restore arm_bf16.h to ARM backend
arm_bf16.h is generated for both armv7 and aarch64 so move it back to
ARM. We don't support AArch64 without ARM so we can just move it and
not need to worry about duplicate supression (I'd previously fixed the
issue in llvm19 in a more complicated manner so this change removes the
duplicate supression and documents why it's not needed.)
PR: 281179
Reported by: Mark Millard |
17.0.6_7 02 Aug 2024 21:59:07 |
Dimitry Andric (dim) |
devel/llvm17: 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/llvm17 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/llvm17/work-default/llvm-project-17.0.6.src/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp:634:34:
note: in instantiation of template class 'std::basic_string<unsigned char>'
requested here
634 | std::basic_string<uint8_t> zeros(reg_info.byte_size, '\0');
| ^ (Only the first 15 lines of the commit message are shown above ) |
17.0.6_7 11 Jun 2024 23:26:15 |
Brooks Davis (brooks) |
devel/llvm17: install all heaaders with clang
Historically we've been unable to build FreeBSD with the full set due to
conflicts and/or missing features between the compiler provided headers
and FreeBSD's headers. I've verified that I can build world and kernel
on the main, stable/14, and stable/13 branches for amd64 so let's give
it another try in broader testing.
PR: 274542 |
17.0.6_6 10 May 2024 20:04:30 |
Brooks Davis (brooks) |
devel/llvm17: openmp Fix child processes affinity
Backport upstream 73bb8d9d92f6:
[OpenMP] Fix child processes to use affinity_none (#91391)
PR: 278843
Submitted by: cbl@cbl.us |
17.0.6_5 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) |
17.0.6_5 09 Feb 2024 00:06:22 |
Brooks Davis (brooks) |
devel/llvm17: aarch64 KASAN and lite flavor fixs
As in the base system, backport:
f577bfb99528 - [sanitizer][msan] fix AArch64 vararg support for KMSAN
Expand STATIC_LIBS (part of the lite flavor) to include cmake bits.
They aren't usable without the .a files they reference.
PR: 271821 |
17.0.6_4 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) |
17.0.6_4 17 Jan 2024 14:33:15 |
Muhammad Moinur Rahman (bofh) |
devel/llvm17: Sanitize MANPREFIX
Approved by: brooks (private mail) |
17.0.6_3 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 |
17.0.6_2 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 |
17.0.6_2 11 Dec 2023 17:42:26 |
Brooks Davis (brooks) |
devel/llvm17: merge upstream llvm fixes
These fixes were merged to the base LLVM compiler:
158f4f30adb4 [Clang] Do not change the type of captured vars when checking
lambda constraints
3ed9e9e3ace6 [Clang] Add captures to the instantiation scope of lambda call
operators |
17.0.6_1 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 |
17.0.6 28 Nov 2023 18:27:01 |
Brooks Davis (brooks) |
devel/llvm17: Update to 17.0.6
For changes, see:
https://discourse.llvm.org/t/llvm-17-0-6-released/75281
Of note __float128 support is now enabled for FreeBSD (and NetBSD)
targets). |
17.0.5 16 Nov 2023 00:16:13 |
Brooks Davis (brooks) |
devel/llvm17: Update to 17.0.5
For changes in this release, see:
https://discourse.llvm.org/t/llvm-17-0-5-released/74906 |
17.0.4 02 Nov 2023 15:49:47 |
Brooks Davis (brooks) |
devel/llvm17: Update to 17.0.4
For included changes see:
https://discourse.llvm.org/t/llvm-17-0-4-released/74548 |
17.0.3 18 Oct 2023 20:53:14 |
Brooks Davis (brooks) |
devel/llvm17: update to 17.0.3
See the release announcement for changes:
https://discourse.llvm.org/t/llvm-17-0-3-released/74172 |
17.0.2 12 Oct 2023 23:45:10 |
Brooks Davis (brooks) |
devel/llvm17: remove obsolete powerpc patch
The lines immediatly below the inserted code do the same thing with
more elegance.
Technically this changes the package contents, but there is no
functional change so don't make everyone build with a PORTREVSION bump.
We'll do that soon enough when 17.0.3 comes out.
Reported by: Brad Smith <brad@comstyle.com> |
17.0.2 04 Oct 2023 20:06:27 |
Brooks Davis (brooks) |
devel/llvm17: update to 17.0.2
For changes in this release see:
https://discourse.llvm.org/t/llvm-17-0-2-released/73840
Fix a duplicate listing of arm_sve.h. It is sufficent to include it only
in the Arm case becaues AArch64 always implies Arm in the port. |
17.0.1 23 Sep 2023 08:09:54 |
Brooks Davis (brooks) |
devel/llvm17: fix non-aarch64 plist issue
arm_sme_draft_spec_subject_to_change.h is an aarch64-specific header.
Reading the Cmakefiles, it appears arm_bf16.h and arm_sve.h are also
aarch64 not arm specific so move them. |
17.0.1 21 Sep 2023 15:23:35 |
Brooks Davis (brooks) |
devel/llvm17: fix openmp library depends
Don't link with libffi.
Reformat long or multi-line OPTION_FOO variables.
PR: 273801
Co-authored-by: Ivan Rozhuk <rozhuk.im@gmail.com> |
17.0.1 19 Sep 2023 17:20:26 |
Brooks Davis (brooks) |
devel/llvm17: Welcome 17.0.1
Welcome the first release of LLVM 17. See the release announcement for
more details: https://discourse.llvm.org/t/llvm-17-0-1-released/73549
(Note that 17.0.0 was tagged, but contained an error so was not
released.)
Fix an issue where libffi would be linked if available by disabling it's
use in OpenMP. [0]
PR: 273801, 273947
Submitted by: Ivan Rozhuk <rozhuk.im@gmail.com> [0] |
17.0.0.r4 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 |
17.0.0.r4 07 Sep 2023 23:47:21 |
Brooks Davis (brooks) |
devel/llvm17: update to rc4
For a list of changes since rc3, see:
https://discourse.llvm.org/t/llvm-17-0-0-rc4-released/73257
Reenable COMPILER_RT on aarch64 as the build issue I'm aware of was
fixed by jrtc27. |
17.0.0.r3 28 Aug 2023 22:11:01 |
Brooks Davis (brooks) |
devel/llvm17: update to RC3
For a list of changes, see:
https://discourse.llvm.org/t/llvm-17-0-0-rc3-released/72946 |
17.0.0.r2 09 Aug 2023 17:43:42 |
Brooks Davis (brooks) |
devel/llvm17: Update to 17.0.0rc2
For changes see:
https://discourse.llvm.org/t/llvm-17-0-0-rc2-released/72658
COMPILER_RT is currently disabled for aarch64 as it is broken due to
https://github.com/llvm/llvm-project/issues/63418. Hopefully a fix will
be found before the full release or I'll attempt use a smaller hammer
that only disables ubsan. |
17.0.0.r1 31 Jul 2023 23:46:27 |
Brooks Davis (brooks) |
devel/llvm17: Welcome 17.0.0rc1
The first release candidate of the LLVM 17 release.
Polly is now enabled by default. |
16.0.6_5 31 Jul 2023 23:46:27 |
Brooks Davis (brooks) |
devel/llvm17: bootstrap from devel/llvm16
Copy llvm16 unchanged except for the exclusion of patches backporting
fixes from upstream LLVM.
This aids diffing to the previous version. |