From a7b23296e4298aae760c17756af58eefa1b14946 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 28 Jul 2021 17:03:20 -0700 Subject: [PATCH] Finish roll of LLVM 14 version change (#14780) --- .circleci/config.yml | 2 +- tests/test_other.py | 3 +-- tools/shared.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1a0a62122..ef14d18ac 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -64,7 +64,7 @@ commands: echo "WASM_ENGINES = []" >> .emscripten test -f ~/vms/wasmtime && echo "WASMTIME = os.path.expanduser(os.path.join('~', 'vms', 'wasmtime')) ; WASM_ENGINES.append(WASMTIME)" >> .emscripten || true test -f ~/vms/wasmer && echo "WASMER = os.path.expanduser(os.path.join('~', 'vms', 'wasmer')) ; WASM_ENGINES.append(WASMER)" >> .emscripten || true - test -d ~/wasi-sdk && cp -ar ~/wasi-sdk/lib/ ~/emsdk/upstream/lib/clang/13.0.0/ + test -d ~/wasi-sdk && cp -ar ~/wasi-sdk/lib/ ~/emsdk/upstream/lib/clang/14.0.0/ cd - echo "final .emscripten:" cat ~/emsdk/.emscripten diff --git a/tests/test_other.py b/tests/test_other.py index f0935de87..ab84eb88b 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -166,8 +166,7 @@ class other(RunnerCore): # from clang would be flushed to stderr first. self.assertContained('emcc (Emscripten gcc/clang-like replacement', proc.stderr) self.assertTrue(proc.stderr.startswith('emcc (Emscripten gcc/clang-like replacement')) - # Temporarily disable version check while LLVM rolls in - # self.assertContained('clang version %s' % shared.EXPECTED_LLVM_VERSION, proc.stderr) + self.assertContained('clang version %s' % shared.EXPECTED_LLVM_VERSION, proc.stderr) self.assertContained('GNU', proc.stderr) self.assertContained('Target: wasm32-unknown-emscripten', proc.stderr) self.assertNotContained('this is dangerous', proc.stderr) diff --git a/tools/shared.py b/tools/shared.py index dc14c8366..ed39e71d2 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -38,7 +38,7 @@ from .settings import settings DEBUG = int(os.environ.get('EMCC_DEBUG', '0')) DEBUG_SAVE = DEBUG or int(os.environ.get('EMCC_DEBUG_SAVE', '0')) EXPECTED_NODE_VERSION = (4, 1, 1) -EXPECTED_LLVM_VERSION = "13.0" +EXPECTED_LLVM_VERSION = "14.0" PYTHON = sys.executable # Used only when EM_PYTHON_MULTIPROCESSING=1 env. var is set.