We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50ae786 + a3b8e60 commit 3cf81f3Copy full SHA for 3cf81f3
integration_tests/CMakeLists.txt
@@ -286,10 +286,10 @@ macro(RUN_UTIL RUN_FAIL RUN_NAME RUN_FILE_NAME RUN_LABELS RUN_EXTRAFILES RUN_NOM
286
execute_process(COMMAND "${WASM_EXEC_RUNTIME}" --version
287
OUTPUT_VARIABLE WASM_EXEC_VERSION
288
OUTPUT_STRIP_TRAILING_WHITESPACE)
289
- string(COMPARE GREATER_EQUAL "${WASM_EXEC_VERSION}"
290
- "v16.0.0" IS_NODE_ABOVE_16)
291
292
- if (NOT IS_NODE_ABOVE_16)
+ string(REGEX REPLACE "v([0-9]+)\\.([0-9]+)\\.([0-9]+)" "\\1" NODE_MAJOR_VERSION "${WASM_EXEC_VERSION}")
+
+ if (NODE_MAJOR_VERSION LESS 16)
293
message(STATUS "${WASM_EXEC_RUNTIME} version: ${WASM_EXEC_VERSION}")
294
set(WASM_EXEC_FLAGS "--experimental-wasm-bigint")
295
endif()
0 commit comments