mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 14:40:32 -04:00
This fixes build issues [1] and makes swiftc work [2]. But swiftpm is still not working, hopefully soon. PR: 210284 [1] PR: 210386 [2] Reported by: Lacey Powers <lacey.leanne@gmail.com> [1] Reported by: Tom Pusateri <pusateri@bangj.com> [2]
44 lines
1.4 KiB
INI
44 lines
1.4 KiB
INI
--- swift/utils/build-presets.ini.orig 2017-04-21 21:18:29 UTC
|
|
+++ swift/utils/build-presets.ini
|
|
@@ -676,6 +676,41 @@ dash-dash
|
|
swift-enable-ast-verifier=0
|
|
|
|
#===------------------------------------------------------------------------===#
|
|
+# FreeBSD Builders
|
|
+#===------------------------------------------------------------------------===#
|
|
+[preset: mixin_freebsd_installation]
|
|
+mixin-preset=mixin_lightweight_assertions
|
|
+
|
|
+llbuild
|
|
+#swiftpm
|
|
+release
|
|
+#xctest
|
|
+dash-dash
|
|
+
|
|
+install-swift
|
|
+install-lldb
|
|
+install-llbuild
|
|
+install-xctest
|
|
+#install-swiftpm
|
|
+install-prefix=/usr/local
|
|
+swift-install-components=autolink-driver;compiler;clang-builtin-headers;stdlib;swift-remote-mirror;sdk-overlay;license;tools;editor-integration
|
|
+skip-build-libdispatch
|
|
+build-swift-static-stdlib
|
|
+build-swift-static-sdk-overlay
|
|
+build-swift-stdlib-unittest-extra
|
|
+
|
|
+# Executes the lit tests for the installable package that is created
|
|
+# Assumes the swift-integration-tests repo is checked out
|
|
+#test-installable-package
|
|
+
|
|
+# Path to the root of the installation filesystem.
|
|
+install-destdir=%(install_destdir)s
|
|
+
|
|
+# Path to the .tar.gz package we would create.
|
|
+#installable-package=%(installable_package)s
|
|
+
|
|
+
|
|
+#===------------------------------------------------------------------------===#
|
|
# Linux Builders
|
|
#===------------------------------------------------------------------------===#
|
|
[preset: mixin_linux_installation]
|