FreeBSD Ports

lang/ldc 1.43.0_2

LLVM-based D compiler

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
7f17044ed3
License
BSD3CLAUSE
Categories
lang

Description

The LDC project aims to provide a portable D programming language compiler with modern optimization and code generation capabilities.

The compiler uses the official DMD frontends to support the latest version of D2, and relies on the LLVM Core libraries for code generation.

LDC is fully Open Source; the parts of the code not taken/adapted from other projects are BSD-licensed (see the LICENSE file for details).

Install

As a binary package — by origin, or by package name:

pkg install lang/ldc
pkg install ldc

From the ports tree:

cd /usr/ports/lang/ldc/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ldc>0:lang/ldc
LIB_DEPENDS=	libdruntime-ldc-debug-shared.so:lang/ldc

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-1.43.0_2---
FreeBSD:14:quarterly-1.43.0_2n/a--
FreeBSD:15:latest-1.43.0_2n/a--
FreeBSD:15:quarterly-1.43.0_2n/an/an/a
FreeBSD:16:latest-1.43.0_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Library 2

The full lists below include those, and their dependencies in turn.

All build dependencies 20
All run dependencies 5

Configuration

No options to configure.

USES
llvm:lib,run,min=15,max=22 ninja cmake:insource pkgconfig
Service scripts
none

Files

pkg-plist 773
  • bin/ldc-build-plugin
  • bin/ldc-build-runtime
  • bin/ldc-profdata
  • bin/ldc-profgen
  • bin/ldc-prune-cache
  • bin/ldc2
  • bin/ldmd2
  • bin/timetrace2txt
  • etc/ldc2.conf/00-docs.conf
  • etc/ldc2.conf/30-compiler.conf
  • etc/ldc2.conf/50-target-default.conf
  • etc/ldc2.conf/51-target-wasm-base.conf
  • etc/ldc2.conf/55-target-wasm-naked.conf
  • etc/ldc2.conf/70-compiler-rt.conf
  • include/d/__importc_builtins.di
  • include/d/core/atomic.d
  • include/d/core/attribute.d
  • include/d/core/bitop.d
  • include/d/core/builtins.d
  • include/d/core/checkedint.d
  • include/d/core/cpuid.d
  • include/d/core/demangle.d
  • include/d/core/exception.d
  • include/d/core/factory.d
  • include/d/core/gc/config.d
  • include/d/core/gc/gcinterface.d
  • include/d/core/gc/registry.d
  • include/d/core/int128.d
  • include/d/core/internal/abort.d
  • include/d/core/internal/array/appending.d
  • include/d/core/internal/array/arrayassign.d
  • include/d/core/internal/array/capacity.d
  • include/d/core/internal/array/casting.d
  • include/d/core/internal/array/comparison.d
  • include/d/core/internal/array/concatenation.d
  • include/d/core/internal/array/construction.d
  • include/d/core/internal/array/duplication.d
  • include/d/core/internal/array/equality.d
  • include/d/core/internal/array/operations.d
  • include/d/core/internal/array/utils.d
  • include/d/core/internal/atomic.d
  • include/d/core/internal/attributes.d
  • include/d/core/internal/backtrace/dwarf.d
  • include/d/core/internal/backtrace/elf.d
  • include/d/core/internal/backtrace/libunwind.d
  • include/d/core/internal/backtrace/macho.d
  • include/d/core/internal/backtrace/unwind.d
  • include/d/core/internal/cast_.d
  • include/d/core/internal/container/array.d
  • include/d/core/internal/container/common.d
  • include/d/core/internal/container/hashtab.d
  • include/d/core/internal/container/treap.d
  • include/d/core/internal/convert.d
  • include/d/core/internal/dassert.d
  • include/d/core/internal/destruction.d
  • include/d/core/internal/elf/dl.d
  • include/d/core/internal/elf/io.d
  • include/d/core/internal/entrypoint.d
  • include/d/core/internal/execinfo.d
  • include/d/core/internal/gc/bits.d
  • include/d/core/internal/gc/blkcache.d
  • include/d/core/internal/gc/blockmeta.d
  • include/d/core/internal/gc/impl/conservative/gc.d
  • include/d/core/internal/gc/impl/manual/gc.d
  • include/d/core/internal/gc/impl/proto/gc.d
  • include/d/core/internal/gc/os.d
  • include/d/core/internal/gc/pooltable.d
  • include/d/core/internal/gc/proxy.d
  • include/d/core/internal/hash.d
  • include/d/core/internal/lifetime.d
  • include/d/core/internal/moving.d
  • include/d/core/internal/newaa.d
  • include/d/core/internal/parseoptions.d
  • include/d/core/internal/postblit.d
  • include/d/core/internal/qsort.d
  • include/d/core/internal/spinlock.d
  • include/d/core/internal/string.d
  • include/d/core/internal/switch_.d
  • include/d/core/internal/traits.d
  • include/d/core/internal/utf.d
  • include/d/core/internal/util/array.d
  • include/d/core/internal/util/math.d
  • include/d/core/internal/vararg/aapcs64.d
  • include/d/core/internal/vararg/gnu.d
  • include/d/core/internal/vararg/sysv_x64.d
  • include/d/core/interpolation.d
  • include/d/core/lifetime.d
  • include/d/core/math.d
  • include/d/core/memory.d
  • include/d/core/runtime.d
  • include/d/core/simd.d
  • include/d/core/stdc/assert_.d
  • include/d/core/stdc/complex.d
  • include/d/core/stdc/config.d
  • include/d/core/stdc/ctype.d
  • include/d/core/stdc/errno.d
  • include/d/core/stdc/fenv.d
  • include/d/core/stdc/float_.d
  • include/d/core/stdc/inttypes.d
  • include/d/core/stdc/limits.d

