Skip to content

Conversation

@code-disaster
Copy link
Contributor

Two issues I came across while experimenting with WAMR on Windows.

  • The build_llvm.py script calls itself, spawning instances faster than they expire, which made Python3 eat up my entire RAM in a pretty short time. This change was made about a year ago in 03494f9. I don't believe this was intentional.
  • The MSVC compiler doesn't support preprocessor statements inside macro expressions. Only used in those two places inside bt_assert() as far as I've noticed.

script.name resolves to 'build_llvm.py', causing the script to call itself
@wenyongh wenyongh merged commit 046f5f2 into bytecodealliance:main Sep 17, 2022
vickiegpt pushed a commit to vickiegpt/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants