Skip to content

Commit 7596d00

Browse files
committed
Set the linker to gold for smoketests
I missed setting the default linker used by the clang-linker to `gold` in smoketests, so they're seeing the broken link jobs now.
1 parent 86b8c70 commit 7596d00

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/build-presets.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,11 @@ reconfigure
10741074
test-optimized
10751075
skip-test-swiftdocc
10761076

1077+
# gcc version on amazon linux 2 is too old to configure and build tablegen.
1078+
# Use the clang that we install in the path for macros
1079+
llvm-cmake-options=
1080+
-DCROSS_TOOLCHAIN_FLAGS_LLVM_NATIVE='-DCMAKE_C_COMPILER=clang;-DCMAKE_CXX_COMPILER=clang++'
1081+
-DCLANG_DEFAULT_LINKER=gold
10771082

10781083
[preset: buildbot_linux_1404_no_lldb]
10791084
mixin-preset=buildbot_incremental_linux

0 commit comments

Comments
 (0)