Skip to content

Commit 34d9189

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. (cherry picked from commit dbb3498)
1 parent 99a2db3 commit 34d9189

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
@@ -1333,6 +1333,67 @@ sourcekit-lsp=0
13331333
mixin-preset=buildbot_linux
13341334
llvm-targets-to-build=X86;ARM;AArch64;WebAssembly
13351335

1336+
#===------------------------------------------------------------------------===#
1337+
# FreeBSD Builders
1338+
#===------------------------------------------------------------------------===#
1339+
[preset: mixin_freebsd_package_install]
1340+
1341+
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
1342+
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
1343+
1344+
install-foundation
1345+
install-libdispatch
1346+
install-llbuild
1347+
install-lldb
1348+
install-llvm
1349+
install-sourcekit-lsp
1350+
install-swift
1351+
install-swift-driver
1352+
install-swift-testing
1353+
install-swift-testing-macros
1354+
install-swiftdocc
1355+
install-swiftformat
1356+
install-swiftpm
1357+
install-swiftsyntax
1358+
install-xctest
1359+
1360+
install-prefix=/usr
1361+
1362+
[preset: mixin_freebsd_package_test]
1363+
1364+
build-swift-stdlib-unittest-extra
1365+
1366+
lit-args=-v --time-test
1367+
long-test
1368+
stress-test
1369+
test
1370+
test-optimized
1371+
validation-test
1372+
test-installable-package
1373+
1374+
lldb-test-swift-only
1375+
skip-test-swiftdocc
1376+
1377+
[preset: freebsd_package]
1378+
mixin-preset=
1379+
mixin_freebsd_package_install
1380+
mixin_freebsd_package_test
1381+
1382+
extra-llvm-cmake-options=
1383+
-DLLVM_TARGETS_TO_BUILD=AArch64;X86
1384+
1385+
release
1386+
no-swift-stdlib-assertions
1387+
1388+
build-swift-static-sdk-overlay
1389+
build-swift-static-stdlib
1390+
1391+
build-subdir=buildbot_freebsd
1392+
install-destdir=%(install_destdir)s
1393+
installable-package=%(installable_package)s
1394+
1395+
reconfigure
1396+
13361397
#===------------------------------------------------------------------------===#
13371398
# OS X Package Builders
13381399
#===------------------------------------------------------------------------===#

0 commit comments

Comments
 (0)