Skip to content

Commit 845805b

Browse files
committed
github: Set the test parameter large_tests=False for the libcxx tests
This skips test that use a lot of memory. In particular, there's one test that would use up to 6.8 GB of memory, while the GitHub Actions runners only have 8 GB of memory available. This parameter was added in 122064a6303eb9c06e0af231f5a4ce145d9a2e67 in the llvm-project main branch, and backported to 17.x in aa03fba83b17bbfcd9ed869efed2818b503875d6.
1 parent f168c08 commit 845805b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ jobs:
383383
-DLIBUNWIND_USE_COMPILER_RT=YES `
384384
-DLIBCXXABI_USE_LLVM_UNWINDER=YES `
385385
-DLIBCXX_EXTRA_SITE_DEFINES="__USE_MINGW_ANSI_STDIO=1;TEST_IS_EXECUTED_IN_A_SLOW_ENVIRONMENT" `
386+
-DLIBCXX_TEST_PARAMS="large_tests=False" `
386387
-DLLVM_LIT_ARGS="-v --time-tests"
387388
ninja
388389
ninja check-cxx check-cxxabi check-unwind

.github/workflows/test-libcxx.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
-DLIBUNWIND_USE_COMPILER_RT=YES `
9696
-DLIBCXXABI_USE_LLVM_UNWINDER=YES `
9797
-DLIBCXX_EXTRA_SITE_DEFINES="__USE_MINGW_ANSI_STDIO=1;TEST_IS_EXECUTED_IN_A_SLOW_ENVIRONMENT" `
98+
-DLIBCXX_TEST_PARAMS="large_tests=False" `
9899
-DLLVM_LIT_ARGS="-v --time-tests"
99100
ninja
100101
ninja check-cxx check-cxxabi check-unwind

0 commit comments

Comments
 (0)