ports/lang/swift/files/patch-swift_utils_build-presets.ini
Steve Wills d3c03ce67a lang/swift: update to 3.1.1
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]
2017-04-25 02:53:03 +00:00

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]