File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,17 @@ steps:
288
288
- exit_status : -1 # Agent was lost
289
289
limit : 2
290
290
291
+ - label : " Runtimes build"
292
+ command : " libcxx/utils/ci/run-buildbot runtimes-build"
293
+ artifact_paths :
294
+ - " **/test-results.xml"
295
+ agents :
296
+ queue : " libcxx-builders"
297
+ retry :
298
+ automatic :
299
+ - exit_status : -1 # Agent was lost
300
+ limit : 2
301
+
291
302
# All jobs defined before this `wait` will run whenever a CI job is started.
292
303
# Jobs defined after the `wait` will run only if all the jobs above succeeded.
293
304
# We use this to reduce the load on testers that have more constrained resources
Original file line number Diff line number Diff line change @@ -353,6 +353,28 @@ unified-standalone)
353
353
354
354
check-cxx-cxxabi
355
355
;;
356
+ runtimes-build)
357
+ export CC=clang
358
+ export CXX=clang++
359
+
360
+ clean
361
+
362
+ echo " --- Generating CMake"
363
+ cmake -S " ${MONOREPO_ROOT} /llvm" \
364
+ -B " ${BUILD_DIR} " \
365
+ -GNinja \
366
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
367
+ -DCMAKE_INSTALL_PREFIX=" ${INSTALL_DIR} " \
368
+ -DLLVM_ENABLE_PROJECTS=" clang" \
369
+ -DLLVM_ENABLE_RUNTIMES=" libcxx;libcxxabi" \
370
+ -DLLVM_RUNTIME_TARGETS=" x86_64-unknown-linux-gnu"
371
+
372
+ echo " +++ Running the libc++ and libc++abi tests"
373
+ ${NINJA} -C " ${BUILD_DIR} " check-runtimes
374
+
375
+ echo " --- Installing libc++ and libc++abi to a fake location"
376
+ ${NINJA} -C " ${BUILD_DIR} " install-cxx install-cxxabi
377
+ ;;
356
378
legacy-standalone)
357
379
export CC=clang
358
380
export CXX=clang++
You can’t perform that action at this time.
0 commit comments