BSD Ports

lang/swift510 5.10.1 MidnightBSD

Swift programming language

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
97bfb9a5d1
License
Apache-2.0
Categories
lang

Description

The Swift programming language -- a modern programming language with many great features.

This port includes: * the Swift compiler * the Swift standard library * various tools * the Foundation framework * the Swift Package Manager (SwiftPM) * the run-time support that you need for running compiled programs

In the other systems

SystemPortVersion
MidnightBSDlang/swift5105.10.1
FreeBSDlang/swift5105.10.1_2
GhostBSDlang/swift5105.10.1_2

Install

Binary package:

mport install swift510

From mports:

cd /usr/mports/lang/swift510 && make install clean

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

RUN_DEPENDS=	swift510>0:lang/swift510

Dependencies

As this port's Makefile names them.

Build 2

Library 5

Build dependencies 7
Run dependencies 5

No port depends on this one.

Configuration

No options to configure.

USES
libedit ncurses:port ninja:build perl5 pkgconfig python:3.6+ shebangfix sqlite:port
Service scripts
none
Conflicts with
libdispatch

Files

Manual pages 1
  • swift(1)
pkg-plist 946
  • swift510/bin/clang
  • swift510/bin/clang++
  • swift510/bin/clang-15
  • swift510/bin/clang-cache
  • swift510/bin/clang-cl
  • swift510/bin/clang-cpp
  • swift510/bin/clangd
  • swift510/bin/complete-test
  • swift510/bin/ld.lld
  • swift510/bin/ld64.lld
  • swift510/bin/lld
  • swift510/bin/lld-link
  • swift510/bin/lldb-moduleimport-test
  • swift510/bin/llvm-ar
  • swift510/bin/llvm-cov
  • swift510/bin/llvm-profdata
  • swift510/bin/plutil
  • swift510/bin/sdk-module-lists/create-module-lists.sh
  • swift510/bin/sdk-module-lists/fixed-clang-modules-appletvos.txt
  • swift510/bin/sdk-module-lists/fixed-clang-modules-common.txt
  • swift510/bin/sdk-module-lists/fixed-clang-modules-iosmac.txt
  • swift510/bin/sdk-module-lists/fixed-clang-modules-iphoneos.txt
  • swift510/bin/sdk-module-lists/fixed-clang-modules-macosx.txt
  • swift510/bin/sdk-module-lists/fixed-clang-modules-watchos.txt
  • swift510/bin/sdk-module-lists/fixed-swift-modules-appletvos.txt
  • swift510/bin/sdk-module-lists/fixed-swift-modules-common.txt
  • swift510/bin/sdk-module-lists/fixed-swift-modules-iosmac.txt
  • swift510/bin/sdk-module-lists/fixed-swift-modules-iphoneos.txt
  • swift510/bin/sdk-module-lists/fixed-swift-modules-macosx.txt
  • swift510/bin/sdk-module-lists/fixed-swift-modules-watchos.txt
  • swift510/bin/sdk-module-lists/infer-imports.py
  • swift510/bin/sourcekitd-repl
  • swift510/bin/sourcekitd-test
  • swift510/bin/swift
  • swift510/bin/swift-api-checker.py
  • swift510/bin/swift-api-digester
  • swift510/bin/swift-api-dump.py
  • swift510/bin/swift-api-extract
  • swift510/bin/swift-ast-script
  • swift510/bin/swift-autolink-extract
  • swift510/bin/swift-build
  • swift510/bin/swift-build-sdk-interfaces
  • swift510/bin/swift-build-tool
  • swift510/bin/swift-cache-tool
  • swift510/bin/swift-compatibility-symbols
  • swift510/bin/swift-def-to-strings-converter
  • swift510/bin/swift-demangle
  • swift510/bin/swift-demangle-yamldump
  • swift510/bin/swift-driver
  • swift510/bin/swift-experimental-sdk
  • swift510/bin/swift-frontend
  • swift510/bin/swift-help
  • swift510/bin/swift-ide-test
  • swift510/bin/swift-indent
  • swift510/bin/swift-package
  • swift510/bin/swift-package-collection
  • swift510/bin/swift-package-registry
  • swift510/bin/swift-refactor
  • swift510/bin/swift-reflection-dump
  • swift510/bin/swift-remoteast-test
  • swift510/bin/swift-run
  • swift510/bin/swift-serialize-diagnostics
  • swift510/bin/swift-symbolgraph-extract
  • swift510/bin/swift-test
  • swift510/bin/swiftc
  • swift510/bin/wasm-ld
  • swift510/include/SourceKit/sourcekitd.h
  • swift510/include/llvm-c/lto.h
  • swift510/include/swift/Runtime/CMakeConfig.h
  • swift510/include/swift/SwiftRemoteMirror/MemoryReaderInterface.h
  • swift510/include/swift/SwiftRemoteMirror/Platform.h
  • swift510/include/swift/SwiftRemoteMirror/SwiftRemoteMirror.h
  • swift510/include/swift/SwiftRemoteMirror/SwiftRemoteMirrorTypes.h
  • swift510/include/swift/SwiftRemoteMirror/module.modulemap
  • swift510/include/swift/bridging
  • swift510/include/swift/module.modulemap
  • swift510/lib/clang/15.0.0/include/__clang_cuda_builtin_vars.h
  • swift510/lib/clang/15.0.0/include/__clang_cuda_cmath.h
  • swift510/lib/clang/15.0.0/include/__clang_cuda_complex_builtins.h
  • swift510/lib/clang/15.0.0/include/__clang_cuda_device_functions.h
  • swift510/lib/clang/15.0.0/include/__clang_cuda_intrinsics.h
  • swift510/lib/clang/15.0.0/include/__clang_cuda_libdevice_declares.h
  • swift510/lib/clang/15.0.0/include/__clang_cuda_math.h
  • swift510/lib/clang/15.0.0/include/__clang_cuda_math_forward_declares.h
  • swift510/lib/clang/15.0.0/include/__clang_cuda_runtime_wrapper.h
  • swift510/lib/clang/15.0.0/include/__clang_cuda_texture_intrinsics.h
  • swift510/lib/clang/15.0.0/include/__clang_hip_cmath.h
  • swift510/lib/clang/15.0.0/include/__clang_hip_libdevice_declares.h
  • swift510/lib/clang/15.0.0/include/__clang_hip_math.h
  • swift510/lib/clang/15.0.0/include/__clang_hip_runtime_wrapper.h
  • swift510/lib/clang/15.0.0/include/__stddef_max_align_t.h
  • swift510/lib/clang/15.0.0/include/__wmmintrin_aes.h
  • swift510/lib/clang/15.0.0/include/__wmmintrin_pclmul.h
  • swift510/lib/clang/15.0.0/include/adxintrin.h
  • swift510/lib/clang/15.0.0/include/altivec.h
  • swift510/lib/clang/15.0.0/include/ammintrin.h
  • swift510/lib/clang/15.0.0/include/amxintrin.h
  • swift510/lib/clang/15.0.0/include/arm64intr.h
  • swift510/lib/clang/15.0.0/include/arm_acle.h
  • swift510/lib/clang/15.0.0/include/arm_bf16.h

