Skip to content

Conversation

mattyg
Copy link
Contributor

@mattyg mattyg commented Aug 31, 2024

Fixes to enable building iwasm_shared and iwasm_static libraries on win32. Still doesn't work the default build flags, but works for mine:

cmake .. -DWAMR_BUILD_AOT=0 -DWAMR_BUILD_BULK_MEMORY=1 -DWAMR_BUILD_REF_TYPES=1 -DWAMR_BUILD_SIMD=1 -DWAMR_BUILD_LIB_PTHREAD=1 -DWAMR_BUILD_LIB_WASI_THREADS=0 -DWAMR_BUILD_LIBC_WASI=0 -DWAMR_BUILD_LIBC_BUILTIN=0 -DWAMR_BUILD_SHARED_MEMORY=1 -DWAMR_BUILD_MULTI_MODULE=0 -DWAMR_DISABLE_HW_BOUND_CHECK=1```

@mattyg mattyg changed the title Fix/msvc compile of lib Fixes for building iwasm_shared and iwasm_static libs on win32 Aug 31, 2024
@mattyg mattyg force-pushed the fix/msvc-compile-of-lib branch from 0d000b2 to 219fa13 Compare September 4, 2024 15:54
Copy link
Contributor

@wenyongh wenyongh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wenyongh wenyongh merged commit b38a2e8 into bytecodealliance:main Sep 6, 2024
1 check passed
bnason-nf added a commit to bnason-nf/wasm-micro-runtime that referenced this pull request Sep 16, 2024
This was originally fixed in bytecodealliance#3655, but regressed in bytecodealliance#3762 which removed
the -fvisibility=hidden flag from the CMakeLists.txt file.

This also removes extraneous ending whitespace from the file.
wenyongh pushed a commit that referenced this pull request Sep 18, 2024
This was originally fixed in #3655, but regressed in #3762 which removed
the `-fvisibility=hidden` flag from the CMakeLists.txt file.

This also removes extraneous ending whitespace from the file.
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