Skip to content

Commit c04fa0c

Browse files
committed
[build-script] Add buildbot_linux,lld preset
This patch adds a preset that defaults the toolchain to use lld instead of gold on Linux. Added presets are - `buildbot_linux,lld` - `buildbot_linux,lld,no_assertions` - `buildbot_linux,lld,no_test` - `buildbot_linux,lld,no_assertions,no_test`
1 parent 012ac5d commit c04fa0c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

utils/build-presets.ini

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,30 @@ mixin-preset=buildbot_linux_crosscompile_android,tools=RA,stdlib=RD,build
10291029

10301030
android-arch=x86_64
10311031

1032+
[preset: mixin_lld]
1033+
1034+
use-linker=lld
1035+
1036+
[preset: buildbot_linux,lld]
1037+
mixin-preset=
1038+
buildbot_linux
1039+
mixin_lld
1040+
1041+
[preset: buildbot_linux,lld,no_assertions]
1042+
mixin-preset=
1043+
buildbot_linux,no_assertions
1044+
mixin_lld
1045+
1046+
[preset: buildbot_linux,lld,no_test]
1047+
mixin-preset=
1048+
buildbot_linux,no_test
1049+
mixin_lld
1050+
1051+
[preset: buildbot_linux,lld,no_assertions,no_test]
1052+
mixin-preset=
1053+
buildbot_linux,no_assertions,no_test
1054+
mixin_lld
1055+
10321056
# Ubuntu 18.04 preset for backwards compat and future customizations.
10331057
[preset: buildbot_linux_1804]
10341058
mixin-preset=buildbot_linux

0 commit comments

Comments
 (0)