Skip to content

Commit 774edc6

Browse files
committed
Disable WebAssembly tests on Ubuntu 20.04: libc is too old for LLVM 19
1 parent 513876d commit 774edc6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

tests/scripts/run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fi
6868
# to run out of disk space.
6969
#
7070
# Mitigate this by expunging the workspace before trying to build Wasm targets.
71-
if [[ -z ${toolchain_name} ]]; then
71+
if [[ -z ${toolchain_name} && -z ${DISABLE_WASM_TESTS} ]]; then
7272
# Redefine `test_args` without `--linkopt=-Wl,-v`, which breaks `wasm-ld`.
7373
#
7474
# https://github.com/llvm/llvm-project/issues/112836

tests/scripts/ubuntu_20_04_test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ apt-get -qq -y install apt-utils curl libtinfo5 libxml2 pkg-config zlib1g-dev >/
3434
# The above command gives some verbose output that can not be silenced easily.
3535
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=288778
3636
37+
# The WebAssembly tests use an LLVM version that is too new for the GNU libc
38+
# distributed in Ubuntu 20.04.
39+
export DISABLE_WASM_TESTS=1
40+
3741
# Run tests
3842
cd /src
3943
tests/scripts/run_tests.sh

0 commit comments

Comments
 (0)