mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 15:32:05 +00:00
046f5f2212
Fix two issues of building WAMR on Windows: - The build_llvm.py script calls itself, spawning instances faster than they expire, which makes Python3 eat up the entire RAM in a pretty short time. - The MSVC compiler doesn't support preprocessor statements inside macro expressions. Two places inside bh_assert() were found.
15 lines
341 B
Python
15 lines
341 B
Python
#!/usr/bin/env python3
|
|
#
|
|
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
#
|
|
|
|
import pathlib
|
|
import subprocess
|
|
import sys
|
|
|
|
script = (
|
|
pathlib.Path(__file__).parent.joinpath("../build-scripts/build_llvm.py").resolve()
|
|
)
|
|
subprocess.check_call([sys.executable, script])
|