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
Remember
I remember
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details on branch 2024Q3
llvm18 LLVM and Clang
18.1.8_1 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 18.1.8Version of this port present on the latest quarterly branch.
Maintainer: brooks@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-07-25 22:57:12
Last Update: 2024-07-25 22:29:34
Commit Hash: 20f78eb
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:
  • llvm18>0:devel/llvm18
Conflicts:
CONFLICTS_BUILD:
  • amd64-binutils
  • cmark
CONFLICTS_INSTALL:
  • llvm18
  • llvm18-lite
To install the port:
cd /usr/ports/devel/llvm18/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/llvm18
  • pkg install llvm18
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: llvm18
Package flavors (<flavor>: <package>)
  • default: llvm18
  • lite: llvm18-lite
distinfo:
TIMESTAMP = 1719009196 SHA256 (llvm-project-18.1.8.src.tar.xz) = 0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a SIZE (llvm-project-18.1.8.src.tar.xz) = 132067260

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-myst-parser>0 : textproc/py-myst-parser@py311
  2. py311-sphinx-markdown-tables>=0 : textproc/py-sphinx-markdown-tables@py311
  3. py311-recommonmark>=0.0.20180530 : textproc/py-recommonmark@py311
  4. ld.gold : devel/binutils
  5. swig : devel/swig
  6. cmake : devel/cmake-core
  7. ninja : devel/ninja
  8. python3.11 : lang/python311
  9. 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 Build
  1. www/chromium
  2. www/iridium
  3. www/ungoogled-chromium
for Libraries
  1. devel/spirv-llvm-translator

Configuration Options:
===> The following configuration options are available for llvm18-18.1.8_1: 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_llvm18
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 (1 items)
Collapse this list.
  1. https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
18.1.8_1
25 Jul 2024 22:29:34
commit hash: 20f78eb6a09b06a7258cf2981a7325759a81f486commit hash: 20f78eb6a09b06a7258cf2981a7325759a81f486commit hash: 20f78eb6a09b06a7258cf2981a7325759a81f486commit hash: 20f78eb6a09b06a7258cf2981a7325759a81f486 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm18: fix host dependent compiler output for i386

Merge fixes for a couple cases where the compiler generated different
i386 code depending on the host.  In the base system this showed up as
very small differences in a couple object files in buildworld for i386
depending on the host architecture (i386 or amd64).

PR:		276961
(cherry picked from commit a4e0cb2fd99adef4cbd4f778be729a079a5f2dea)
18.1.8
25 Jul 2024 22:29:34
commit hash: 1a76ace6f32b1d5b91a4d4054814d125b9ba3a5bcommit hash: 1a76ace6f32b1d5b91a4d4054814d125b9ba3a5bcommit hash: 1a76ace6f32b1d5b91a4d4054814d125b9ba3a5bcommit hash: 1a76ace6f32b1d5b91a4d4054814d125b9ba3a5b files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm18: Backport __stack_chk_guard fix

Backport upstream commit commit 26464f2662d1 which marks __stack_chk_guard
dso_local except for PPC64 to fix loading an x86 kernel build with
--fstack-protector.

Also update to 18.1.8.  From a packaging perspective this only bumps the
version number since it only touchs libc++ which we don't ship.  As such,
I'd waited to bundle this bump with a functional change.

Drop releases.llvm.org, the LLVM project seems to nonlonger update it.

Co-authored by: Ahmad Khalifa <ahmadkhalifa570@gmail.com>
Pull Request: https://github.com/freebsd/freebsd-ports/pull/283

(cherry picked from commit 772e9ff110df8a8485f4e417c648b626dd829e9e)

Number of commits found: 2