The first 100 are listed.

distinfo 28
FileSizeSHA256
swift510/swiftlang-indexstore-db-swift-5.10.1-RELEASE_GH0.tar.gz9093658be52307236e21e942972417fd3c8182a7865757f7890eec167851c75d156996
swift510/swiftlang-llvm-project-swift-5.10.1-RELEASE_GH0.tar.gz1.71145818e+08fad2de34c6c005b7bc63ce7b4f20d6cdf0e1d60109a7a589ffd782180c23102b
swift510/swiftlang-sourcekit-lsp-swift-5.10.1-RELEASE_GH0.tar.gz301167f83aabe6e66adc2d3ffb7e948ddfd805f7f58fd43c6b33d48bb4a50186ce0abb
swift510/swiftlang-swift-swift-5.10.1-RELEASE_GH0.tar.gz3.1977733e+07087c59a1b79c46dd23f8e6cb4fe12a27935a5b6581282f48db952827bb3fdf57
swift510/swiftlang-swift-cmark-swift-5.10.1-RELEASE_GH0.tar.gz3114076d209b8bf81fe0d67ae6d55913e7750ec752bc7fc29fc0ef5da2fdf8a6057406
swift510/swiftlang-swift-corelibs-foundation-swift-5.10.1-RELEASE_GH0.tar.gz4.47983e+0694dadc18f527f25cf1ce486d0ddce7de00f725063bc43526bdb73e534c8d97c3
swift510/swiftlang-swift-corelibs-libdispatch-swift-5.10.1-RELEASE_GH0.tar.gz594770affa3544b0fdb60f8f175bc0d2846177436d5848ef8ca73e3e560d23986f38b3
swift510/swiftlang-swift-corelibs-xctest-swift-5.10.1-RELEASE_GH0.tar.gz85377cec269b435a9f32edcf90958abec16fcf50febcb99e389ed56e9e692c3270e27
swift510/swiftlang-swift-docc-swift-5.10.1-RELEASE_GH0.tar.gz1.6281601e+071712b83aef420815e0cae2c10e43012435b249e3d138b2a6700adb18b4fc5b81
swift510/swiftlang-swift-docc-symbolkit-swift-5.10.1-RELEASE_GH0.tar.gz1716312675a9faa010623e9252f84cefc82fbce217a6f3860c7495311cb9bdffa82159
swift510/swiftlang-swift-driver-swift-5.10.1-RELEASE_GH0.tar.gz2.444415e+0675530eab66f4dffb9cecf422d0c5e582f08f84c8289ce245d48010e73ad1fc71
swift510/swiftlang-swift-experimental-string-processing-swift-5.10.1-RELEASE_GH0.tar.gz2.579674e+067e6ea60653b580abaf0801d697971610e7e22b4eb427edcee486b741b14d2724
swift510/swiftlang-swift-format-swift-5.10.1-RELEASE_GH0.tar.gz2532101e204fed64ef34217cc871b49a18ab4ddca4930945ac5f564723aadc3daf0bc5
swift510/swiftlang-swift-llbuild-swift-5.10.1-RELEASE_GH0.tar.gz7.092051e+0664d135c1aaf96636b0ff6a2682e605474fe9e33f740a8ba2a3c469e2c8ae9f38
swift510/swiftlang-swift-lmdb-swift-5.10.1-RELEASE_GH0.tar.gz153468fd9279b0a007f7c09bc28c614ecd0b055642aa3b08caeee607ca2c4904881ead
swift510/swiftlang-swift-markdown-swift-5.10.1-RELEASE_GH0.tar.gz107990568335f685b65f941edbb6771b4d13172ab8a538bf57a040bf8b61cf5717ac10
swift510/swiftlang-swift-package-manager-swift-5.10.1-RELEASE_GH0.tar.gz1.522538e+063d35e35b6e7a061042d3cd4913030525462faa357901a91a2d2f037d12e5987c
swift510/swiftlang-swift-stress-tester-swift-5.10.1-RELEASE_GH0.tar.gz97998d5ef9fa05b28f773423a77caed1687f0744b01627fce50989c9ef09f76211c06
swift510/swiftlang-swift-syntax-swift-5.10.1-RELEASE_GH0.tar.gz1.14227e+06500ff2c6d9435311fa42ad2e87927a3025b6c3682c18ecb9710c522c0be52a53
swift510/swiftlang-swift-tools-support-core-swift-5.10.1-RELEASE_GH0.tar.gz240649fbc2d5dcf4eb27e7e786a19559e4ab5af6469238e3e89b910511145874bdfc52

