Skip to content

Commit dbb3498

Browse files
committed
Build-Script: FreeBSD Package Preset
Adding a preset for building the FreeBSD toolchain and runtime package. This is very similar to the Linux package build, but the main difference is the lack of WASM build. The WASM runtime build system uses GNU extensions in its makefiles that are not compatible with the make or gmake on FreeBSD and therefore cannot be built there.
1 parent 06c04c5 commit dbb3498

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

utils/build-presets.ini

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,6 +1347,67 @@ sourcekit-lsp=0
13471347
mixin-preset=buildbot_linux
13481348
llvm-targets-to-build=X86;ARM;AArch64;WebAssembly
13491349

1350+
#===------------------------------------------------------------------------===#
1351+
# FreeBSD Builders
1352+
#===------------------------------------------------------------------------===#
1353+
[preset: mixin_freebsd_package_install]
1354+
1355+
swift-install-components=autolink-driver;compiler;clang-resource-dir-symlink;libexec;stdlib;swift-remote-mirror;sdk-overlay;static-mirror-lib;toolchain-tools;license;sourcekit-inproc
1356+
llvm-install-components=llvm-ar;llvm-ranlib;llvm-cov;llvm-profdata;llvm-objdump;llvm-objcopy;llvm-symbolizer;IndexStore;clang;clang-resource-headers;builtins;runtimes;clangd;libclang;lld;LTO;clang-features-file
1357+
1358+
install-foundation
1359+
install-libdispatch
1360+
install-llbuild
1361+
install-lldb
1362+
install-llvm
1363+
install-sourcekit-lsp
1364+
install-swift
1365+
install-swift-driver
1366+
install-swift-testing
1367+
install-swift-testing-macros
1368+
install-swiftdocc
1369+
install-swiftformat
1370+
install-swiftpm
1371+
install-swiftsyntax
1372+
install-xctest
1373+
1374+
install-prefix=/usr
1375+
1376+
[preset: mixin_freebsd_package_test]
1377+
1378+
build-swift-stdlib-unittest-extra
1379+
1380+
lit-args=-v --time-test
1381+
long-test
1382+
stress-test
1383+
test
1384+
test-optimized
1385+
validation-test
1386+
test-installable-package
1387+
1388+
lldb-test-swift-only
1389+
skip-test-swiftdocc
1390+
1391+
[preset: freebsd_package]
1392+
mixin-preset=
1393+
mixin_freebsd_package_install
1394+
mixin_freebsd_package_test
1395+
1396+
extra-llvm-cmake-options=
1397+
-DLLVM_TARGETS_TO_BUILD=AArch64;X86
1398+
1399+
release
1400+
no-swift-stdlib-assertions
1401+
1402+
build-swift-static-sdk-overlay
1403+
build-swift-static-stdlib
1404+
1405+
build-subdir=buildbot_freebsd
1406+
install-destdir=%(install_destdir)s
1407+
installable-package=%(installable_package)s
1408+
1409+
reconfigure
1410+
13501411
#===------------------------------------------------------------------------===#
13511412
# OS X Package Builders
13521413
#===------------------------------------------------------------------------===#

0 commit comments

Comments
 (0)