The first 100 are listed.

distinfo 5
FileSizeSHA256
ldc-1.43.0-src.tar.gz9.185104e+06d655aad0daf0ce9a17b2ffffb947bb79ec6968bc7fb88bc918316dbe78c616e7
ldc2-1.43.0-freebsd-x86_64.tar.xz1.977752e+074cbc4c2b9845a288e1c4bb491ec31de67c95ad25a1d76d13dd1f3c06fa3f3420
ldc2-1.43.0-freebsd-ppc64le.tar.xz1.4730312e+07a1655942e7eed7b535ef08415f21fffac352cb3750f8ed8466046631f48c8300
ldc2-1.43.0-freebsd-ppc64.tar.xz1.4414028e+07b63237e0886587bb5a9591236f31b9b2abaad18b8f379f80eaf94b0494934107
ldc2-1.43.0-freebsd-ppc64le-ld128.tar.xz1.4843928e+07d12ac5a24aa7039ed48ddb101aa518a7b57f4e732bf7d3342ba416a3cce665ac
Master sites 1
  • https://github.com/ldc-developers/ldc/releases/download/v${DISTVERSION}/

Commit history 6

DateCommitCreditsLog message
7f17044ed3 Piotr Kubaj lang/ldc: fix build on powerpc64
powerpc64`s bootstrap had -link-defaultlib-shared=true. Remove that and while at here, update other powerpc64* bootstraps.
ed4b6bb46a Jose Alonso Cardenas Marquez lang/ldc: Add archivers/zstd ti LIB_DEPENDS
- Bump PORTREVISION PR: 298648 Reported by: Gerard Seibert <gerard_seibert __at_ outlook.com>
8af01f3c73 Jose Alonso Cardenas Marquez lang/ldc: Fix build LLVM > 19
PR: 298648 Reported by: Gerard Seibert <gerard_seibert __at_ outlook.com>
15ba0ea12c Piotr Kubaj lang/ldc: fix build on powerpc64*
Use proper bootstrap filename.
c7e111c177 Jose Alonso Cardenas Marquez lang/ldc: Update to 1.43.0
ChangeLog at: https://github.com/ldc-developers/ldc/releases/tag/v1.43.0 PR: 297126

The latest 5 of 6 in the history this site was built from.