@@ -121,8 +121,18 @@ tasks:
121
121
- " --config=rustfmt"
122
122
- " --config=clippy"
123
123
- " --repo_env=CC=clang"
124
- # TODO(hlopko): Make this work (some tests were failing)
125
- # - "--linkopt=-fuse-ld=lld"
124
+ build_targets : *default_linux_targets
125
+ test_targets : *default_linux_targets
126
+ ubuntu2004_clang_lld :
127
+ name : With Clang and LLD
128
+ platform : ubuntu2004
129
+ shell_commands :
130
+ - " sudo apt -y update && sudo apt -y install lld"
131
+ build_flags :
132
+ - " --config=rustfmt"
133
+ - " --config=clippy"
134
+ - " --repo_env=CC=clang"
135
+ - " --linkopt=-fuse-ld=lld"
126
136
build_targets : *default_linux_targets
127
137
test_targets : *default_linux_targets
128
138
ubuntu2004_rolling_clang :
@@ -132,8 +142,6 @@ tasks:
132
142
- " --config=rustfmt"
133
143
- " --config=clippy"
134
144
- " --repo_env=CC=clang"
135
- # TODO(hlopko): Make this work (some tests were failing)
136
- # - "--linkopt=-fuse-ld=lld"
137
145
build_targets : *default_linux_targets
138
146
test_targets : *default_linux_targets
139
147
soft_fail : yes
@@ -191,6 +199,31 @@ tasks:
191
199
test_targets :
192
200
- " //..."
193
201
build_flags : *aspects_flags
202
+ ubuntu2004_examples_clang :
203
+ name : Examples with Clang
204
+ platform : ubuntu2004
205
+ working_directory : examples
206
+ build_flags :
207
+ - " --repo_env=CC=clang"
208
+ build_targets :
209
+ - " //..."
210
+ test_targets :
211
+ - " //..."
212
+ build_flags : *aspects_flags
213
+ ubuntu2004_examples_clang_lld :
214
+ name : Examples with Clang and LLD
215
+ platform : ubuntu2004
216
+ shell_commands :
217
+ - " sudo apt -y update && sudo apt -y install lld"
218
+ working_directory : examples
219
+ build_flags :
220
+ - " --repo_env=CC=clang"
221
+ - " --linkopt=-fuse-ld=lld"
222
+ build_targets :
223
+ - " //..."
224
+ test_targets :
225
+ - " //..."
226
+ build_flags : *aspects_flags
194
227
ubuntu2004_examples_rolling :
195
228
name : " Examples with Rolling Bazel Version"
196
229
platform : ubuntu2004
0 commit comments