Skip to content

Commit 2c678c5

Browse files
authored
Bump expected binaryen version (#13585)
Also move the definition to the only file that uses it.
1 parent a02b25d commit 2c678c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/building.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from .shared import LLVM_NM, EMCC, EMAR, EMXX, EMRANLIB, WASM_LD, LLVM_AR
2727
from .shared import LLVM_LINK, LLVM_OBJCOPY
2828
from .shared import try_delete, run_process, check_call, exit_with_error
29-
from .shared import configuration, path_from_root, EXPECTED_BINARYEN_VERSION
29+
from .shared import configuration, path_from_root
3030
from .shared import asmjs_mangle, DEBUG
3131
from .shared import EM_BUILD_VERBOSE, TEMP_DIR
3232
from .shared import CANONICAL_TEMP_DIR, LLVM_DWARFDUMP, demangle_c_symbol_name, asbytes
@@ -39,6 +39,7 @@
3939
multiprocessing_pool = None
4040
binaryen_checked = False
4141

42+
EXPECTED_BINARYEN_VERSION = 100
4243
# cache results of nm - it can be slow to run
4344
nm_cache = {}
4445
# Stores the object files contained in different archive files passed as input

tools/shared.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
DEBUG = int(os.environ.get('EMCC_DEBUG', '0'))
3636
DEBUG_SAVE = DEBUG or int(os.environ.get('EMCC_DEBUG_SAVE', '0'))
3737
EXPECTED_NODE_VERSION = (4, 1, 1)
38-
EXPECTED_BINARYEN_VERSION = 99
3938
EXPECTED_LLVM_VERSION = "13.0"
4039
SIMD_INTEL_FEATURE_TOWER = ['-msse', '-msse2', '-msse3', '-mssse3', '-msse4.1', '-msse4.2', '-mavx']
4140
SIMD_NEON_FLAGS = ['-mfpu=neon']

0 commit comments

Comments
 (0)