Commit history 2

DateCommitCreditsLog message
97bfb9a5d1 Lucas Holt lang/swift510: depend on ncurses and sqlite3 ports (#1817)
## Summary - Add `USES=ncurses:port`: `clang-15` and `swift-build-sdk-interfaces` link `libtinfo.so.6` / `libncurses.so.6` from `devel/ncurses`. - Change `USES=sqlite:3` to `sqlite:port`: `swift-build-sdk-interfaces` links `/usr/local/lib/libsqlite3.so.0` from `databases/sqlite3`, but `sqlite:3` resolved to base SQLite, so the dependency was never declared. Both were reported as undeclared dependencies by the fake-qa check during a full build on 4.0.9 amd64. Note: `sqlite:3,port` (the form shown in `Mk/extensions/sqlite.mk`'s header) does not work. USES args reach the extension space-separated, so `SQLITE_VER` becomes `3 port` and the port gets `IGNORE= unknown sqlite version`. `sqlite:port` is used instead. ## Testing - Full `bmake package` on MidnightBSD 4.0.9 amd64 succeeded (Swift …
b3f0f5d32c Lucas Holt lang/swift510: add Swift 5.10.1 port (#1234)
## Summary - Import FreeBSD's `lang/swift510` and make it build on MidnightBSD 4.0. - Swift's build system keys on the OS name (`uname -s`, Python `platform.system()`, `CMAKE_SYSTEM_NAME`), which all say `MidnightBSD`, while the base clang targets a FreeBSD triple. The patches treat MidnightBSD as FreeBSD in host detection and install-directory logic across swift, llvm/compiler-rt, libdispatch, Foundation, XCTest, llbuild, SwiftPM, indexstore-db and the swift-* helper packages, and derive the versioned triple from `cc -dumpmachine`. - LLVM's `Path.inc` needs `<sys/param.h>` on MidnightBSD because `<osreldate.h>` only defines `__MidnightBSD_version`. - Makefile: add `LICENSE`, use `TRUE_PREFIX` for the install prefix so `bmake fake` works, fix `CONFLICTS` to a plain package name, drop the …